| | |
| | | inboundOrderNo: "", |
| | | upperOrderNo: "", |
| | | remark: "", |
| | | orderStatus: "", |
| | | warehouseId: "", |
| | | supplierId: "", |
| | | createType: "", |
| | | isTestMaterials: "", |
| | | operator: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "åæ®ç±»å", |
| | | required: true, |
| | | field: "orderType", |
| | | type: "select", |
| | | dataKey: "inOrderType", |
| | | data: [], |
| | | hidden: true |
| | | }, |
| | | { |
| | | field: "inboundOrderNo", |
| | | title: "åæ®ç¼å·", |
| | | type: "string", |
| | | readonly: true, |
| | | }, |
| | | { |
| | | title: "䏿¸¸åæ®ç¼å·", |
| | |
| | | type: "textarea", |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "ä¸å¡ç±»å", |
| | | field: "businessType", |
| | | type: "select", |
| | | dataKey: "businessType", |
| | | data: [], |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "æ¯å¦åæ¹", |
| | | field: "isBatch", |
| | | type: "select", |
| | | dataKey: "enable", |
| | | data: [], |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "ååº", |
| | | field: "factoryArea", |
| | | type: "string", |
| | | }, |
| | | ] |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | inboundOrderNo: "", |
| | |
| | | createType: "", |
| | | creater: "", |
| | | createDate: "", |
| | | materielCode: "", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | |
| | | title: "ä¸å¡ç±»å", |
| | | field: "businessType", |
| | | type: "select", |
| | | dataKey: "documentTypeEmun", |
| | | dataKey: "inboundbusinessType", |
| | | data: [], |
| | | }, |
| | | { |
| | |
| | | }, |
| | | { title: "å建è
", field: "creater", type: "like" }, |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | { title: "ç©æç¼å·", field: "materielCode", type: "like" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | field: "orderStatistics", |
| | | title: "åæ®ç©æç»è®¡", |
| | | type: "string", |
| | | width: 230, |
| | | width: 300, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | field: "returnToMESStatus", |
| | | title: "åä¼ MESç¶æ", |
| | | width: 120, |
| | | bind: { key: "createType", data: [{ key: 0, value: "æªåä¼ " }, { key: 1, value: "å·²åä¼ æå" }, { key: 2, value: "åä¼ å¤±è´¥" }] }, |
| | | bind: { key: "createType", data: [{ key: 0, value: "æªåä¼ " }, { key: 1, value: "å·²åä¼ æå" }, { key: 2, value: "åä¼ å¤±è´¥" },{ key: 3, value: "é¨ååä¼ æå" },{ key: 4, value: "é¨ååä¼ å¤±è´¥" },{ key: 5, value: "æ éåä¼ " }] }, |
| | | }, |
| | | { |
| | | field: "factoryArea", |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left" |
| | | }, |
| | | { |
| | | field: "isTestMaterials", |
| | | title: "æ¯å¦è¯äº§", |
| | | width: 120, |
| | | bind: { key: "isTestMaterials", data: [{ key: 0, value: "éè¯äº§ç©æ" }, { key: 1, value: "è¯äº§ç©æ" }] }, |
| | | }, |
| | | { |
| | | field: "creater", |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "modifier", |
| | | field: "operator", |
| | | title: "ä¿®æ¹äºº", |
| | | type: "string", |
| | | width: 100, |
| | |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "materielCode", |
| | | field: "materielName", |
| | | title: "ç©æåç§°", |
| | | type: "string", |
| | | width: 120, |
| | | width: 150, |
| | | align: "left", |
| | | bind: { key: "MaterielNames", data: [] }, |
| | | edit: { type: "" }, |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | required: true |
| | | }, |
| | | { |
| | |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "outBoxbarcodes", |
| | | title: "å¤ç®±æ¡ç ", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | }, |
| | | { |
| | | field: "orderQuantity", |
| | | title: "åæ®æ°é", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "number" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "barcodeQty", |
| | | title: "æ¡ç æ°é", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "number" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "barcodeUnit", |
| | | title: "æ¡ç åä½", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | required: true, |
| | | }, |
| | | { |
| | |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "orderDetailStatus", |
| | |
| | | bind: { key: "orderDetailStatusEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "palletCode", |
| | | title: "å·²ç»æçå·", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "creater", |
| | | title: "å建人", |
| | | type: "string", |