| | |
| | | }); |
| | | const editFormFields = ref({ |
| | | orderType: "", |
| | | orderNo:"", |
| | | orderNo: "", |
| | | upperOrderNo: "", |
| | | remark: "", |
| | | }); |
| | |
| | | { |
| | | field: "warehouseId", |
| | | title: "ä»åºID", |
| | | type: "int", |
| | | type: "select", |
| | | dataKey: "warehouses", |
| | | data: [], |
| | | }, |
| | | { |
| | | field: "orderNo", |
| | | title: "åæ®ç¼å·", |
| | | type: "string", |
| | | readonly: true, |
| | | }, |
| | | { |
| | | { |
| | | title: "åæ®ç¶æ", |
| | | field: "orderStatus", |
| | | type: "select", |
| | |
| | | title: "䏿¸¸åæ®ç¼å·", |
| | | field: "upperOrderNo", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "夿³¨", |
| | | field: "remark", |
| | | type: "textarea", |
| | | readonly: true, |
| | | }, |
| | | ], |
| | | [ |
| | |
| | | type: "select", |
| | | dataKey: "createType", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "夿³¨", |
| | | field: "remark", |
| | | type: "textarea", |
| | | }, |
| | | { |
| | | field: "inoutType", |
| | | title: "åºå
¥åºç±»å", |
| | | type: "select", |
| | | dataKey:"inoutTypeEnum", |
| | | data:[], |
| | | readonly:true |
| | | }, |
| | | { |
| | | field: "system", |
| | | title: "åæ®æ¥æº", |
| | | type: "string", |
| | | readonly:true |
| | | }, |
| | | ], |
| | | ]); |
| | |
| | | ], |
| | | [ |
| | | { |
| | | title: "åºå
¥åºç±»å", |
| | | field: "inoutType", |
| | | type: "select", |
| | | dataKey: "inoutTypeEnum", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "æå±ä»åº", |
| | | field: "warehouseId", |
| | | type: "select", |
| | | dataKey: "warehouses", |
| | | data: [], |
| | | }, |
| | | { title: "å建è
", field: "creater", type: "like" }, |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "å建æ¹å¼", |
| | | field: "createType", |
| | | type: "select", |
| | | dataKey: "createType", |
| | | data: [], |
| | | }, |
| | | { title: "å建è
", field: "creater", type: "like" }, |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | }, |
| | | { |
| | | field: "warehouseId", |
| | | title: "ä»åºID", |
| | | type: "int", |
| | | width: 90, |
| | | title: "ä»åº", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "warehouses", data: [] }, |
| | | }, |
| | | |
| | | { |
| | | field: "orderNo", |
| | | title: "åæ®ç¼å·", |
| | | type: "string", |
| | | width: 120, |
| | | width: 170, |
| | | align: "left", |
| | | link: true, |
| | | }, |
| | |
| | | }, |
| | | { |
| | | field: "orderType", |
| | | title: "åæ®ç±»å", |
| | | title: "åæ®å¤§ç±»", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | |
| | | }, |
| | | { |
| | | field: "inoutType", |
| | | title: "åæ®å¤§ç±»", |
| | | type: "string", |
| | | width: 150, |
| | | title: "åºå
¥åºç±»å", |
| | | type: "select", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "inoutType", data: [] }, |
| | | bind: { key: "inoutTypeEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "orderStatus", |
| | |
| | | field: "createType", |
| | | title: "å建æ¹å¼", |
| | | type: "string", |
| | | width: 90, |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "createType", data: [] }, |
| | | }, |
| | | { |
| | | field: "system", |
| | | title: "åæ®æ¥æº", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "creater", |
| | |
| | | edit: { type: "" }, |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | | title: "æ¹æ¬¡å·", |
| | | type: "decimal", |
| | | width: 90, |
| | | field: "supplierBatch", |
| | | title: "ä¾åºåæ¹æ¬¡å·", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | | title: "å
鍿¹æ¬¡å·", |
| | | type: "string", |
| | | width: 130, |
| | | align: "left", |
| | | readonly: true, |
| | | }, |
| | | { |
| | | field: "orderQuantity", |
| | |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "number" }, |
| | | required: true, |
| | | }, |
| | | { |
| | |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | edit: { type: "number" }, |
| | | }, |
| | | { |
| | | field: "overInQuantity", |
| | |
| | | { |
| | | field: "orderDetailStatus", |
| | | title: "订åæç»ç¶æ", |
| | | type: "string", |
| | | type: "select", |
| | | width: 180, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | bind: { key: "orderDetailStatusEnum", data: [] }, |
| | | edit: { type: "number" }, |
| | | }, |
| | | { |
| | | field: "creater", |