| | |
| | | url: "/Task/", |
| | | sortName: "CreateDate", |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const editFormFields = ref({ |
| | | taskNum:"", |
| | | palletCode: "", |
| | | roadway: "", |
| | | taskType:"", |
| | | taskState:"", |
| | | wMSId:"", |
| | | sourceAddress: "", |
| | | targetAddress: "", |
| | | currentAddress: "", |
| | | nextAddress: "", |
| | | creater: "", |
| | | createDate: "", |
| | | grade: "", |
| | | }); |
| | | const editFormOptions = ref([[{ title: "ä¼å
级", field: "grade", type: "int" },]]); |
| | | const searchFormFields = ref({ |
| | | taskNum: "", |
| | | palletCode: "", |
| | |
| | | } |
| | | } |
| | | |
| | | if (childDeviceCode == "1670") |
| | | if (childDeviceCode == "1670"||childDeviceCode=="1666"||childDeviceCode=="1548"||childDeviceCode=="1448") |
| | | { |
| | | Platform platform = _platFormRepository.QueryFirst(x => x.PLCCode == conveyorLine.DeviceCode && x.PlatCode == childDeviceCode && x.Status == "Active"); |
| | | if (platform != null) |
| | |
| | | cnName: "ç»çæç»ä¿¡æ¯", |
| | | table: "DtBoxingInfoDetail", |
| | | columns: [ |
| | | { title: "çµè¯åºåå·", field: "serialNumber", type: "text" }, |
| | | { title: "ç©æç¼å·", field: "materielCode", type: "text" }, |
| | | { title: "çµè¯åºåå·", field: "serialNumber", type: "text"}, |
| | | { title: "ç©æç¼å·", field: "materielCode",type: "text" }, |
| | | { title: "ç©æåç§°", field: "materielName", type: "text" }, |
| | | { title: "åºåç¶æ", field: "status", type: "text" }, |
| | | { title: "ç»çæ°é", field: "stockQuantity", type: "text" }, |
| | |
| | | sortName: "TaskId" |
| | | }); |
| | | const editFormFields = ref({ |
| | | "taskNum": "", |
| | | "palletCode": "" |
| | | "grade": "", |
| | | }); |
| | | 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" }, |
| | | { "title": "ä¼å
级", "field": "grade", type: "text" }, |
| | | ], |
| | | ]); |
| | | const searchFormFields = ref({ |
| | |
| | | var boxing = CreateBoxingInfo(result, input.PalletCode); |
| | | if (boxing == null) return content.Error("ç»ç失败"); |
| | | |
| | | input.ProductionLine = result.ProductionLine; |
| | | return await ProcessBasedOnProcessCode(boxing, area, input, result); |
| | | } |
| | | } |