Showing
2 changed files
with
2 additions
and
0 deletions
| ... | ... | @@ -290,6 +290,7 @@ export default { |
| 290 | 290 | next.orderNo = next.orderNo || ((first && (first.orderNo || first.code)) || ''); |
| 291 | 291 | next.orderId = next.id || ''; |
| 292 | 292 | delete next.id |
| 293 | + delete next.status | |
| 293 | 294 | this.form = next |
| 294 | 295 | const lines = Array.isArray(item.purchaseOrderLineList) ? item.purchaseOrderLineList.map(x => ({ ...x, purchaseOrderId: x.id, id: '' })) : [] |
| 295 | 296 | this.initPurchaseOrderLineList = lines | ... | ... |
| ... | ... | @@ -210,6 +210,7 @@ export default { |
| 210 | 210 | next.orderNo = next.orderNo || ((first && (first.orderNo || first.code)) || ''); |
| 211 | 211 | next.purchaseOrderId = next.id || ''; |
| 212 | 212 | delete next.id |
| 213 | + delete next.status | |
| 213 | 214 | this.form = next |
| 214 | 215 | const lines = Array.isArray(item.purchaseOrderLineList) ? item.purchaseOrderLineList.map(x => ({ ...x, purchaseOrderLineId: x.id, id: '' })) : [] |
| 215 | 216 | this.initPurchaseOrderLineList = lines; | ... | ... |