工序流转卡 工艺参数 应该 可编辑;
1.生产资源 有异常; 删除有问题,删除后出来 异常数据( ); 其他信息 里的 几个字段 输入 字符时 报错,应提示;
2.工序 : 9999的 转工序 , 有个 转工序 字段,是否没显示出来; 其他信息 里的 几个字段 输入 字符时 报错,应提示;
3.工作中心: 其他信息 里的 几个字段 输入 字符时 报错,应提示;
4.生产班组: 刷新出来 异常数据; 其他信息 里的 几个字段 输入 字符时 报错,应提示;
5.基础资料的 一些 复选框 标题不对;
6. ADMIN 的账号 工艺路线 的模块 无法进行 新增 编辑;
7.工艺路线查询;工序号,工序代码,工序,工艺参数,表体备注, 其他的放后面 子表 的 委外标记 放到最后面去; 并且 把 供应商代码和供应商 放出来(也放在最后几个);
8.部门有 很多异常数据; 选择的时候 出来了;
9.流转卡维护, 表头 很多没有用的列,单据号 日期 都没有显示; 转工序 是否要打印(跟客户确认);
10. 流转卡拆分时,一些 列的 排序;
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">å
é</label> |
| | | <div class="layui-input-inline" style=""> |
| | | <input class="layui-input" name="HWeight" lay-verify="HWeight" id="HWeight" placeholder="请è¾å
¥æ°å" autocomplete="off" value="0"> |
| | | <input class="layui-input" name="HWeight" lay-verify="HWeight" id="HWeight" placeholder="请è¾å
¥æ°å" autocomplete="off" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | </button> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æè²è¦æ±</label> |
| | | <div class="layui-input-inline" style=""> |
| | | <input class="layui-input" name="HColorRemark" lay-verify="HColorRemark" id="HColorRemark" value=""> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | |
| | | , "HSTDMACHINEPREPARETIME": data.æ åæºå¨åå¤å·¥æ¶ |
| | | , "HWidth": data.HWidth |
| | | , "HWeight": data.HWeight |
| | | , "HColorRemark": data.æè²è¦æ± |
| | | }); |
| | | console.log($('#HUnitGroupID').val()); |
| | | } else { |
| | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">è½®çè°ä¼æ å¿</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHShiftFlag" id="checkboxHShiftFlag" lay-skin="primary" lay-filter="checkboxHShiftFlag" value="true" title="æ¯å¦è°ä¼"> |
| | | <input type="checkbox" name="checkboxHShiftFlag" id="checkboxHShiftFlag" lay-skin="primary" lay-filter="checkboxHShiftFlag" value="true" title="æ¯å¦è½®çè°ä¼"> |
| | | <input type="hidden" value="false" name="HShiftFlag" id="HShiftFlag"> |
| | | </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="HDayMoney" lay-verify="HWorkTimes" id="HWorkTimes" value="0"> |
| | | <input class="layui-input" name="HDayMoney" lay-verify="HDayMoney" id="HDayMoney" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | |
| | | // layer.msg("请è¾å
¥è®¾å¤æ°éï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return; |
| | | //} |
| | | |
| | | var HWorkTimes = $('#HWorkTimes').val(); |
| | | if (HWorkTimes.substring(HWorkTimes.length - 1, HWorkTimes.length) == ".") { |
| | | layer.msg("工使¶é´çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HWorkTimes)) { |
| | | layer.msg("工使¶é´è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HQty = $('#HQty').val(); |
| | | if (HQty.substring(HQty.length - 1, HQty.length) == ".") { |
| | | layer.msg("è®¾å¤æ°éçç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HQty)) { |
| | | layer.msg("è®¾å¤æ°éè¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HDayMoney = $('#HDayMoney').val(); |
| | | if (HDayMoney.substring(HDayMoney.length - 1, HDayMoney.length) == ".") { |
| | | layer.msg("è¡ä¸æ åçç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HDayMoney)) { |
| | | layer.msg("è¡ä¸æ åè¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var sMainStr = JSON.stringify(data.field) + ";" + sessionStorage["HUserName"]; |
| | | $.ajax({ |
| | | type: "POST", |
| | |
| | | //OledbXMLReportDataéåäºAccessçæ¬å°æ°æ®åºï¼ä¸ºäºæ¼ç¤ºæ¹ä¾¿ï¼è¿éä»Grid++ReportçAccessä¾åæ°æ®åºä¸è·åæ¥è¡¨æ°æ® |
| | | |
| | | //OledbXMLReportData.GenOneRecordset(this, "select * from Customers order by CustomerID"); |
| | | SqlXMLReportData.GenEntireData(this, "select b.æµæ°´å·,a.æåå·,a.æµè½¬å¡æ°é,a.产å代ç ,a.åæ®å·,a.产åè§æ ¼,a.产ååç§°,a.æ¥æ,a.计åå®å·¥æ¥æ,a.åæ®å·,b.å·¥åºåç§°,b.模å
·ç¼å·,b.å·¥èºåæ°,b.å 工说æ,a.å¹
宽,a.å
é,a.夿³¨2,a.åºé¨å¤æ³¨,a.客æ·,a.ä¸å¡å,a.æ¯é«,a.寸æ°ç»ç»,a.å
¨æ¯é¿,a.å¯å¸å¯åº¦,a.æ¯çº±åç§°åè§æ ¼,a.åºä¸,a.å®åæµæ,a.äº¤è´§æ¥æ from h_v_Sc_ProcessExchangeBillQuery a left join h_v_Sc_ProcessExchangeBillQuerySub b on a.hmainid=b.hmainid where b.hmainid="+Request.Params["linterid"] +"order by cast(b.æµæ°´å· as int)","select 1"); |
| | | SqlXMLReportData.GenEntireData(this, "select b.æµæ°´å·,a.æåå·,a.æµè½¬å¡æ°é,a.产å代ç ,a.åæ®å·,a.产åè§æ ¼,a.产ååç§°,a.æ¥æ,a.计åå®å·¥æ¥æ,a.åæ®å·,b.å·¥åºåç§°,b.模å
·ç¼å·,b.å·¥èºåæ°,b.å 工说æ,a.å¹
宽,a.å
é,a.夿³¨2,a.åºé¨å¤æ³¨,a.客æ·,a.ä¸å¡å,a.æ¯é«,a.寸æ°ç»ç»,a.å
¨æ¯é¿,a.å¯å¸å¯åº¦,a.æ¯çº±åç§°åè§æ ¼,a.åºä¸,a.å®åæµæ,a.äº¤è´§æ¥æ,a.æè²è¦æ± from h_v_Sc_ProcessExchangeBillQuery a left join h_v_Sc_ProcessExchangeBillQuerySub b on a.hmainid=b.hmainid where b.hmainid="+Request.Params["linterid"] +"order by cast(b.æµæ°´å· as int)","select 1"); |
| | | } |
| | | </script> |
| | | </head> |
| | |
| | | //#region å·æ° |
| | | function get_Refresh() { |
| | | set_ClearQuery(); |
| | | get_Display(sWhere); |
| | | get_FastQuery(1); |
| | | } |
| | | //#endregion |
| | | |
| | |
| | | layer.msg("åç§°ä¸è½ä¸ºç©ºï¼"); |
| | | return; |
| | | } |
| | | |
| | | var HEmpQty = $('#HEmpQty').val(); |
| | | if (HEmpQty.substring(HEmpQty.length - 1, HEmpQty.length) == ".") { |
| | | layer.msg("人æ°çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HEmpQty)) { |
| | | layer.msg("人æ°è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | //if ($("#HProcID").val()=="0") { |
| | | // layer.msg("è¯·éæ©å·¥åºï¼"); |
| | | // return; |
| | |
| | | <input class="layui-input" name="HHelpCode" id="HHelpCode" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">转æ å¿</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHTProcessFlag" id="checkboxHTProcessFlag" lay-filter="checkboxHTProcessFlag" lay-skin="primary" value="true" title="æ¯å¦è½¬å·¥åº"> |
| | | <input type="hidden" value="false" name="HTProcessFlag" id="HTProcessFlag"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs8 layui-inline"> |
| | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ç产å®é¢</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HFixPrice" lay-verify="HFixPrice" id="HFixPrice" autocomplete="off"> |
| | | <input class="layui-input" name="HFixPrice" lay-verify="HFixPrice" id="HFixPrice" value="0" 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="HBarCode" id="HBarCode" autocomplete="off"> |
| | | <input class="layui-input" name="HBarCodeForBase" id="HBarCodeForBase" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">åºå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HSno" id="HSno" lay-verify="" autocomplete="off" class="layui-input"> |
| | | <input type="text" name="HSno" id="HSno" lay-verify="" autocomplete="off" value="0" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <!--<div class="layui-col-xs4 layui-inline"> |
| | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æµè½¬æ è®°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHTypeFlow" id="checkboxHTypeFlow" lay-skin="primary" lay-filter="checkboxHTypeFlow" value="true" title="æ¯å¦ç¦ç¨"> |
| | | <input type="checkbox" name="checkboxHTypeFlow" id="checkboxHTypeFlow" lay-skin="primary" lay-filter="checkboxHTypeFlow" value="true" title="æ¯å¦æµè½¬"> |
| | | <input type="hidden" value="false" name="HTypeFlow" id="HTypeFlow"> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æ ¸ç®æ è®°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHTypeCount" id="checkboxHTypeCount" lay-skin="primary" lay-filter="checkboxHTypeCount" value="true" title="æ¯å¦ç¦ç¨"> |
| | | <input type="checkbox" name="checkboxHTypeCount" id="checkboxHTypeCount" lay-skin="primary" lay-filter="checkboxHTypeCount" value="true" title="æ¯å¦æ ¸ç®"> |
| | | <input type="hidden" value="false" name="HTypeCount" id="HTypeCount"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">èªå¨ç§»è½¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHAutoTrunFlag" id="checkboxHAutoTrunFlag" lay-skin="primary" lay-filter="checkboxHAutoTrunFlag" value="true" title="æ¯å¦ç¦ç¨"> |
| | | <input type="checkbox" name="checkboxHAutoTrunFlag" id="checkboxHAutoTrunFlag" lay-skin="primary" lay-filter="checkboxHAutoTrunFlag" value="true" title="æ¯å¦ç§»è½¬"> |
| | | <input type="hidden" value="false" name="HAutoTrunFlag" id="HAutoTrunFlag"> |
| | | </div> |
| | | </div> |
| | |
| | | $("#HStopflag").val(data.elem.checked); |
| | | }); |
| | | |
| | | //æ¯å¦è½¬å·¥åº |
| | | form.on('checkbox(checkboxHTProcessFlag)', function (data) { |
| | | $("#HTProcessFlag").val(data.elem.checked); |
| | | }); |
| | | |
| | | |
| | | //æµè½¬æ è®°æé® |
| | | form.on('checkbox(checkboxHTypeFlow)', function (data) { |
| | | $("#HTypeFlow").val(data.elem.checked); |
| | |
| | | var IsHTypeFlow = data.æµè½¬æ è®°; |
| | | var IsHTypeCount = data.æ ¸ç®æ è®°; |
| | | var IsHAutoTrunFlag = data.èªå¨ç§»è½¬; |
| | | var HTProcessFlag = data.HTProcessFlag; |
| | | //ç¦ç¨æ è®° |
| | | if (IsHStopflag) { |
| | | $("input[name='checkboxHStopflag'][value='" + IsHStopflag + "']").attr("checked", true); |
| | |
| | | if (IsHAutoTrunFlag) { |
| | | $("input[name='checkboxHAutoTrunFlag'][value='" + IsHAutoTrunFlag + "']").attr("checked", true); |
| | | } |
| | | if (HTProcessFlag) { |
| | | $("input[name='checkboxHTProcessFlag'][value='" + HTProcessFlag + "']").attr("checked", true); |
| | | } |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HNumber": data.å·¥åºä»£ç |
| | | , "HItemID": data.HItemID |
| | |
| | | , "HLevel": data.ç级 |
| | | //, "HProcMulName": data.工段åç§° |
| | | //, "HProcMulID": data.工段ID |
| | | , "HBarCode": data.æ¡å½¢ç |
| | | , "HBarCodeForBase": data.æ¡å½¢ç |
| | | , "HHelpCode": data.å©è®°ç |
| | | , "HDeptName": data.é¨é¨ |
| | | , "HDeptID": data.HDeptID |
| | |
| | | // layer.msg("è¯·éæ©ERPå·¥åºï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return; |
| | | //} |
| | | |
| | | var HFixPrice = $('#HFixPrice').val(); |
| | | if (HFixPrice.substring(HFixPrice.length - 1, HFixPrice.length) == ".") { |
| | | layer.msg("ç产å®é¢çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HFixPrice)) { |
| | | layer.msg("ç产å®é¢è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HOverFixPrice = $('#HOverFixPrice').val(); |
| | | if (HOverFixPrice.substring(HOverFixPrice.length - 1, HOverFixPrice.length) == ".") { |
| | | layer.msg("å ç补贴å®é¢çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HOverFixPrice)) { |
| | | layer.msg("å ç补贴å®é¢è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HSno = $('#HSno').val(); |
| | | if (HSno.substring(HSno.length - 1, HSno.length) == ".") { |
| | | layer.msg("åºå·çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HSno)) { |
| | | layer.msg("åºå·è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var sMainStr = JSON.stringify(data.field) + ";" + sessionStorage["HUserName"]; |
| | | $.ajax({ |
| | | type: "POST", |
| | |
| | | layer.msg("è¯·éæ©å·¥ä½ä¸å¿ï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | |
| | | var HWorkTimes = $('#HWorkTimes').val(); |
| | | if (HWorkTimes.substring(HWorkTimes.length - 1, HWorkTimes.length) == ".") { |
| | | layer.msg("åçå·¥æ¶çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HWorkTimes)) { |
| | | layer.msg("åçå·¥æ¶è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HRelationID = $('#HRelationID').val(); |
| | | if (HRelationID.substring(HRelationID.length - 1, HRelationID.length) == ".") { |
| | | layer.msg("å
³èIDçç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HRelationID)) { |
| | | layer.msg("å
³èIDè¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HMaxWorkTimes = $('#HMaxWorkTimes').val(); |
| | | if (HMaxWorkTimes.substring(HMaxWorkTimes.length - 1, HMaxWorkTimes.length) == ".") { |
| | | layer.msg("åçæå¤§å·¥æ¶çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HMaxWorkTimes)) { |
| | | layer.msg("åçæå¤§å·¥æ¶è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HMinAdd = $('#HMinAdd').val(); |
| | | if (HMinAdd.substring(HMinAdd.length - 1, HMinAdd.length) == ".") { |
| | | layer.msg("æå°è¿é¶çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HMinAdd)) { |
| | | layer.msg("æå°è¿é¶è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HClassCount = $('#HClassCount').val(); |
| | | if (HClassCount.substring(HClassCount.length - 1, HClassCount.length) == ".") { |
| | | layer.msg("æ¯æ¥ç次çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HClassCount)) { |
| | | layer.msg("æ¯æ¥çæ¬¡è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HOverTimes = $('#HOverTimes').val(); |
| | | if (HOverTimes.substring(HOverTimes.length - 1, HOverTimes.length) == ".") { |
| | | layer.msg("å çå·¥æ¶çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HOverTimes)) { |
| | | layer.msg("å çå·¥æ¶è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var sMainStr = JSON.stringify(data.field) + ";" +sessionStorage["HUserName"]; |
| | | $.ajax({ |
| | | type: "POST", |
| | |
| | | //#region å·æ° |
| | | function get_Refresh() { |
| | | set_ClearQuery(); |
| | | get_Display(sWhere); |
| | | get_FastQuery(1); |
| | | } |
| | | //#endregion |
| | | |
| | |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }); |
| | | get_Display(sWhere); |
| | | get_FastQuery(1); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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="HColorRemark" lay-verify="HColorRemark" id="HColorRemark" style="background-color:#efefef4d;display: inline-block;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">计åå¼å·¥æ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 115px;"> |
| | | <input type="date" class="layui-input" lay-verify="HPlanBeginDate" name="HPlanBeginDate" id="HPlanBeginDate" style="padding-left: 80px;"> |
| | |
| | | $("#HUnitName").val(checkStatus.data[0].计éåä½åç§°);//计éåä½åç§° |
| | | $("#HWidth").val(checkStatus.data[0].HWidth);//å¹
宽 |
| | | $("#HWeight").val(checkStatus.data[0].HWeight);//å
é |
| | | $("#HColorRemark").val(checkStatus.data[0].æè²è¦æ±);//å
é |
| | | $("#HRemark").val(checkStatus.data[0].夿³¨);//夿³¨ |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | , "HAuxUnitName": d.data[0].HAuxUnitName |
| | | , "HWidth": d.data[0].HWidth |
| | | , "HWeight": d.data[0].HWeight |
| | | , "HColorRemark": d.data[0].æè²è¦æ± |
| | | //å
¶ä»ä¿¡æ¯ |
| | | , "hmakers": d.data[0].å¶å人 |
| | | , "hmakedate": d.data[0].å¶åæ¥æ == null ? "" : Format(new Date(d.data[0].å¶åæ¥æ), "yyyy-MM-dd") |
| | |
| | | var option2 = []; |
| | | var HModName = "Gy_RoutingBillListQuery"; |
| | | var titleData = ["hmainid", "åæ®ç±»å", "HMaterID", "hunitid", "HOrgID", "HMainCenterID", "å·¥ä½", "HMainProcID", "å·¥åºåç§°", "主è¿è¡æ¶é´", "è¿è¡æ¶é´åä½", "主å å·¥æ°é", "æè´¨", "å¾å·çæ¬", "HMainGroupID", "çç»", "工价", "æ åèµæºæ°", "å èµæºå¢é", "åèµæºåé", "HItemID", "HPRDORGID"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var titleData2 = ["hmainid", "hsubid", "ç¨åºå·", "æ¬å·¥åºç¡®è®¤è®°å½", "èªå¨ç§»è½¬", "æ¢åå夿¶é´", "æ¬éå夿¶é´", "ä¸é循ç¯å¨æ", "ä¸éåºå®å¤©æ°", "å¼å·¥ä½éï¼åºæ°ï¼", "å¼å·¥ä½éï¼å¤©æ°ï¼", "æ åå®é¢", "æ¥åºåä»·", "ä¸åæ ¼åä»·", "å·¥åºå·¥ä»·", "ç产å®é¢", "坿ä½è®¾å¤æ°", "æ å人æ°", "æµè½¬å·¥åº", "ä¸éæµè½¬å·¥åº", "åºå®ç产天æ°", "çäº§å¨æ", "ææ¾åº", "å¨è½¬ç®±", "å¨è½¬ç®±æ å", "æ¢æ¨¡æ¶é´", "转移æ¶é´", "æéæ¶é´", "å夿¶é´", "产线人æ°", "产线产è½", "产线ä¸å¿", "è¯ç", "å å·¥æ°é", "è¿è¡æ¶é´", "æ¶é´åä½", "å¾çº¸ç¼å·", "模å
·ç¼å·", "è¯åä»", "æ¥åºåä»", "ä¸è¯åä»", "å·¥åºç±»å", "hprocid", "HSupID", "HCenterID", "HCenterID_S", "工段", "å¼å·¥ä½é天æ°", "å¼å·¥ä½éåºæ°", "累计è¯ç", "è¶
颿¯ä¾", "HDayWorkQty", "HGroupID", "HWorkerID", "HSourceID", "å å·¥åä»·", "HNextProcFlag", "HBadWHID", "HBadWHName", "HWasterWHID", "HWasterWHName", "HWHID", "HWHName", "ä¾åºå代ç ","ä¾åºå"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var titleData2 = ["hmainid", "hsubid", "ç¨åºå·", "æ¬å·¥åºç¡®è®¤è®°å½", "èªå¨ç§»è½¬", "æ¢åå夿¶é´", "æ¬éå夿¶é´", "ä¸é循ç¯å¨æ", "ä¸éåºå®å¤©æ°", "å¼å·¥ä½éï¼åºæ°ï¼", "å¼å·¥ä½éï¼å¤©æ°ï¼", "æ åå®é¢", "æ¥åºåä»·", "ä¸åæ ¼åä»·", "å·¥åºå·¥ä»·", "ç产å®é¢", "坿ä½è®¾å¤æ°", "æ å人æ°", "æµè½¬å·¥åº", "ä¸éæµè½¬å·¥åº", "åºå®ç产天æ°", "çäº§å¨æ", "ææ¾åº", "å¨è½¬ç®±", "å¨è½¬ç®±æ å", "æ¢æ¨¡æ¶é´", "转移æ¶é´", "æéæ¶é´", "å夿¶é´", "产线人æ°", "产线产è½", "产线ä¸å¿", "è¯ç", "å å·¥æ°é", "è¿è¡æ¶é´", "æ¶é´åä½", "å¾çº¸ç¼å·", "模å
·ç¼å·", "è¯åä»", "æ¥åºåä»", "ä¸è¯åä»", "å·¥åºç±»å", "hprocid", "HSupID", "HCenterID", "HCenterID_S", "工段", "å¼å·¥ä½é天æ°", "å¼å·¥ä½éåºæ°", "累计è¯ç", "è¶
颿¯ä¾", "HDayWorkQty", "HGroupID", "HWorkerID", "HSourceID", "å å·¥åä»·", "HNextProcFlag", "HBadWHID", "HBadWHName", "HWasterWHID", "HWasterWHName", "HWHID", "HWHName"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | |
| | | //#endregion |
| | | |
| | |
| | | <input type="datetime" class="layui-input" name="HDate" id="HDate"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æè²è¦æ±</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HColorRemark" id="HColorRemark" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <!--<div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">订åè·è¸ªå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">订åè·è¸ªå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div>--> |
| | | <!--<div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å¾å·çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPicNumVer" id="HPicNumVer" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">å¾å·çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPicNumVer" id="HPicNumVer" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | |
| | | , { field: 'HCenterID', title: 'å·¥ä½ä¸å¿ID', hide: true } |
| | | , { field: 'HCenterNumber', title: 'å·¥ä½ä¸å¿ä»£ç ', edit: 'text', event: "HWorkCenterCheck" } |
| | | , { field: 'HCenterName', title: 'å·¥ä½ä¸å¿åç§°' } |
| | | , { field: 'HTechnologyParameter', title: 'å·¥èºåæ°', width: 500, style: "background-color: #e6e6e6" } |
| | | , { field: 'HTechnologyParameter', title: 'å·¥èºåæ°', width: 500, edit: 'text' } |
| | | , { field: 'HRemark', title: '夿³¨', edit: 'text' } |
| | | , { field: 'HSupID', title: 'ä¾åºåID', hide: true } |
| | | , { field: 'HSupNumber', title: 'ä¾åºå代ç ', edit: 'text', event: "HSupCheck" } |
| | |
| | | , "HEmpName": data.ä¸å¡å |
| | | , "HCusID": data.HCusID |
| | | , "HCusNames": data.å®¢æ· |
| | | , "HColorRemark": data.æè²è¦æ± |
| | | |
| | | , "HProjectNum": data.项ç®ç¼å· |
| | | , "HVerNum": data.çæ¬ |
| | |
| | | $("#HEmpName").val(data.ä¸å¡å); |
| | | $("#HCusID").val(data.HCusID); |
| | | $("#HCusNames").val(data.客æ·); |
| | | $("#HColorRemark").val(data.æè²è¦æ±); |
| | | $("#HBLFlag").val(result.data[0].HBLFlag == 0 ? false : true); |
| | | $("input[name='isHBLFlag']").prop("checked", result.data[0].HBLFlag);//true:éä¸ false:ä¸éä¸ |
| | | form.render("checkbox"); |
| | |
| | | // |
| | | var HModName = "Sc_ProcessExchangeBillList"; |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± ï¼ä¸»è¡¨ï¼ |
| | | var titleData = ["HEntryID", "HWorkShopID", "HMaterID", "HSupID", "HPRDORGID", "HEquipMentID", "hsubid", "HICMOEntryID", "HDeptID", "hmainid", "hicmointerid", "HMaterID2", "HUnitID", "HBillType", "HRoutingBillID", "HAuxUnit"]; |
| | | var titleData = ["HEntryID", "HWorkShopID", "HMaterID", "HSupID", "HPRDORGID", "HEquipMentID", "hsubid", "HICMOEntryID", "HDeptID", "hmainid", "hicmointerid", "HMaterID2", "HUnitID", "HBillType", "HRoutingBillID", "HAuxUnit", "ç产车é´ä»£ç ", "ç产车é´", "æè´¨", "æåç¼å·", "çæ¬", "æ»è£
å¾å·", "å¾å·çæ¬", "å件代ç ", "åä»¶åç§°", "åä»¶è§æ ¼", "æ¹å·", "å§å¤å å·¥åä½ä»£ç ", "å§å¤å å·¥åä½", "设å¤åç§°", "设å¤ä»£ç ", "åææ¹æ¬¡", "è¡¥ææ è®°", "项ç®ç¼å·", "ä¸»è¦ææ", "å
³é®ææ", "产åCODE", "éå®è®¢åå·", "客æ·ç®ç§°", "客æ·è¦æ±æææå", "产ååç§°2", "客æ·åç§°", "çäº§å¤æ³¨", "éè¦æç¤º", "åææç¼å·A", "åææç¼å·B", "åææç¼å·C", "åææç¼å·D", "åææå
ç A", "åææå
ç B", "åææå
ç C", "åææå
ç D", "æ¥è®¡åå·¥åå·", "客æ·ç¼ç ", "è¯ä½è§æ ¼åå·", "è¯ä½ç©æä»£ç ", "æºå客æ·ä»£ç ", "HEmpID","HCusID"]; |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± ï¼å·¥èºæµç¨ï¼ |
| | | var titleData2 = ["å·¥åºå·", "åºç«æ¥åºå
³èæ°é", "HProcID", "å·¥åºä»£ç ", "HBackProc", "å 工说æ", "模å
·ç¼å·", "HCenterID", "å·¥ä½ä¸å¿ä»£ç ", "HDeptID", "å 工车é´ä»£ç ", "å 工车é´", "HGroupID", "çç»ä»£ç ", "çç»", "HWorkerID", "æä½å·¥ä»£ç f", "æä½å·¥", "HSourceID", "çäº§èµæºä»£ç ", "çäº§èµæº", "è®¡åæ°é", "hmainid", "åæ®å·", "hicmointerid", "ä»»å¡åå·", "HICMOEntryID", "HWorkShopID", "ç产车é´ä»£ç ", "ç产车é´", "HMaterID", "产å代ç ", "产ååç§°", "è§æ ¼åå·", "æ¹å·", "HUnitID", "åä½ä»£ç ", "åä½", "ç产æ°é", "计åå¼å·¥æ¥æ", "计åå®å·¥æ¥æ", "æè¦", "å
é¨åæ®å·", "å§å¤è®¢åå
ç ", "å§å¤è®¢ååå
ç ", "å§å¤è®¢åå·", "HSupID", "ä¾åºå", "ä¾åºå代ç ", "è¡¨å¤´å¤æ³¨", "HBillType", "isEntrust", "æ¶é´åä½", "å·¥åºè®¡åå å·¥æ¶é´", "å计åå¼å·¥æ¥æ", "å计åå®å·¥æ¥æ", "å®é
å¼å·¥æ¥æ", "å®é
å®å·¥æ¥æ", "å¼å·¥ä½é天æ°", "å¼å·¥ä½éåºæ°", "ä¸éåºå®å¤©æ°", "çäº§å¨æ", "å å·¥åä»·", "æåæ±æ¥æ¥æ", "å 工费ç¨éé¢", "æ«éå·¥åº", "é¦éå·¥åº", "è¡å
³é人", "å
³éç±»å", "æµè½¬å¡æ°é", "å§å¤å·¥åæ°é", "ä¸åæ ¼æ°é", "è¶
颿¯ä¾", "è¯ç", "累计è¯ç", "å¾çº¸ç¼å·", "æ¬å·¥åºç¡®è®¤è®°å½", "æºå主å
ç ", "æºååå
ç ", "æºååå·", "æºåç±»å", "æ±æ¥æ°é", "HEntryID", "hsubid", "HPRDORGID", "ç»ç»", "HOrderProcNO"]; |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± ï¼å¨å
·æ¸
åï¼ |
| | |
| | | , { field: 'HProcID', title: 'å·¥åºID', hide: true } |
| | | , { field: 'HProcNumber', title: 'å·¥åºä»£ç ', width: 120 } |
| | | , { field: 'HProcName', title: 'å·¥åºåç§°', width: 120 } |
| | | , { field: 'HBackProc', title: 'è¿å·¥æ å¿', templet: "#HBackProc", width: 120 } |
| | | , { field: 'HCenterID', title: 'å·¥ä½ä¸å¿ID', hide: true } |
| | | , { field: 'HCenterNumber', title: 'å·¥ä½ä¸å¿ä»£ç ', width: 120 } |
| | | , { field: 'HCenterName', title: 'å·¥ä½ä¸å¿åç§°', width: 120 } |
| | | , { field: 'HTechnologyParameter', title: 'å·¥èºåæ°', width: 120, edit: 'text' } |
| | | , { field: 'HRemark', title: '夿³¨', edit: 'text', width: 120 } |
| | | , { field: 'HLeftQty', title: '坿忰é', width: 120 } |
| | | , { field: 'HSplitQty', title: 'æåæ°é', width: 120, edit: 'text' } |
| | | , { field: 'HQty', title: 'å®é
æ°é', width: 120 } |
| | | , { field: 'HWorkRemark', title: 'å 工说æ', width: 120 } |
| | | , { field: 'HCenterID', title: 'å·¥ä½ä¸å¿ID', hide: true } |
| | | , { field: 'HCenterNumber', title: 'å·¥ä½ä¸å¿ä»£ç ', width: 120} |
| | | , { field: 'HCenterName', title: 'å·¥ä½ä¸å¿åç§°', width: 120 } |
| | | , { field: 'HDeptID', title: 'é¨é¨ID', hide: true } |
| | | , { field: 'HDeptNumber', title: 'é¨é¨ä»£ç ', width: 120} |
| | | , { field: 'HDeptName', title: 'é¨é¨', width: 120} |
| | | , { field: 'HGroupID', title: 'çç»ID', hide: true } |
| | | , { field: 'HGroupNumber', title: 'çç»ä»£ç ', width: 120 } |
| | | , { field: 'HGroupName', title: 'çç»', width: 120} |
| | | , { field: 'HWorkerID', title: 'HWorkerID', hide: true } |
| | | , { field: 'HWorkerNumber', title: 'æä½å代ç ', width: 120 } |
| | | , { field: 'HWorkerName', title: 'æä½å', width: 120 } |
| | | , { field: 'HOutPrice', title: 'å å·¥åä»·', width: 120 } |
| | | , { field: 'HRemark', title: '夿³¨', edit: 'text', width: 120 } |
| | | , { field: 'HOverRate', title: 'è¶
颿¯ä¾', width: 120 } |
| | | , { field: 'HMaxQty', title: 'æé«ä¸é', width: 120} |
| | | , { field: 'HPassRate', title: 'è¯ç', width: 120} |
| | | , { field: 'HSumPassRate', title: '累计è¯ç', width: 120} |
| | | , { field: 'HPicNum', title: 'å¾çº¸ç¼å·', width: 120 } |
| | | , { field: 'HProcCheckNote', title: 'æ¬å·¥åºç¡®è®¤è®°å½', width: 120} |
| | | , { field: 'HTechnologyParameter', title: 'å·¥èºåæ°', width: 120 } |
| | | , { field: 'HBackProc', title: 'è¿å·¥æ å¿', templet: "#HBackProc", width: 120 } |
| | | |
| | | //, { field: 'HDeptID', title: 'é¨é¨ID', hide: true } |
| | | //, { field: 'HDeptNumber', title: 'é¨é¨ä»£ç ', width: 120} |
| | | //, { field: 'HDeptName', title: 'é¨é¨', width: 120} |
| | | //, { field: 'HGroupID', title: 'çç»ID', hide: true } |
| | | //, { field: 'HGroupNumber', title: 'çç»ä»£ç ', width: 120 } |
| | | //, { field: 'HGroupName', title: 'çç»', width: 120} |
| | | //, { field: 'HWorkerID', title: 'HWorkerID', hide: true } |
| | | //, { field: 'HWorkerNumber', title: 'æä½å代ç ', width: 120 } |
| | | //, { field: 'HWorkerName', title: 'æä½å', width: 120 } |
| | | //, { field: 'HOutPrice', title: 'å å·¥åä»·', width: 120 } |
| | | //, { field: 'HOverRate', title: 'è¶
颿¯ä¾', width: 120 } |
| | | //, { field: 'HMaxQty', title: 'æé«ä¸é', width: 120} |
| | | //, { field: 'HPassRate', title: 'è¯ç', width: 120} |
| | | //, { field: 'HSumPassRate', title: '累计è¯ç', width: 120} |
| | | //, { field: 'HPicNum', title: 'å¾çº¸ç¼å·', width: 120 } |
| | | //, { field: 'HProcCheckNote', title: 'æ¬å·¥åºç¡®è®¤è®°å½', width: 120} |
| | | |
| | | , { field: 'HPrevSourceInterID', title: 'HPrevSourceInterID', hide: true } |
| | | , { field: 'HPrevSourceEntryID', title: 'HPrevSourceEntryID', hide: true } |
| | | //, { fixed: 'right', title: 'æä½', toolbar: '#barDemo' } |