| | |
| | | <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> |
| | |
| | | type: "string", |
| | | }, |
| | | ], |
| | | |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | materielCode: "", |
| | |
| | | }, |
| | | { |
| | | field: "stockId", |
| | | title: "åºåä¿¡æ¯ä¸»é®", |
| | | title: "æçå·", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "palletCodes", data: [] }, |
| | | }, |
| | | { |
| | | field: "materielCode", |
| | |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "serialNumber", |
| | | title: "åºåå·", |
| | | type: "int", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "stockQuantity", |
| | | title: "åºåæ°é", |
| | | type: "string", |
| | | width: 200, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "outboundQuantity", |
| | | title: "åºåºæ°é", |
| | | type: "string", |
| | | width: 180, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "status", |
| | | title: "åºåæç»ç¶æ", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "outStockStatus", data: [] }, |
| | | }, |
| | | // { |
| | | // field: "serialNumber", |
| | | // title: "åºåå·", |
| | | // type: "int", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | // { |
| | | // field: "stockQuantity", |
| | | // title: "åºåæ°é", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // }, |
| | | // { |
| | | // field: "outboundQuantity", |
| | | // title: "åºåºæ°é", |
| | | // type: "string", |
| | | // width: 180, |
| | | // align: "left", |
| | | // }, |
| | | // { |
| | | // field: "status", |
| | | // title: "åºåæç»ç¶æ", |
| | | // type: "string", |
| | | // width: 120, |
| | | // align: "left", |
| | | // bind: { key: "stockStatusEmun", data: [] }, |
| | | // }, |
| | | { |
| | | field: "creater", |
| | | title: "å建人", |