| | |
| | | |
| | | <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> |
| | |
| | | cnName: "ä»»å¡ä¿¡æ¯", |
| | | name: "task", |
| | | url: "/Task/", |
| | | sortName: "CreateDate", |
| | | sortName: "createDate", |
| | | }); |
| | | const editFormFields = ref({ |
| | | taskNum:"", |
| | |
| | | }, |
| | | { |
| | | field: "palletCode", |
| | | title: "æçç¼å·", |
| | | title: "æ»æ©å·", |
| | | type: "string", |
| | | width: 160, |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | width: 110, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "productionLine", |
| | | title: "产线", |
| | | type: "string", |
| | | width: 70, |
| | | align: "left", |
| | | bind: { key: "ProductionLine", data: [] } |
| | | }, |
| | | // { |
| | | // field: "productionLine", |
| | | // title: "产线", |
| | | // type: "string", |
| | | // width: 70, |
| | | // align: "left", |
| | | // bind: { key: "ProductionLine", data: [] } |
| | | // }, |
| | | { |
| | | field: "exceptionMessage", |
| | | title: "å¼å¸¸ä¿¡æ¯", |
| | | type: "string", |
| | | width: 90, |
| | | width: 150, |
| | | align: "left", |
| | | |
| | | }, |
| | |
| | | field: "grade", |
| | | title: "ä¼å
级", |
| | | type: "int", |
| | | width: 60, |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |