1
duhe
2024-12-18 3531aa4a1ae6836053e1f6c52e4960bbcfdb946a
WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBill_Check_New.html
@@ -193,7 +193,7 @@
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150, event: '物料代码', templet: function (d) { return '<span style="color: blue;">' + d.物料代码 + '</span>' }, style: 'cursor: pointer;' }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
                                    , { field: 'HBatchNo', title: '批次', width: 150 }
@@ -247,6 +247,32 @@
            //#region  ç›‘听网格表体事件
            table.on('tool(wl-table)', function (obj) {
                var data = obj.data;
                //物料代码超链接
                if (obj.event == '物料代码') {                      //检查 obj.event æ˜¯å¦ç­‰äºŽå­—符串 '物料代码'。如果等于,则执行if循环
                    var HMaterNumber = data.物料代码.toString();    //声明变量HMaterNumber ä¸º data.物料代码
                    layer.open({                                    //使用 layer的open打开弹出 å±‚
                        type: 2                                     //表示弹出层的内容是一个 iframe
                        , area: ['100%', '100%']
                        , title: '及时库存信息'                     //设置弹出层的名字和变量
                        , closeBtn: 1                               //显示关闭按钮
                        , shade: 0.6                                //遮罩透明度
                        , maxmin: false                              //允许全屏最小化
                        , anim: 0                                   //0-6的动画形式,-1不开启
                        , content: '../../WMS扫码模块/库存查询/KF_ICInventoryByCLD_PDA.html?OperationType=2&HMaterNumber=' + HMaterNumber  //设置 iframe çš„ URL,URL ä¸­åŒ…含了查询参数,来调用所需要的值
                        , resize: false,                            //是否允许用户调整弹出大小
                        end: function () {  //当关闭时调用
                        }
                        , cancel: function () {  //点击取消时使用回调
                        }
                    })
                }
            });
             //#endregion
@@ -322,7 +348,7 @@
                        { type: 'radio' }
                        , { field: 'HQty', title: '数量', width: 150 }
                        , { field: 'HQtyMust', title: '应收数量', width: 150 }
                        , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                        , { field: 'HMaterNumber', title: '物料代码', width: 150, event: '物料代码', templet: function (d) { return '<span style="color: blue;">' + d.物料代码 + '</span>' }, style: 'cursor: pointer;' }
                        , { field: 'HMaterName', title: '物料名称', width: 150 }
                        , { field: 'HMaterModel', title: '规格型号', width: 150 }
                        , { field: 'HSourceInterID', title: '源单主内码', width: 150 }
@@ -537,7 +563,7 @@
                                        { type: 'radio' }
                                        , { field: 'HQty', title: '数量', width: 150 }
                                        , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                        , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                        , { field: 'HMaterNumber', title: '物料代码', width: 150, event: '物料代码', templet: function (d) { return '<span style="color: blue;">' + d.物料代码 + '</span>' }, style: 'cursor: pointer;' }
                                        , { field: 'HMaterName', title: '物料名称', width: 150 }
                                        , { field: 'HMaterModel', title: '规格型号', width: 150 }
                                        , { field: 'HSourceInterID', title: '源单主内码', width: 150 }
@@ -659,7 +685,7 @@
                                        { type: 'radio' }
                                        , { field: 'HQty', title: '数量', width: 150 }
                                        , { field: 'HQtyMust', title: '应发数量', width: 150 }
                                        , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                        , { field: 'HMaterNumber', title: '物料代码', width: 150, event: '物料代码', templet: function (d) { return '<span style="color: blue;">' + d.物料代码 + '</span>' }, style: 'cursor: pointer;' }
                                        , { field: 'HMaterName', title: '物料名称', width: 150 }
                                        , { field: 'HMaterModel', title: '规格型号', width: 150 }
                                        , { field: 'HBatchNo', title: '批次', width: 150 }
@@ -785,7 +811,7 @@
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应发数量', width: 150 }
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150, event: '物料代码', templet: function (d) { return '<span style="color: blue;">' + d.物料代码 + '</span>' }, style: 'cursor: pointer;' }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
                                    , { field: 'HBatchNo', title: '批次', width: 150 }
@@ -849,7 +875,7 @@
                                    { type: 'radio' }
                                    , { field: 'HQty', title: '数量', width: 150 }
                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                    , { field: 'HMaterNumber', title: '物料代码', width: 150, event: '物料代码', templet: function (d) { return '<span style="color: blue;">' + d.物料代码 + '</span>' }, style: 'cursor: pointer;' }
                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
                                    , { field: 'HSourceInterID', title: '源单主内码', width: 150 }