| | |
| | | sortName: "id", |
| | | }); |
| | | const editFormFields = ref({ |
| | | deviceCode: "", |
| | | deviceName: "", |
| | | deviceType: "", |
| | | deviceStatus: "", |
| | | deviceIp: "", |
| | | devicePort: "", |
| | | devicePlcType: "", |
| | | deviceRemark: "", |
| | | palletCode: "", |
| | | palletType: "", |
| | | locationCode: "", |
| | | warehouseId: "", |
| | | stockStatus: "", |
| | | mesSubPalletCode: "", |
| | | remark: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { title: "æçç¼å·", field: "palletCode" }, |
| | | { |
| | | title: "ç©æç±»å", |
| | | field: "materialType", |
| | | type: "select", |
| | | dataKey: "InventoryMaterialType", |
| | | data: [], |
| | | }, |
| | | { title: "è´§ä½ç¼å·", field: "locationCode" }, |
| | | { |
| | | title: "åºåç¶æ", |
| | | field: "stockStatus", |
| | | type: "select", |
| | | dataKey: "stockStatusEmun", |
| | | data: [], |
| | | }, |
| | | { title: "è´§ä½ç¼å·", field: "locationCode" }, |
| | | ], |
| | | [ |
| | | { title: "éé", field: "materialweight" }, |
| | | { |
| | | title: "ç©æç¶æ", |
| | | field: "wlstatus", |
| | | title: "æçç±»å", |
| | | field: "palletType", |
| | | type: "select", |
| | | dataKey: "InventoryMaterialStatus", |
| | | data: [] |
| | | dataKey: "InventoryMaterialType", |
| | | data: [], |
| | | }, |
| | | { title: "ä»åºä¸»é®", field: "warehouseId", type: "int" }, |
| | | { title: "åæçç¼å·", field: "mesSubPalletCode" }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "夿³¨", field: "Remark" |
| | | title: "夿³¨", field: "remark" |
| | | } |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | deviceCode: "", |
| | | deviceType: "", |
| | | deviceStatus: "", |
| | | palletCode: "", |
| | | locationCode: "", |
| | | stockStatus: "", |
| | | warehouseId: "", |
| | | palletType: "", |
| | | mesSubPalletCode: "", |
| | | creater: "", |
| | | createDate: "", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "æçç¼å·", |
| | | field: "palletCode", |
| | | type: "like", |
| | | }, |
| | | { title: "æçç¼å·", field: "palletCode", type: "like" }, |
| | | { |
| | | title: "ç©æç±»å", |
| | | field: "materialType", |
| | | type: "select", |
| | | dataKey: "InventoryMaterialType", |
| | | data: [], |
| | | }, |
| | | { title: "è´§ä½ç¼å·", field: "locationCode",type: "like", }, |
| | | |
| | | title: "åºåç¶æ", |
| | | field: "stockStatus", |
| | | type: "selectList", |
| | | dataKey: "stockStatusEmun", |
| | | data: [], |
| | | }, |
| | | { title: "è´§ä½ç¼å·", field: "locationCode", type: "like" }, |
| | | { title: "åºåç¼å·", field: "id", type: "like" }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "åºåç¶æ", |
| | | field: "stockStatus", |
| | | type: "selectList", |
| | | dataKey: "stockStatusEmun", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "ç©æç¶æ", |
| | | field: "wlstatus", |
| | | type: "selectList", |
| | | dataKey: "InventoryMaterialStatus", |
| | | data: [], |
| | | }, |
| | | { title: "åºåç¼å·", |
| | | field: "id", |
| | | type: "like", |
| | | }, |
| | | { |
| | | title: "æçç±»å", |
| | | field: "palletType", |
| | | type: "selectList", |
| | | dataKey: "InventoryMaterialType", |
| | | data: [], |
| | | }, |
| | | { title: "ä»åºä¸»é®", field: "warehouseId", type: "int" }, |
| | | { title: "åæçç¼å·", field: "mesSubPalletCode", type: "like" }, |
| | | ], |
| | | [ |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | { title: "ç产æ¶é´", field: "mgeneratetime", type: "datetime" }, |
| | | { title: "å建人", field: "creater", type: "like" }, |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | ] |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | { |
| | | field: "id", |
| | | title: "åºåç¼å·", |
| | | type: "string", |
| | | type: "int", |
| | | width: 90, |
| | | align: "left", |
| | | DisplayType:"link", |
| | | |
| | | DisplayType: "link", |
| | | }, |
| | | { |
| | | field: "palletCode", |
| | |
| | | //sort:true, |
| | | }, |
| | | { |
| | | field: "materialType", |
| | | title: "ç©æç±»å", |
| | | type: "string", |
| | | width: 150, |
| | | field: "palletType", |
| | | title: "æçç±»å", |
| | | type: "int", |
| | | width: 100, |
| | | align: "left", |
| | | //sort:true, |
| | | bind: { key: "InventoryMaterialType", data: [] }, |
| | | }, |
| | | { |
| | |
| | | //sort:true, |
| | | }, |
| | | { |
| | | field: "wlstatus", |
| | | title: "ç©æç¶æ", |
| | | type: "string", |
| | | width: 150, |
| | | field: "warehouseId", |
| | | title: "ä»åºä¸»é®", |
| | | type: "int", |
| | | width: 100, |
| | | align: "left", |
| | | // sort:true, |
| | | bind: { key: "InventoryMaterialStatus", data: [] }, |
| | | },{ |
| | | field: "mgeneratetime", |
| | | title: "ç产æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | align: "left", |
| | | // sort:true, |
| | | }, |
| | | { |
| | | field: "isFull", |
| | | title: "æ¯å¦æ»¡ç", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | // sort:true, |
| | | bind: { key: "yesno", data: [] }, |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "stockStatus", |
| | | title: "åºåç¶æ", |
| | | type: "string", |
| | | type: "int", |
| | | width: 150, |
| | | align: "left", |
| | | // sort:true, |
| | | bind: { key: "stockStatusEmun", data: [] }, |
| | | }, |
| | | { |
| | | field: "materialweight", |
| | | title: "éé(æ°é)", |
| | | field: "mesSubPalletCode", |
| | | title: "åæçç¼å·", |
| | | type: "string", |
| | | width: 150, |
| | | width: 120, |
| | | align: "left", |
| | | // sort:true, |
| | | },{ |
| | | }, |
| | | { |
| | | field: "details", |
| | | title: "åºåæç»", |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |