| | |
| | | sortName: "TaskId" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "taskNum": "", |
| | | "palletCode": "" |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { "title": "ä»»å¡å·", "field": "taskNum", "type": "text" }, |
| | | { "title": "æçå·", "field": "palletCode", "type": "text" }, |
| | | { "title": "ä»»å¡ç±»å", "field": "taskType", "type": "select", dataKey: "TaskType", data: [] }, |
| | | { "title": "ä»»å¡ç¶æ", "field": "taskState", "type": "select", dataKey: "TaskStatus", data: [] }, |
| | | |
| | | ], |
| | | [ |
| | | { "title": "èµ·å§ä½ç½®", "field": "sourceAddress", type: "text" }, |
| | | { "title": "å½åä½ç½®", "field": "currentAddress", type: "text" }, |
| | | { "title": "ä¸ä¸ä½ç½®", "field": "nextAddress", type: "text" }, |
| | | { "title": "ç®æ ä½ç½®", "field": "targetAddress", type: "text" }, |
| | | ], |
| | | |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { "title": "ä»»å¡å·", "field": "taskNum", "type": "text" }, |
| | | { "title": "æçå·", "field": "palletCode", "type": "text" }, |
| | | { "title": "æ»æ©å·", "field": "palletCode", "type": "text" }, |
| | | { "title": "ä»»å¡ç±»å", "field": "taskType", "type": "select", dataKey: "TaskType", data: [] }, |
| | | { "title": "ä»»å¡ç¶æ", "field": "taskState", "type": "select", dataKey: "TaskStatus", data: [] }, |
| | | |
| | | ], |
| | | [ |
| | | { "title": "车身类å", "field": "carType", "type": "select", dataKey: "BodyType", data: [] }, |
| | | { "title": "PVI", "field": "PVIç ", "type": "text" }, |
| | | { "title": "èµ·å§ä½ç½®", "field": "sourceAddress", type: "text" }, |
| | | //{ "title": "å½åä½ç½®", "field": "currentAddress", type: "text" }, |
| | | //{ "title": "ä¸ä¸ä½ç½®", "field": "nextAddress", type: "text" }, |
| | | { "title": "ç®æ ä½ç½®", "field": "targetAddress", type: "text" }, |
| | | ], |
| | | [ |
| | | { "title": "å··é", "field": "roadway", type: "text" }, |
| | | //{ "title": "task_CZInfo", "field": "车轴", type: "text" }, |
| | | { "title": "å建人", "field": "creater", type: "text" }, |
| | | { "title": "å建æ¶é´", "field": "createDate", type: "datetime" }, |
| | | ], |
| | | ]); |
| | | const columns = ref([{ field: 'TaskId', title: '主é®', type: 'string', width: 110, hidden: true, readonly: true, require: true, align: 'left' }, |
| | | { field: 'taskNum', title: 'ä»»å¡å·', type: 'int', width: 110, align: 'left', sort: true }, |
| | | { field: 'palletCode', title: 'æ¡ç ', type: 'string', width: 150, align: 'left' }, |
| | | { field: 'palletCode', title: 'æ»æ©å·', type: 'string', width: 90, align: 'left' }, |
| | | { field: 'pvi', title: 'pvi', type: 'int', width: 150, align: 'left',}, |
| | | { field: 'pnboundNo', title: 'åæ®å·', type: 'string', width: 110, align: 'left' ,hidden: true}, |
| | | { field: 'groupID', title: 'åºåID', type: 'int', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'groupDetailId', title: 'ç»çæç»ID', type: 'int', width: 110, hidden: true, align: 'left' }, |
| | | { field: 'roadway', title: 'å··é', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'taskType', title: 'ä»»å¡ç±»å', type: 'int', width: 110, align: 'left', bind: { key: "TaskType", data: [] } }, |
| | | { field: 'taskState', title: 'ä»»å¡ç¶æ', type: 'int', width: 110, align: 'left', bind: { key: "TaskStatus", data: [] } }, |
| | | { field: 'carType', title: '车身类å', type: 'int', width: 90, align: 'left',bind: { key: "BodyType", data: []}}, |
| | | { field: 'sourceAddress', title: 'èµ·å§ä½ç½®', type: 'string', width: 110, align: 'left' }, |
| | | //{ field: 'currentAddress', title: 'å½åä½ç½®', type: 'string', width: 110, align: 'left' }, |
| | | //{ field: 'nextAddress', title: 'ä¸ä¸ä½ç½®', type: 'string', width: 110, align: 'left' }, |
| | |
| | | { field: 'operateType', title: 'æä½ç±»å', type: 'string', width: 110, align: 'left', bind: { key: "OperateType", data: [] }}, |
| | | { field: 'remark', title: '夿³¨', type: 'string', width: 110, align: 'left',hidden: true, }, |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | //{ field: 'modifyDate', title: 'ä¿®æ¹æ¶é´', type: 'datetime', sort: true, width: 150, align: 'left', sort: true }, |
| | | { field: 'creater', title: 'å建人', type: 'string', sort: true, width: 110, align: 'left' }, |
| | | { field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', sort: true, width: 100, align: 'left' }, |
| | | //{ field: 'modifier', title: 'ä¿®æ¹äºº', type: 'string', sort: true, width: 100, align: 'left' }, |
| | | { field: 'locationCode', title: 'è´§ä½å·', type: 'string', width: 110, hidden: true, align: 'left' }, |
| | | //{ field: 'materialNo', title: 'ç©æç¼å·', type: 'string', width: 110, hidden: true, align: 'left' }, |
| | | // { field: 'targetAddress', title: 'ç®æ å°å', type: 'string', width: 110, hidden: true, align: 'left' }, |