| | |
| | | <table class="layui-hide" id="wl-table" lay-filter="wl-table"></table> |
| | | </div> |
| | | <div class="layui-tab-item"> |
| | | <table class="layui-hide" id="mx-table" lay-filter="mx-table"></table> |
| | | <!-- <table class="layui-hide" id="mx-table" lay-filter="mx-table"></table>--> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">æ¡ç </label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HBarCode_B" id="HBarCode_B" lay-verify="HBarCode_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">ç©æ</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HMaterName_B" id="HMaterName_B" lay-verify="HMaterName_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">è§æ ¼</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HMaterModel_B" id="HMaterModel_B" lay-verify="HMaterModel_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">è§æ ¼</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HMaterModel_B" id="HMaterModel_B" lay-verify="HMaterModel_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">æ¹æ¬¡</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HBatchNo_B" id="HBatchNo_B" lay-verify="HBatchNo_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">åä½</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HUnitName_B" id="HUnitName_B" lay-verify="HUnitName_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">æ°é</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HQty_B" id="HQty_B" lay-verify="HQty_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">容é</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HTMQty_B" id="HTMQty_B" lay-verify="HTMQty_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">ä»åº</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HWHName_B" id="HWHName_B" lay-verify="HWHName_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">ä»ä½</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <input type="text" name="HSPName_B" id="HSPName_B" lay-verify="HSPName_B" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab-item"> |
| | | <table class="layui-hide" id="fj-table-qd" lay-filter="fj-table-qd"></table> |
| | | <div class="layui-tab-item"> |
| | | <table class="layui-hide" id="fj-table-qd" lay-filter="fj-table-qd"></table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--<div class="layui-form-item" style="margin-bottom: 20px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | |
| | | //$("#HDeptID").val(result.data.HDeptID); |
| | | //$("#HDeptName").val(result.data.HDeptName); |
| | | layer.load(3) |
| | | table.render({ |
| | | elem: '#wl-table' |
| | | , url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json' |
| | | , toolbar: '#toolbarDemo' |
| | | , where: { HBillID: sInterID, HBillType: '1204', sWhere: '' } |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'radio' } |
| | | , { field: 'HSNO', title: 'åºå·', width: 60 } |
| | | , { field: 'HQty', title: 'æ°é', width: 80 } |
| | | , { field: 'HQtyMust', title: 'åºåæ°é', width: 80 } |
| | | , { 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 } |
| | | ]] |
| | | // , data: [linterid] |
| | | // , page: true |
| | | , height: 500 |
| | | , done: function () { |
| | | layer.closeAll("loading"); |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/MateOutBill/DisBillEntryList_Webs_New_Json1', |
| | | type: "GET", |
| | | data: { HBillID: sInterID, HBillType: '1204', sWhere: '' }, |
| | | success: function (result) { |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | listOption.data = result.data.list; |
| | | table.render(listOption); |
| | | $("#HBarCode_B").val(result.data.list1[0].HBarCode); |
| | | $("#HMaterName_B").val(result.data.list1[0].HMaterName); |
| | | $("#HMaterModel_B").val(result.data.list1[0].HMaterModel); |
| | | $("#HBatchNo_B").val(result.data.list1[0].HBatchNo); |
| | | $("#HUnitName_B").val(result.data.list1[0].HUnitName); |
| | | $("#HQty_B").val(result.data.list1[0].HQty); |
| | | $("#HTMQty_B").val(result.data.list1[0].HTMQty); |
| | | $("#HWHName_B").val(result.data.list1[0].HWHName); |
| | | $("#HSPName_B").val(result.data.list1[0].HSPName); |
| | | } |
| | | else { |
| | | layer.msg(result.Message); |
| | | } |
| | | layer.closeAll("loading"); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | |
| | | } |
| | | }); |
| | | |
| | | |
| | | var listOption = { |
| | | elem: '#wl-table' |
| | | , toolbar: '#toolbarDemo' |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'radio' } |
| | | , { field: 'HSNO', title: 'åºå·', width: 60 } |
| | | , { field: 'HQty', title: 'æ°é', width: 80 } |
| | | , { field: 'HQtyMust', title: 'åºåæ°é', width: 80 } |
| | | , { 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 } |
| | | ]] |
| | | , height: 500 |
| | | , done: function () { |
| | | layer.closeAll("loading"); |
| | | } |
| | | } |
| | | |
| | | |
| | | function playSound() { |