| | |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "åºå主é®", |
| | | readonly:true, |
| | | field: "stockId", |
| | | type: "string", |
| | | }, |
| | | |
| | | { |
| | | title: "ç©æç¼å·", |
| | | required: true, |
| | | field: "materielCode", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "åæ®ç¼å·", |
| | | title: "ç©æåç§°", |
| | | required: true, |
| | | field: "materielName", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "æ¹æ¬¡å·", |
| | | required: true, |
| | | title: "åæ®ç¼å·", |
| | | readonly: true, |
| | | field: "orderNo", |
| | | type: "string", |
| | | }, |
| | | |
| | | ], |
| | | [ |
| | | { |
| | | title: "æ¹æ¬¡å·", |
| | | required: true, |
| | | field: "batchNo", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "åºåæ°é", |
| | | required: true, |
| | | field: "stockQuantity", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "çäº§æ¥æ", |
| | | required: true, |
| | | field: "productionDate", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "æææ", |
| | | required: true, |
| | | field: "effectiveDate", |
| | | type: "string", |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "åºåå·", |
| | | required: true, |
| | | readonly: true, |
| | | field: "serialNumber", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "åºåºæ°é", |
| | | required: true, |
| | | field: "outboundQuantity", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "åºåæç»ç¶æ", |
| | | readonly: true, |
| | | field: "status", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "å
¥åºåæç»è¡å·", |
| | | readonly: true, |
| | | field: "inboundOrderRowNo", |
| | | type: "string", |
| | | }, |
| | | ], |
| | |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "ç©æç¼å·", field: "materielCode" }, |
| | | { title: "ç©æåç§°", field: "materielName" }, |
| | | { title: "åæ®ç¼å·", field: "orderNo" }, |
| | | { title: "ç©æç¼å·", field: "materielCode",type :"like"}, |
| | | { title: "ç©æåç§°", field: "materielName",type :"like"}, |
| | | { title: "åæ®ç¼å·", field: "orderNo",type :"like"}, |
| | | ], |
| | | [ |
| | | { title: "æ¹æ¬¡å·", field: "batchNo",type :"like"}, |
| | | {title: "åºåæç»ç¶æ",field: "status",type: "select",dataKey:"stockStatusEmun", data: []}, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "outStockStatus", data: [] }, |
| | | bind: { key: "stockStatusEmun", data: [] }, |
| | | }, |
| | | { |
| | | field: "productionDate", |
| | | title: "çäº§æ¥æ", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | |
| | | }, |
| | | { |
| | | field: "effectiveDate", |
| | | title: "æææ", |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "creater", |