| | |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'Id', |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: 'åºåä¿¡æ¯', |
| | | name: 'stock/Dt_PalletStockInfo', |
| | | url: "/Dt_PalletStockInfo/", |
| | | sortName: "Id" |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({ |
| | | }); |
| | |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { "title": "æç®±å·/æçå·", "field": "palletCode", type: "text" }, |
| | | { "title": "æ¡ç ", "field": "palletCode", type: "text" }, |
| | | { "title": "åºä½å·", "field": "locationCode", type: "text" }, |
| | | { "title": "åºåç¶æ", "field": "stockStatus", type: "select", dataKey: "CurrentStatue", data: [] }, |
| | | ], |
| | | [ |
| | | { "title": "ç©æå", "field": "materielName", type: "text" }, |
| | | { "title": "åºåº", "field": "areaCode", "type": "select", dataKey: "AreaName", data: [] }, |
| | | ] |
| | | ]); |
| | | const columns = ref([ |
| | | { field: 'Id', title: '主é®ID', type: 'int', width: 110, readonly: true, hidden: true, require: true, align: 'left' }, |
| | | //{ field: 'palletCode', title: 'æç®±å·/æçå·', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'areaCode', title: 'åºåº', type: 'string', width: 110, align: 'left', bind: { key: "AreaType", data: [] } }, |
| | | { field: 'id', title: '主é®ID', type: 'int', width: 110, readonly: true, hidden: true, require: true, align: 'left' }, |
| | | { field: 'palletCode', title: 'æ¡ç ', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'areaCode', title: 'åºåº', type: 'string', width: 110, align: 'left',bind: { key: "AreaName", data: [] }}, |
| | | { field: 'locationCode', title: 'åºä½å·', type: 'string', width: 110, align: 'left' }, |
| | | //{ field: 'SequenceNum', title: 'åºåå·', type: 'string', width: 110, align: 'left', sort: true, link: true, }, |
| | | { field: 'materielName', title: 'ç©æå', type: 'string', width: 110, align: 'left' }, |
| | | { field: 'quantity', title: 'æ°é', type: 'int', width: 110, align: 'left' }, |
| | | { field: 'stockStatus', title: 'åºåç¶æ', type: 'string', width: 110, align: 'left', bind: { key: "CurrentStatue", data: [] } }, |
| | | { field: 'creater', title: 'å建æ¶é´', type: 'string', width: 100, align: 'left' }, |
| | | { field: 'creater', title: 'å建人', type: 'string', width: 100, align: 'left' }, |
| | | { field: 'createDate', title: 'å建æ¶é´', type: 'datetime', sort: true, width: 100, align: 'left' }, |
| | | ]); |
| | | |