| | |
| | | var linteridSub = params[params[3]]; //ä»åæ°è·å åè¡¨çº§å« |
| | | |
| | | //夿æ¯å¦æ°å¢ |
| | | if (linterid == null || linterid == 0) { |
| | | if (linterid == null || linterid == -1) { |
| | | linteridSub = -1; |
| | | OperationType = 1; |
| | | $.ajax({ |
| | |
| | | //ç¼ºå°æ¥è®¡åå·¥åfid åid ç产订åå· æºåç±»å |
| | | , { field: 'HWorkShopID', title: 'HWorkShopID', hide: true } |
| | | , { field: 'HWorkShopIDName', title: 'ç产车é´', edit: 'text', event: "HPURCHASEORGID" } |
| | | , { field: 'HDayPlanDate', title: 'å·¥åçäº§æ¥æ', width: 200, templet: '#HDayPlanDate'}//date |
| | | , { field: 'HDayPlanDate', title: 'å·¥åçäº§æ¥æ', width: 200, templet: '#HDayPlanDate' }//date |
| | | , { field: 'HKFDate', title: 'çäº§æ¥æ', align: 'center', width: 150, data_field: 'HKFDate', event: "chooseHKFDate" } |
| | | , { field: 'HRelationQty1 ', title: 'å¯ç¨éè´æ°é', edit: 'text' } |
| | | , { field: 'HPOOrderInterID', title: 'éè´è®¢åå
ç ', edit: 'text' } |
| | | , { field: 'HPOOrderEntryID ', title: 'éè´è®¢ååå
ç ', edit: 'text' } |
| | |
| | | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | if ((OperationType == 1 && linteridSub == -1) || OperationType == 3) { |
| | | if ((OperationType == 1 && linterid == -1) || OperationType == 3) { |
| | | Pub_Close(1); |
| | | } else { |
| | | Pub_Close(2); |