| | |
| | | |
| | | //å表 èµå¼ |
| | | var rowdata = []; |
| | | for (var i = 0; i < tableSub.length; i++) { |
| | | rowdata.push( |
| | | { |
| | | "HRelationBillInterID": tableSub[i].HRelationBillInterID, "HRelationBillEntryID": tableSub[i].HRelationBillEntryID, "HRelationBillNo": tableSub[i].HRelationBillNo, "HRelationBillType": tableSub[i].HRelationBillType, |
| | | "HICMOInterID": tableSub[i].ç产订åå
ç , "HICMOEntryID": tableSub[i].ç产订ååå
ç , "HICMOBillNo": tableSub[i].ç产订å, "HRemark": tableSub[i].夿³¨, |
| | | "HProcExchInterID": tableSub[i].HProcExchInterID, "HProcExchEntryID": tableSub[i].HProcExchEntryID, "HProcExchBillNo": tableSub[i].HProcExchBillNo, |
| | | "HMaterID": tableSub[i].HMaterID, "HMaterName": tableSub[i].产ååç§°, "HProcID": tableSub[i].HProcID, "HProcName": tableSub[i].å·¥åºåç§°, |
| | | } |
| | | ) |
| | | if (tableSub[0].HRelationBillInterID!=null) { |
| | | for (var i = 0; i < tableSub.length; i++) { |
| | | rowdata.push( |
| | | { |
| | | "HRelationBillInterID": tableSub[i].HRelationBillInterID, "HRelationBillEntryID": tableSub[i].HRelationBillEntryID, "HRelationBillNo": tableSub[i].HRelationBillNo, "HRelationBillType": tableSub[i].HRelationBillType, |
| | | "HICMOInterID": tableSub[i].ç产订åå
ç , "HICMOEntryID": tableSub[i].ç产订ååå
ç , "HICMOBillNo": tableSub[i].ç产订å, "HRemark": tableSub[i].夿³¨, |
| | | "HProcExchInterID": tableSub[i].HProcExchInterID, "HProcExchEntryID": tableSub[i].HProcExchEntryID, "HProcExchBillNo": tableSub[i].HProcExchBillNo, |
| | | "HMaterID": tableSub[i].HMaterID, "HMaterName": tableSub[i].产ååç§°, "HProcID": tableSub[i].HProcID, "HProcName": tableSub[i].å·¥åºåç§°, |
| | | } |
| | | ) |
| | | } |
| | | |
| | | } |
| | | option.data = rowdata; |
| | | table.render(option); |
| | | |
| | | } else { |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |