| | |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li lay-id="1" style="padding:1px;" class="layui-this">åºæ¬ä¿¡æ¯</li> |
| | | <li lay-id="2" style="padding:1px;">å¶åä¿¡æ¯</li> |
| | | <li lay-id="3" style="padding:1px;">å
¶å®ä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <!--åºæ¬ä¿¡æ¯--> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å
é¨åæ®å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HInnerBillNo" id="HInnerBillNo" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline" style="display:none;"> |
| | | <label class="layui-form-label">é¨é¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="hidden" name="HDeptID" id="HDeptID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline" style="display:none;"> |
| | | <label class="layui-form-label">徿¥åä½</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="hidden" name="HSupID" id="HSupID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">主管<label style="color:red"> * </label></label> |
| | | <label class="layui-form-label">主管<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HMangerName" id="HMangerName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HManagerID" id="HManagerID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">éªæ¶å<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HSecManagerName" id="HSecManagerName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HSecManagerID" id="HSecManagerID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HSecManagerList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¿ç®¡å<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HKeeperName" id="HKeeperName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HKeeperID" id="HKeeperID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HKeeperList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¸å¡å<!--<label style="color:red"> * </label>--></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HEmpName" id="HEmpName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HEMPList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline" style="display:none;"> |
| | | <label class="layui-form-label">é¨é¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="hidden" name="HDeptID" id="HDeptID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline" style="display:none;"> |
| | | <label class="layui-form-label">徿¥åä½</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="hidden" name="HSupID" id="HSupID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">è°å
¥ä»åº<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | |
| | | </button> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">éªæ¶å<label style="color:red"> * </label></label> |
| | | <label class="layui-form-label">项ç®ä»£ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HSecManagerName" id="HSecManagerName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HSecManagerID" id="HSecManagerID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HSecManagerList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¿ç®¡å<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HKeeperName" id="HKeeperName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HKeeperID" id="HKeeperID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HKeeperList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ä¸å¡å<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HEmpName" id="HEmpName" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" class="layui-input" value=0 style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HEMPList" style="width:40px;"> |
| | | <input type="text" class="layui-input" lay-verify="HProNumber" name="HProNumber" id="HProNumber" value="" style="background-color: #efefef4d;float: left; width: 150px;" readonly> |
| | | <input type="hidden" name="HProjectID" id="HProjectID" lay-verify="HProjectID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHProNumber" id="btnSearchHProNumber" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æºåç±»å</label> |
| | |
| | | <option value="1243" selected="selected">è°æ¨ç³è¯·å</option> |
| | | <option value="æå·¥å½å
¥">æå·¥å½å
¥</option> |
| | | </select> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å票ç¼å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HInvoiceBillNo" id="HInvoiceBillNo" value="" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | |
| | | <label class="layui-form-label">项ç®ä»£ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" lay-verify="HProNumber" name="HProNumber" id="HProNumber" value="" style="background-color: #efefef4d;float: left; width: 150px;" readonly> |
| | | <input type="hidden" name="HProjectID" id="HProjectID" lay-verify="HProjectID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHProNumber" id="btnSearchHProNumber" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label" >项ç®åç§°</label> |
| | | <div class="layui-input-block" > |
| | | <input type="text" class="layui-input" lay-verify="HProName" name="HProName" id="HProName" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | |
| | | <div class="layui-col-xs7 layui-inline"> |
| | | <label class="layui-form-label">æè¦</label> |
| | | <label class="layui-form-label">项ç®åç§°</label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="HExplanation" id="HExplanation" autocomplete="off"> |
| | | <input type="text" class="layui-input" lay-verify="HProName" name="HProName" id="HProName" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <input type="text" class="layui-input" name="HCheckDate" id="HCheckDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" > |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å
³éæ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCloseDate" id="HCloseDate" style="background-color:#efefef4d;" readonly> |
| | |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HDeleteDate" id="HDeleteDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!--å
¶å®ä¿¡æ¯--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å
é¨åæ®å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HInnerBillNo" id="HInnerBillNo" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å票ç¼å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HInvoiceBillNo" id="HInvoiceBillNo" value="" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs7 layui-inline"> |
| | | <label class="layui-form-label">æè¦</label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="HExplanation" id="HExplanation" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | var shijian = year + "-" + month + "-" + day; |
| | | var titleData = []; |
| | | //模åå |
| | | var HModName = "Add_Edit_Xs_SeOrderBillList"; |
| | | var HModName = "Add_Edit_Kf_MoveStockBill"; |
| | | |
| | | |
| | | var allVal; |
| | |
| | | layer.msg("è¯·éæ©è°åºä»åºï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | if ($("#HManagerID").val() == 0) { |
| | | layer.msg("è¯·éæ©è´è´£äººï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | if ($("#HSecManagerID").val() == 0) { |
| | | layer.msg("è¯·éæ©éªæ¶äººï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | if ($("#HEmpID").val() == 0) { |
| | | layer.msg("è¯·éæ©ä»ç®¡åï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | if ($("#HKeeperID ").val() == 0) { |
| | | layer.msg("è¯·éæ©ä¿ç®¡åï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | //if ($("#HManagerID").val() == 0) { |
| | | // layer.msg("è¯·éæ©è´è´£äººï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return; |
| | | //} |
| | | //if ($("#HSecManagerID").val() == 0) { |
| | | // layer.msg("è¯·éæ©éªæ¶äººï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return; |
| | | //} |
| | | //if ($("#HEmpID").val() == 0) { |
| | | // layer.msg("è¯·éæ©ä»ç®¡åï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return; |
| | | //} |
| | | //if ($("#HKeeperID ").val() == 0) { |
| | | // layer.msg("è¯·éæ©ä¿ç®¡åï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return; |
| | | //} |
| | | |
| | | |
| | | |
| | |
| | | var iframeWindow = window["layui-layer-iframe" + index];//è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus("mainTable");//è·åéä¸çæ°æ® |
| | | |
| | | if (checkStatus.data.length != 1) { |
| | | return layer.msg("è¯·éæ©ä¸æ¡æ°æ®"); |
| | | if (checkStatus.data.length <1) { |
| | | return layer.msg("请è³å°éæ©ä¸æ¡æ°æ®"); |
| | | } |
| | | |
| | | |
| | | //æ´æ°è¡¨æ ¼ç¼åçæ°æ® |
| | | obj.update({ |
| | | "HMaterID": checkStatus.data[0].HItemID, |
| | | "ç©æä»£ç ": checkStatus.data[0].ç©æä»£ç , |
| | | "ç©æåç§°": checkStatus.data[0].ç©æåç§°, |
| | | "è§æ ¼åå·": checkStatus.data[0].è§æ ¼åå·, |
| | | "HUnitID": checkStatus.data[0].HUnitID, |
| | | "计éåä½": checkStatus.data[0].计éåä½åç§° |
| | | }) |
| | | OptionData = checkStatus.data[0]; //æé䏿°æ®çç¬¬ä¸æ¡èµå¼ç»OptionDataåé |
| | | if (checkStatus.data.length > 1) { |
| | | var rowIndex = $(obj.tr).attr("data-index") * 1; //attr("data-index")ç¨äºè·å该trå
ç´ ä¸data-index屿§çå¼*1转æ¢ç±»åç¶åèµå¼ç»rowIndex |
| | | for (var i = 0; i < checkStatus.data.length; i++) { //夿éä¸çæ°æ®çé¿åº¦ ç¨äºéåcheckStatus.dataæ°ç»ä¸çæ¯ä¸ªå
ç´ |
| | | if (rowIndex + i >= option.data.length) { //夿rowIndex + içç´¢å¼è¶
åºäºoption.dataæ°ç»çé¿åº¦ï¼è¯´æoption.dataæ°ç»éè¦æ©å±ä»¥å
嫿´å¤è¡ |
| | | var NewRow = { |
| | | "HMaterID": 0, "ç©æä»£ç ": "", "ç©æåç§°": "", "è§æ ¼åå·": "", "HPropertyID": "0", "è¾
å©å±æ§": "", "HSecUnitRate": "1", "HUnitID": 0, "计éåä½": "", "HRemark": "", |
| | | "HOutPrice": "0", "HOutMoney": "0", "HQtyMust": "0", "HQty": "0", "HPrice": "0", "HMoney": "0", "HWHID": 0, "è°å
¥ä»åº": "", "HSCWHID": 0, "è°åºä»åº": "", |
| | | "HSPID": 0, "HSPGroupID": 0, "ä»ä½åç§°": "", "HBatchNo": "", "HPOOrderInterID": 0, "HPOOrderEntryID": 0, |
| | | "HPOOrderBillNo": "", "HSeOrderInterID": 0, "HSeOrderEntryID": 0, "HSeOrderBillNo": "", |
| | | "HSourceBillNo": 0, "HSourceBillType": 0, "HSourceInterID": 0, "HSourceEntryID": 0, |
| | | }; |
| | | table.cache["mainTable"].push(NewRow); //å建æ°çå
嫿°ç» ä¼ å
¥table.cache["mainTable"]æ°ç» |
| | | option.data = table.cache["mainTable"]; //æä¼ å
¥ table.cache["mainTable"]æ°ç»çå¼èµå¼ç»option.data ç屿§ |
| | | table.render(option);//渲æçé¢ |
| | | } |
| | | option.data[rowIndex + i].HMaterID = checkStatus.data[i].HItemID; |
| | | option.data[rowIndex + i].ç©æä»£ç = checkStatus.data[i].ç©æä»£ç ; |
| | | option.data[rowIndex + i].ç©æåç§° = checkStatus.data[i].ç©æåç§°; |
| | | option.data[rowIndex + i].è§æ ¼åå· = checkStatus.data[i].è§æ ¼åå·; |
| | | option.data[rowIndex + i].HUnitID = checkStatus.data[i].HUnitID; |
| | | option.data[rowIndex + i].计éåä½ = checkStatus.data[i].计éåä½åç§°; |
| | | } |
| | | table.render(option); //éæ°æ¸²æè¡¨æ ¼ä»¥æ¾ç¤ºæ´æ°åçæ°æ® |
| | | } |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | , end: function () { |
| | |
| | | return false; |
| | | } |
| | | }) |
| | | |
| | | $(document).off('dblclick', ".layui-table-edit").on('dblclick', '.layui-table-edit', function (e) { |
| | | //æå¨å¤±ç¦ |
| | | var element = document.getElementById("HBillNo"); |
| | | element.focus(); |
| | | |
| | | //ç©æ |
| | | if (obj.event == "HMaterID") { |
| | | layer.open({ |
| | | type: 2 |
| | | , skin: "layui-layer-rim" //å ä¸è¾¹æ¡ |
| | | , title: "ç©æå表" //æ é¢ |
| | | , closeBtn: 1 //çªä½å³ä¸è§å
³é ç æ ·å¼ |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Material.html', 'yes'] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | | var iframeWindow = window["layui-layer-iframe" + index];//è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus("mainTable");//è·åéä¸çæ°æ® |
| | | |
| | | if (checkStatus.data.length < 1) { |
| | | return layer.msg("è¯·éæ©ä¸æ¡æ°æ®"); |
| | | } |
| | | OptionData = checkStatus.data[0]; //æé䏿°æ®çç¬¬ä¸æ¡èµå¼ç»OptionDataåé |
| | | if (checkStatus.data.length > 1) { |
| | | var rowIndex = $(obj.tr).attr("data-index") * 1; //attr("data-index")ç¨äºè·å该trå
ç´ ä¸data-index屿§çå¼*1转æ¢ç±»åç¶åèµå¼ç»rowIndex |
| | | for (var i = 0; i < checkStatus.data.length; i++) { //夿éä¸çæ°æ®çé¿åº¦ ç¨äºéåcheckStatus.dataæ°ç»ä¸çæ¯ä¸ªå
ç´ |
| | | if (rowIndex + i >= option.data.length) { //夿rowIndex + içç´¢å¼è¶
åºäºoption.dataæ°ç»çé¿åº¦ï¼è¯´æoption.dataæ°ç»éè¦æ©å±ä»¥å
嫿´å¤è¡ |
| | | var NewRow = { |
| | | "HMaterID": 0, "ç©æä»£ç ": "", "ç©æåç§°": "", "è§æ ¼åå·": "", "HPropertyID": "0", "è¾
å©å±æ§": "", "HSecUnitRate": "1", "HUnitID": 0, "计éåä½": "", "HRemark": "", |
| | | "HOutPrice": "0", "HOutMoney": "0", "HQtyMust": "0", "HQty": "0", "HPrice": "0", "HMoney": "0", "HWHID": 0, "è°å
¥ä»åº": "", "HSCWHID": 0, "è°åºä»åº": "", |
| | | "HSPID": 0, "HSPGroupID": 0, "ä»ä½åç§°": "", "HBatchNo": "", "HPOOrderInterID": 0, "HPOOrderEntryID": 0, |
| | | "HPOOrderBillNo": "", "HSeOrderInterID": 0, "HSeOrderEntryID": 0, "HSeOrderBillNo": "", |
| | | "HSourceBillNo": 0, "HSourceBillType": 0, "HSourceInterID": 0, "HSourceEntryID": 0, |
| | | }; |
| | | table.cache["mainTable"].push(NewRow); //å建æ°çå
嫿°ç» ä¼ å
¥table.cache["mainTable"]æ°ç» |
| | | option.data = table.cache["mainTable"]; //æä¼ å
¥ table.cache["mainTable"]æ°ç»çå¼èµå¼ç»option.data ç屿§ |
| | | table.render(option);//渲æçé¢ |
| | | } |
| | | option.data[rowIndex + i].HMaterID = checkStatus.data[i].HItemID; |
| | | option.data[rowIndex + i].ç©æä»£ç = checkStatus.data[i].ç©æä»£ç ; |
| | | option.data[rowIndex + i].ç©æåç§° = checkStatus.data[i].ç©æåç§°; |
| | | option.data[rowIndex + i].è§æ ¼åå· = checkStatus.data[i].è§æ ¼åå·; |
| | | option.data[rowIndex + i].HUnitID = checkStatus.data[i].HUnitID; |
| | | option.data[rowIndex + i].计éåä½ = checkStatus.data[i].计éåä½åç§°; |
| | | } |
| | | table.render(option); //éæ°æ¸²æè¡¨æ ¼ä»¥æ¾ç¤ºæ´æ°åçæ°æ® |
| | | } |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | , end: function () { |
| | | if (OptionData != null && OptionData.length == undefined) { |
| | | obj.update({ |
| | | "HMaterID": OptionData.HItemID |
| | | , "ç©æä»£ç ": OptionData.ç©æä»£ç |
| | | , "ç©æåç§°": OptionData.ç©æåç§° |
| | | , "è§æ ¼åå·": OptionData.è§æ ¼åå· |
| | | , "HUnitID": OptionData.HUnitID |
| | | , "计éåä½": OptionData.计éåä½åç§° |
| | | }) |
| | | OptionData = []; |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | obj.event = ""; |
| | | //return false; |
| | | }) |
| | | } |
| | | |
| | | //è¡å
äºä»¶ |