| | |
| | | //æ°å¢è¡è¡¨æ ¼æ°æ® |
| | | |
| | | var NewRow = { |
| | | "HPreventErrMouldID": "0", "HPreventErrMouldName": "", "HPreventErrNote": "", "HLoseMode": "", "HLoseCheck": "","HRemark":"", |
| | | "HPreventErrMouldID": "0", "HPreventErrMouldName": "", "HPreventErrNote": "", "HLoseMode": "", "HLoseCheck": "", "HPreventErrResult": "","HRemark":"", |
| | | "HSourceBillNo": 0, "HSourceBillType": 0, "HSourceInterID": 0, "HSourceEntryID": 0, |
| | | }; |
| | | switch (obj.event) { |
| | |
| | | { type: 'checkbox', totalRowText: 'å计è¡' } |
| | | , { type: 'numbers', title: 'åºå·', style: 'background-color: #f9f9f9;' } |
| | | , { field: 'HPreventErrMouldID', title: 'HPreventErrMouldID', hide: true, style: 'background-color: #f9f9f9;' } |
| | | , { field: 'HPreventErrMouldName', title: 'é²éè£
ç½®', edit: 'text', event: "HPreventErrMouldID", style: 'background-color: #f9f9f9;' } //f7 |
| | | , { field: 'HPreventErrMouldName', title: 'é²éè£
ç½®', edit: 'text', event: "HPreventErrMouldID" } //f7 |
| | | , { field: 'HPreventErrNote', title: 'é²éåè½', edit: 'text'} |
| | | , { field: 'HLoseMode', title: 'å¤±ææ¨¡å¼', edit: 'text'} |
| | | , { field: 'HLoseCheck', title: '失æéªè¯æ¹æ³', edit: 'text', } |
| | | , { field: 'HLoseCheck', title: '失æéªè¯æ¹æ³', edit: 'text' } |
| | | , { field: 'HPreventErrResult', title: 'é²éç»æ', edit: 'text'} |
| | | , { field: 'HRemark', title: '夿³¨', edit: 'text' } |
| | | , { field: 'HSourceInterID', title: 'æºåå
ç ', hide: true, style: 'background-color: #f9f9f9;' } |
| | | , { field: 'HSourceEntryID', title: 'æºååå
ç ', hide: true, style: 'background-color: #f9f9f9;' } |
| | |
| | | , "HPreventErrNote": "" |
| | | , "HLoseMode": "" |
| | | , "HLoseCheck": "" |
| | | , "HPreventErrResult": "" |
| | | , "HRemark":"" |
| | | , "HSourceInterID": "0" |
| | | , "HSourceEntryID": "0" |
| | |
| | | "HPreventErrNote": tableSub[i]["é²éåè½"], |
| | | "HLoseMode": tableSub[i]["å¤±ææ¨¡å¼"], |
| | | "HLoseCheck": tableSub[i]["失æéªè¯æ¹æ³"], |
| | | "HPreventErrResult": tableSub[i]["é²éç»æ"], |
| | | "HRemark": tableSub[i]["表ä½å¤æ³¨"] |
| | | } |
| | | ); |
| | |
| | | var oldData = table.cache["mainTable"]; |
| | | oldData.splice(obj.tr.data('index'), 1) |
| | | option.data = oldData;//å°æ°æ®ç»å®å°dataä¸ |
| | | table.render(option); |
| | | for (var i = 0; i < oldData.length; i++) { |
| | | $('#HLoseCheck' + (i + 1)).find("option[value='" + oldData[i].HLoseCheck + "']").attr("selected", true); |
| | | } |
| | | form.render('select'); |
| | | table.render(option); |
| | | layer.close(index); |
| | | } |
| | | }); |