zgq
2021-08-05 88ba5c2a8a6e66c65cd05d1891fee125a06fff5d
扫码详情
3个文件已修改
51 ■■■■ 已修改文件
WebTM/layuiadmin/Scripts/webConfig.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/Baseset/基础资料/WMSBarCodeDetailsList.html 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/仓存管理/仓库调拨/Kf_MoveStockBill_Fast.html 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/layuiadmin/Scripts/webConfig.js
@@ -1,12 +1,12 @@
function GetWEBURL() {
    //var WEBURL = "http://192.168.16.80:8011/";          //办公室服务器
    //var WEBURL = "http://localhost:8081/SWEAPI/";       //ch本地
    //var WEBURL = "http://localhost:8085/API/";   //zgq本地
    var WEBURL = "http://localhost:8085/API/";   //zgq本地
    //var WEBURL = "http://localhost:8080/API/";   //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/lubao";   //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨露本地配置
    //var WEBURL = "http://10.1.4.155/API/";   //江丰客户NEW
    var WEBURL = "http://47.96.97.237/API/";   //智云服务器
    //var WEBURL = "http://47.96.97.237/API/";   //智云服务器
    //var WEBURL = "http://183.129.128.86:9090/API/";   //凯贝奈特客户服务器
    return WEBURL
}
WebTM/views/Baseset/»ù´¡×ÊÁÏ/WMSBarCodeDetailsList.html
@@ -88,6 +88,7 @@
                elem: '#mainTable'
                // , url: '/demo/table/user/'
                , toolbar: '#toolbarDemo'
                , height: 'full-1000'
                , data: []
                , cellMinWidth: 80 //全局定义常规单元格的最小宽度,layui 2.2.1 æ–°å¢ž
                , cols: [[
@@ -102,7 +103,7 @@
                    , { field: 'HQtyMust', width: 150, title: '应收数量' }
                    , { field: 'HBatchNo', width: 150, title: '批次' }
                    , { field: 'HPieceQty', width: 150, title: '件数' }
                    , { fixed: 'right', title: '操作', toolbar: '#barDemo' }
                    , { fixed: 'right', width: 70, title: '操作', toolbar: '#barDemo' }
                ]]
                , page: true
            });
@@ -117,7 +118,7 @@
                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;
                        table.reload('mainTable', {
                            data: ajaxReturnData
                            , height: 'full-10'
                            , height: 'full-1000'
                            , loading: false
                            , done: function (index, res) {
WebTM/views/²Ö´æ¹ÜÀí/²Ö¿âµ÷²¦/Kf_MoveStockBill_Fast.html
@@ -375,7 +375,7 @@
                        , { field: 'HMaterID', title: '物料内码', width: 150, hide: true }
                        , { field: 'HAuxPropID', title: '', width: 150, hide: true }
                        , { field: 'HMTONo', title: '计划跟踪号', width: 150, hide: true }
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo' }
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                    ]]
                    , height: 500
                    , done: function () {
@@ -672,35 +672,6 @@
                }
            });
            //测试数据begin
            var rowdata = [{
                "数量": "", "件数": "", "应收数量": "0", "物料代码": "", "物料名称": ""
                , "规格型号": "0"
                , "源单主内码": "367", "源单子内码": "false", "源单单号": "", "批次": "", "物料内码": ""
            }];
            var option = {
                elem: '#wl-table'
                , height: 'full-150'
                , cols: [[
                    { type: 'radio', totalRowText: '合计' }
                    , { field: 'HQty', title: '数量', width: 150, totalRow: true }
                    , { field: '件数', title: '件数', width: 150, totalRow: true }
                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
                    , { field: 'HSourceInterID', title: '源单主内码', width: 150 }
                    , { field: 'HSourceEntryID', title: '源单子内码', width: 150 }
                    , { field: 'HSourceBillNo', title: '源单单号', width: 150 }
                    , { field: 'HBatchNo', title: '批次', width: 150 }
                    , { field: 'HMaterID', title: '物料内码', width: 150 }
                    , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 90 }
                ]]
                , page: true
            };
            option.data = rowdata;
            table.render(option);
            //测试数据end
            //扫条码
            $('#HBarCode').on('keydown', function (event) {  //扫条码
@@ -783,6 +754,7 @@
                                        , { field: 'HMaterID', title: '物料内码', width: 150, hide: true }
                                        , { field: 'HAuxPropID', title: '', width: 150, hide: true }
                                        , { field: 'HMTONo', title: '计划跟踪号', width: 150, hide: true }
                                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                                    ]]
                                    // , data: [linterid]
                                    // , page: true
@@ -839,6 +811,7 @@
                                        , { field: 'HSourceEntryID', title: '源单子内码', width: 150 }
                                        , { field: 'HSourceBillNo', title: '源单单号', width: 150 }
                                        , { field: 'HBatchNo', title: '批次', width: 150 }
                                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                                    ]]
                                    // , data: [linterid]
                                    // , page: true
@@ -924,18 +897,15 @@
            //行内事件
            table.on('tool(wl-table)', function (obj) {
                var data = obj.data;
                console.log(data.源单主内码);
                var rowIndex = $(obj.tr).attr("data-index");
                if (obj.event === 'edit') {
                    var _obj = obj;
                    layer.open({
                        type: 2
                        , area: ['80%', '80%']
                        , area: ['90%', '90%']
                        , title: '扫码详情列表'
                        , shade: 0.6
                        , maxmin: true
                        , anim: 0
                        , content: ['../../../views/Baseset/基础资料/WMSBarCodeDetailsList.html?HInterID=' + data.源单主内码 + '&HBillType=3789', 'yes']
                        , resize: false
                        , content: ['../../../views/Baseset/基础资料/WMSBarCodeDetailsList.html?HInterID=' + data.HSourceInterID + '&HBillType=3789', 'yes']
                        , end: function () {
                        }