| | |
| | | </div> |
| | | <!--å·²ä¸ä¼ å表--> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-form-item" style="padding: 0px; margin: 0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs2"> |
| | | <div class="layui-form-item" style="padding: 10px; margin: 0px"> |
| | | <div class="layui-row" style="margin-top: -10px;"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">åæ®å·</label> |
| | | </div> |
| | | <div class="layui-col-xs10"> |
| | | <div class="layui-col-xs9"> |
| | | <input type="text" name="HBillNo" id="HBillNo" lay-verify="HBillNo" onkeyup="value=value.replace(/\s+/g,'')" autocomplete="off" class="layui-input" onfocus="this.select();"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs2"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">æºååå·</label> |
| | | </div> |
| | | <div class="layui-col-xs10"> |
| | | <div class="layui-col-xs9"> |
| | | <input type="text" name="HSourceBillNo" id="HSourceBillNo" lay-verify="HSourceBillNo" onkeyup="value=value.replace(/\s+/g,'')" autocomplete="off" class="layui-input" onfocus="this.select();"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row" style="margin-top: 10px; margin-bottom: 10px;"> |
| | | <div class="layui-col-xs6"> |
| | | <button type="button" lay-submit="" style="width: 60px; float: right" lay-filter="cmdQuery" class="layui-btn" id="cmdQuery">æ¥è¯¢</button> |
| | | </div> |
| | | <div class="layui-col-xs4"> |
| | | <button type="button" lay-submit="" style="width: 60px; float: right" lay-filter="cmdRescind" class="layui-btn" id="cmdRescind">æ¤é</button> |
| | | </div> |
| | | <div class="layui-row" style="margin-top: 10px; margin-bottom: 10px; float: right;"> |
| | | <button type="button" lay-submit="" lay-filter="cmdQuery" class="layui-btn" id="cmdQuery">æ¥è¯¢</button> |
| | | <button type="button" lay-submit="" lay-filter="cmdRescind" class="layui-btn" id="cmdRescind">æ¤é</button> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs12"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layer-footer" style="z-index: 10; position: fixed; text-align: center; bottom: 0; width:100%; height:50px"> |
| | | <div class="layui-col-xs2"> |
| | | <div class="layui-col-xs2" style="margin-left:0px"> |
| | | <button type="button" lay-submit="" style="width: 60px; float: right" lay-filter="cmdModify" class="layui-btn" id="cmdModify">ç¼è¾</button> |
| | | </div> |
| | | <div class="layui-col-xs2"> |
| | | <div class="layui-col-xs2" style="margin-left:5px"> |
| | | <button type="button" lay-submit="" style="width: 60px; float: right" lay-filter="cmdDelete" class="layui-btn" id="cmdDelete">å é¤</button> |
| | | </div> |
| | | <div class="layui-col-xs2"> |
| | | <div class="layui-col-xs2" style="margin-left:5px"> |
| | | <button type="button" lay-submit="" style="width: 60px; float: right" lay-filter="cmdRefresh" class="layui-btn" id="cmdRefresh">å·æ°</button> |
| | | </div> |
| | | <div class="layui-col-xs2"> |
| | | <div class="layui-col-xs2" style="margin-left:5px"> |
| | | <button type="button" lay-submit="" style="width: 60px; float: right" lay-filter="cmdCancel" class="layui-btn" id="cmdCancel">éåº</button> |
| | | </div> |
| | | </div> |
| | |
| | | var Uploadedoption = []; //å·²ä¸ä¼ å表 |
| | | var columns = ""; |
| | | var Uploadedcolumns = ""; |
| | | var MvarReportTitle = "ç产éæåç¼åå表"; |
| | | var HModName = "Kf_MateOutBackBillList_PDA"; |
| | | var ModRightName = "CE_MateOutBack"; //模åæéåæ° |
| | | var titleData = []; //ä¸éè¦æ¾ç¤ºçåæ®µ |
| | |
| | | $.ajax( |
| | | { |
| | | type: "Get", |
| | | url: GetWEBURL() + "/WEBSController/set_DelPonderationBillMain_Temp_Json", |
| | | url: GetWEBURL() + "/WEBSController/set_DelPonderationBillMain_Temp_New_Json", |
| | | async: false, //asyncç¨äºæ§å¶ï¼falseï¼åæ¥åï¼trueï¼å¼æ¥ï¼é»è®¤çæ¯trueï¼å³è¯·æ±é»è®¤çæ¯å¼æ¥è¯·æ± |
| | | data: { "HInterID": data[0].HInterID, "HBillType": HBillType }, |
| | | data: { "HInterID": data[0].HInterID, "HBillNo": data[0].åæ®å·, "HBillType": HBillType, "HMaker": HMaker, "MvarReportTitle": MvarReportTitle }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { |
| | |
| | | switch (data[i].Type) { |
| | | //int |
| | | case 'DateTime': |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 150 }); |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'left', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); |
| | | break; |
| | | default: |
| | | |
| | | if (data[i].name == 'åæ®å·' || data[i].name == 'ç»ç»' || data[i].name == 'æºååå·' || data[i].name == 'åæ®å
ç ') { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', width: 150 }); |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'left', width: 150 }); |
| | | } else { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center' }); |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'left' }); |
| | | } |
| | | } |
| | | } |
| | |
| | | switch (data[i].Type) { |
| | | //int |
| | | case 'DateTime': |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 200 }); |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'left', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120 }); |
| | | break; |
| | | default: |
| | | |
| | | if (data[i].name == 'æ°é') { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', width: 80 }); |
| | | } else { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', width: 150 }); |
| | | } |
| | | if (data[i].name == 'æ°é') { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'left', width: 80 }); |
| | | } else { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'left', width: 150 }); |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | $.ajax( |
| | | { |
| | | type: "Get", |
| | | url: GetWEBURL() + "/WEBSController/DeleteICStockBillAndWMS_Json", |
| | | url: GetWEBURL() + "/WEBSController/set_DeleteICStockBillAndWMS_Json", |
| | | async: false, //asyncç¨äºæ§å¶ï¼falseï¼åæ¥åï¼trueï¼å¼æ¥ï¼é»è®¤çæ¯trueï¼å³è¯·æ±é»è®¤çæ¯å¼æ¥è¯·æ± |
| | | data: { "HInterID": data[0].HInterID, "HBillNo": data[0].åæ®å·, "HBillType": HBillType }, |
| | | data: { "HInterID": data[0].HInterID, "HBillNo": data[0].åæ®å·, "HBillType": HBillType, "HMaker": HMaker, "MvarReportTitle": MvarReportTitle }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { |