| | |
| | | footer: "Foots", |
| | | cnName: "æååºåä¿¡æ¯", |
| | | name: "proStockInfo", |
| | | url: "/proStockInfo/", |
| | | url: "/ProStockInfo/", |
| | | sortName: "id", |
| | | }); |
| | | const editFormFields = ref({ |
| | | deviceCode: "", |
| | | deviceName: "", |
| | | deviceType: "", |
| | | deviceStatus: "", |
| | | deviceIp: "", |
| | | devicePort: "", |
| | | devicePlcType: "", |
| | | deviceRemark: "", |
| | | |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | {field:'palletCode',title:'è¶æ¡å·',type:'string'}, |
| | | {field:'locationCode',title:'è´§ä½ç¼å·',type:'string'}, |
| | | ] |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | palletCode: "", |
| | | locationCode: "", |
| | | containerCode: "", |
| | | containerType: "", |
| | | warehouseId: "", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "è¶æ¡å·", field: "palletCode" }, |
| | | { title: "è´§ä½ç¼å·", field: "locationCode" }, |
| | | { title: "ææ¡ç¼å·", field: "containerCode", type: "like" }, |
| | | { title: "è´§ä½ç¼å·", field: "locationCode", type: "like" }, |
| | | { title: "ææ¡ç±»å", field: "containerType" ,type: "select",dataKey: "containerTypeEnum",data: [],}, |
| | | { title: "ä»åº", field: "warehouseId" ,type: "select",dataKey: "warehouseEnum",data: [],}, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | field: "id", |
| | | title: "Id", |
| | | type: "int", |
| | | width: 90, |
| | | width: 100, |
| | | hidden: true, |
| | | readonly: true, |
| | | require: true, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "palletCode", |
| | | title: "è¶æ¡å·", |
| | | field: "containerCode", |
| | | title: "ææ¡ç¼å·", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "shipmentOrder", |
| | | title: "åºè´§åå·", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "palletType", |
| | | title: "è¶æ¡ç±»å", |
| | | type: "string", |
| | | width: 90, |
| | | width: 200, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "locationCode", |
| | | title: "è´§ä½ç¼å·", |
| | | type: "string", |
| | | width: 150, |
| | | width: 280, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "isFull", |
| | | // title: "æ¯å¦æ»¡ç", |
| | | // type: "string", |
| | | // width: 150, |
| | | // align: "left", |
| | | // bind: { key: "yesno", data: [] }, |
| | | // }, |
| | | { |
| | | field: "containerType", |
| | | title: "ææ¡ç±»å", |
| | | type: "int", |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "warehouseId", |
| | | title: "ä»åº", |
| | | type: "select", |
| | | width: 100, |
| | | type: "int", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "warehouses", data: [] }, |
| | | bind: { key: "warehouseEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "stockStatus", |
| | | title: "åºåç¶æ", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "stockStatusEnum", data: [] }, |
| | | }, |
| | | { |
| | | field: "isEmpty", |
| | | title: "æ¯å¦ç©ºæ¡", |
| | | type: "bool", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "", data: [{ key: "true", value: "æ¯" }, { key: "false", value: "å¦" }] }, |
| | | }, |
| | | { |
| | | field: "isFill", |
| | | title: "æ¯å¦æ»¡æ¡", |
| | | type: "bool", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "", data: [{ key: "true", value: "æ¯" }, { key: "false", value: "å¦" }] }, |
| | | }, |
| | | { |
| | | field: "isPick", |
| | | title: "æ¯å¦åæ£", |
| | | type: "bool", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "", data: [{ key: "true", value: "æ¯" }, { key: "false", value: "å¦" }] }, |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "creater", |
| | |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | hidden:true |
| | | }, |
| | | { |
| | | field: "modifyDate", |
| | |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | hidden:true |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | hidden:true |
| | | }, |
| | | ]); |
| | | const detail = ref({ |