| | |
| | | |
| | | <template> |
| | | <view-grid |
| | | ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend" |
| | | > |
| | | <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" |
| | | :table="table" :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | | <script> |
| | | import extend from "@/extension/taskinfo/task.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | |
| | | sortName: "CreateDate", |
| | | }); |
| | | const editFormFields = ref({ |
| | | taskNum:"", |
| | | taskNum: "", |
| | | palletCode: "", |
| | | roadway: "", |
| | | taskType:"", |
| | | taskState:"", |
| | | wMSId:"", |
| | | taskType: "", |
| | | taskState: "", |
| | | wMSId: "", |
| | | sourceAddress: "", |
| | | targetAddress: "", |
| | | currentAddress: "", |
| | |
| | | creater: "", |
| | | createDate: "", |
| | | grade: "", |
| | | productionLine:"" |
| | | productionLine: "" |
| | | }); |
| | | const editFormOptions = ref([[{ title: "ä¼å
级", field: "grade", type: "int" },]]); |
| | | const searchFormFields = ref({ |
| | |
| | | field: "targetAddress", |
| | | title: "ç®æ å°å", |
| | | type: "string", |
| | | width: 120, |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | |
| | | |
| | | }, |
| | | { |
| | | field: "grade", |
| | |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | |
| | | |
| | | { |
| | | field: "createDate", |
| | | title: "å建æ¶é´", |
| | |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | |
| | | |
| | | { |
| | | field: "modifyDate", |
| | | title: "ä¿®æ¹æ¶é´", |