| | |
| | | const table = ref({ |
| | | key: "id", |
| | | footer: "Foots", |
| | | cnName: "ç©æç»å®ç®¡ç", |
| | | cnName: "ç©æè®°å½", |
| | | name: "Dt_MaterialInfo", |
| | | url: "/materialInfo/", |
| | | sortName: "CreateDate", |
| | |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "ä»»å¡å·", field: "taskNum", type: "int" }, |
| | | { title: "æçç¼å·", field: "palletCode", type: "text" }, |
| | | { |
| | | title: "ä»»å¡ç±»å", |
| | | field: "taskType", |
| | | type: "selectList", |
| | | dataKey: "taskType", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "ä»»å¡ç¶æ", |
| | | field: "taskState", |
| | | type: "selectList", |
| | | dataKey: "taskState", |
| | | data: [], |
| | | }, |
| | | { title: "容å¨ç¼å·", field: "containerCode", type: "string" }, |
| | | { title: "é¶ä»¶å·", field: "materialName", type: "string" }, |
| | | { title: "车å", field: "carmodel", type: "string" }, |
| | | ], |
| | | [ |
| | | { title: "èµ·å§å°å", field: "sourceAddress", type: "text" }, |
| | | { title: "ç®æ å°å", field: "targetAddress", type: "text" }, |
| | | { title: "å½åä½ç½®", field: "currentAddress", type: "text" }, |
| | | { title: "ä¸ä¸ä½ç½®", field: "nextAddress", type: "text" }, |
| | | ], |
| | | [ |
| | | { title: "å··éå·", field: "roadway", type: "text" }, |
| | | { title: "å建人", field: "creater", type: "text" }, |
| | | { title: "å建æ¶é´", field: "createDate", type: "datetime" }, |
| | | ], |
| | | { title: "容å¨èµ·ç¹", field: "position", type: "string" }, |
| | | { title: "容å¨ç»ç¹", field: "endPosition", type: "string" }, |
| | | ] |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "ContainerCode", |
| | | field: "materialName", |
| | | title: "é¶ä»¶å·", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "containerCode", |
| | | title: "容å¨ç¼å·", |
| | | type: "string", |
| | | width: 90, |
| | |
| | | }, |
| | | |
| | | { |
| | | field: "Position", |
| | | title: "容å¨å½åä½ç½®", |
| | | field: "position", |
| | | title: "容å¨èµ·ç¹", |
| | | type: "string", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "EndPosition", |
| | | title: "容å¨åºåºä½ç½®", |
| | | field: "endPosition", |
| | | title: "容å¨ç»ç¹", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "IsNew", |
| | | field: "isNew", |
| | | title: "æ¯å¦å±äºæ°å¢å®¹å¨", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "taskType", data: [] }, |
| | | bind: { key: "isBind", data: [] }, |
| | | }, |
| | | { |
| | | field: "IsBind", |
| | | field: "isBind", |
| | | title: "æ¯å¦ç»å®", |
| | | type: "int", |
| | | width: 150, |
| | | align: "left", |
| | | bind: { key: "taskState", data: [] }, |
| | | bind: { key: "isBind", data: [] }, |
| | | }, |
| | | { |
| | | field: "Carmodel", |
| | | field: "carmodel", |
| | | title: "车å", |
| | | type: "string", |
| | | width: 120, |