From 4eff3a8e16e844fd1d842a6b790ecb9e1878d4b1 Mon Sep 17 00:00:00 2001 From: ch <37327@LLOOCCY> Date: 星期一, 30 五月 2022 13:34:58 +0800 Subject: [PATCH] 缓存列表样式修改 --- WebTM/views/领料发货/销售出库/Kf_SellOutBill_Fast.html | 94 +++++++++++++++++++++++++++++++++++++---------- 1 files changed, 74 insertions(+), 20 deletions(-) diff --git "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html" "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html" index 04ba901..6b3bba9 100644 --- "a/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html" +++ "b/WebTM/views/\351\242\206\346\226\231\345\217\221\350\264\247/\351\224\200\345\224\256\345\207\272\345\272\223/Kf_SellOutBill_Fast.html" @@ -686,23 +686,47 @@ }) //缂栬緫 + //form.on('submit(cmdModify)', function () {//缂栬緫 + // var checkStatus = table.checkStatus('wl-table') + // , data = checkStatus.data; + // if (checkStatus.data.length === 1) { + // var HInterID = data[0].HInterID.toString(); + // var HMaterID = data[0].HMaterID.toString(); + // var HAuxPropID = data[0].HAuxPropID.toString(); + // var HMTONo = data[0].HMTONo.toString(); + // var HWhID = data[0].HWhID.toString(); + // var HSPID = data[0].HSPID.toString(); + // var HSCWHID = data[0].HSCWHID.toString(); + // var HSCSPID = data[0].HSCSPID.toString(); + // var HBatchNo = data[0].HBatchNo.toString(); + // var HSourceInterID = data[0].HSourceInterID.toString(); + // var HSourceEntryID = data[0].HSourceEntryID.toString(); + // var HBillType = '1205'; + // var HBarCode = data[0].HBarCode.toString(); + // layer.open({ + // type: 2 + // , area: ['100%', '100%'] + // , title: '鏄庣粏鍒楄〃' + // , shade: 0.6 //閬僵閫忔槑搴� + // , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 + // , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� + // , content: ['../../../views/鍏叡椤甸潰/Kf_BarCodeEditDlg.html?HInterID=' + HInterID + '&HMaterID = ' + HMaterID + '&HAuxPropID = ' + HAuxPropID + '& HMTONo = ' + HMTONo + '&HWhID = ' + HWhID + '&HSPID = ' + HSPID + '&HSCWHID = ' + HSCWHID + '&HSCSPID= ' + HSCSPID + '&HBatchNo= ' + HBatchNo + '&HSourceInterID= ' + HSourceInterID + '&HSourceEntryID= ' + HSourceEntryID + '&HBillType= ' + HBillType + '&HBarCode= ' + HBarCode + '' + // , 'yes'] + // , resize: false + // , cancel: function () { + // //$(".layui-btn").removeClass("layui-btn-disabled"); + // } + // }) + // } else { + // layer.msg('璇烽�夋嫨涓�琛屾暟鎹紪杈戯紒'); + // } + //}) + form.on('submit(cmdModify)', function () {//缂栬緫 + //var sSubStr = table.cache['wl-table']; var checkStatus = table.checkStatus('wl-table') , data = checkStatus.data; - if (checkStatus.data.length === 1) { - var HInterID = data[0].HInterID.toString(); - var HMaterID = data[0].HMaterID.toString(); - var HAuxPropID = data[0].HAuxPropID.toString(); - var HMTONo = data[0].HMTONo.toString(); - var HWhID = data[0].HWhID.toString(); - var HSPID = data[0].HSPID.toString(); - var HSCWHID = data[0].HSCWHID.toString(); - var HSCSPID = data[0].HSCSPID.toString(); - var HBatchNo = data[0].HBatchNo.toString(); - var HSourceInterID = data[0].HSourceInterID.toString(); - var HSourceEntryID = data[0].HSourceEntryID.toString(); - var HBillType = '1205'; - var HBarCode = data[0].HBarCode.toString(); + //if (AllowLoadData(sSubStr) != false) {//闈炵┖楠岃瘉 layer.open({ type: 2 , area: ['100%', '100%'] @@ -710,17 +734,46 @@ , shade: 0.6 //閬僵閫忔槑搴� , maxmin: true //鍏佽鍏ㄥ睆鏈�灏忓寲 , anim: 0 //0-6鐨勫姩鐢诲舰寮忥紝-1涓嶅紑鍚� - , content: ['../../../views/鍏叡椤甸潰/Kf_BarCodeEditDlg.html?HInterID=' + HInterID + '&HMaterID = ' + HMaterID + '&HAuxPropID = ' + HAuxPropID + '& HMTONo = ' + HMTONo + '&HWhID = ' + HWhID + '&HSPID = ' + HSPID + '&HSCWHID = ' + HSCWHID + '&HSCSPID= ' + HSCSPID + '&HBatchNo= ' + HBatchNo + '&HSourceInterID= ' + HSourceInterID + '&HSourceEntryID= ' + HSourceEntryID + '&HBillType= ' + HBillType + '&HBarCode= ' + HBarCode + '' - , 'yes'] + , content: ['../../../views/鍏叡椤甸潰/Kf_BarCodeEditDlg.html?HInterID=' + data[0].HInterID + '&HMaterID =' + data[0].HMaterID + '&HBillType =' + data[0].HBillType, 'yes'] , resize: false , cancel: function () { //$(".layui-btn").removeClass("layui-btn-disabled"); } + , end: function () { + //鍒锋柊椤甸潰, + //location.reload(); + var sInterID = $("#HInterID").val() + table.render({ + elem: '#wl-table' + //, url: 'http://61.130.49.162:9090/WMSAPI///ProductIn/DisBillEntryList_Webs_Json' + , url: GetWEBURL() + '/SellOut/DisBillEntryList_Webs_Json' + , toolbar: '#toolbarDemo' + , defaultToolbar: [] + , where: { HBillID: sInterID, HBillType: '1205', sWhere: '' } + , cols: [[ + { type: 'radio' } + , { field: 'HSNO', title: '搴忓彿', width: 60 } + , { field: 'HQty', title: '鏁伴噺', width: 80 } + , { field: 'HQtyMust', title: '搴斿彂鏁伴噺', width: 80 } + , { field: 'HMaterName', title: '鐗╂枡鍚嶇О', width: 90 } + , { field: 'HMaterNumber', title: '鐗╂枡浠g爜', width: 90 } + , { field: 'HMaterModel', title: '瑙勬牸鍨嬪彿', width: 90 } + , { field: 'HSourceInterID', title: '婧愬崟涓诲唴鐮�', width: 90 } + , { field: 'HSourceEntryID', title: '婧愬崟瀛愬唴鐮�', width: 90 } + , { field: 'HSourceBillNo', title: '婧愬崟鍗曞彿', width: 90 } + , { field: 'HBatchNo', title: '鎵规', width: 90 } + ]] + // , data: [linterid] + // , page: true + , height: 500 + , done: function () { + layer.closeAll("loading"); + } + }) + } }) - } else { - layer.msg('璇烽�夋嫨涓�琛屾暟鎹紪杈戯紒'); - } - }) + // } + }); //鍒犻櫎 form.on('submit(cmdDelete)', function () {//鍒犻櫎 @@ -1218,6 +1271,7 @@ } $("#HSumQtys").val(count); $("#HBarCodeQtys").val(count1); + playSound1(); } else { // $("#verifycode").click(); -- Gitblit v1.9.1