| | |
| | | sortName: "id", |
| | | }); |
| | | const editFormFields = ref({ |
| | | deviceCode: "", |
| | | deviceName: "", |
| | | deviceType: "", |
| | | deviceStatus: "", |
| | | deviceIp: "", |
| | | devicePort: "", |
| | | devicePlcType: "", |
| | | deviceRemark: "", |
| | | materielCode: "", |
| | | materielName: "", |
| | | orderNo: "", |
| | | serialNumber: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "ç©æç¼å·", field: "materielCode",type:"like"}, |
| | | { title: "ç©æåç§°", field: "materielName",type:"like" }, |
| | | { title: "ç©æè¯¦æ
", field: "orderNo" ,type:"like"}, |
| | | |
| | | |
| | | { title: "ç©æç¼å·", field: "materielCode",type :"like"}, |
| | | { title: "ç©æåç§°", field: "materielName",type :"like"}, |
| | | { title: "åæ®ç¼å·", field: "orderNo",type :"like"}, |
| | | { title: "å
³èåºåç¼å·", field: "stockId",type :"int"}, |
| | | ], |
| | | [ |
| | | { title: "ç©ææ¹æ¬¡", field: "batchNo",type:"like" }, |
| | | { title: "ç©ææ¹æ¬¡è¯¦æ
", field: "batchNoName",type:"like" }, |
| | | { title: "éé", field: "stockQuantity",type:"like" }, |
| | | { title: "æ¹æ¬¡å·", field: "batchNo",type :"like"}, |
| | | {title: "åºåæç»ç¶æ",field: "status",type: "select",dataKey:"stockStatusEmun", data: []}, |
| | | { title: "ä¾åºåæ¹æ¬¡", field: "supplierBatch",type :"like"}, |
| | | { title: "åå»ºæ¥æ",field: "createDate",type: "datetime"}, |
| | | ], |
| | | [ |
| | | { |
| | | title: "åºåæç»ç¶æ", |
| | | field: "stockQuantity", |
| | | type:"like" |
| | | }, |
| | | { |
| | | field: "stockId", |
| | | title: "åºåä¿¡æ¯ä¸»é®", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | ] |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | |
| | | // sort:true, |
| | | }, |
| | | { |
| | | field: "orderNo", |
| | | title: "ç©æè¯¦æ
", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | // sort:true, |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | | title: "ç©ææ¹æ¬¡", |
| | | type: "string", |
| | |
| | | align: "left", |
| | | // sort:true, |
| | | }, |
| | | // { |
| | | // field: "serialNumber", |
| | | // title: "å
å·", |
| | | // type: "string", |
| | | // width: 50, |
| | | // align: "left", |
| | | // sort:true, |
| | | // }, |
| | | // { |
| | | // field: "batchNoName", |
| | | // title: "ç©ææ¹æ¬¡è¯¦æ
", |
| | | // type: "int", |
| | | // width: 120, |
| | | // align: "left", |
| | | // // sort:true, |
| | | // }, |
| | | { |
| | | field: "orderNo", |
| | | title: "åæ®ç¼å·", |
| | | type: "string", |
| | | width: 180, |
| | | align: "left", |
| | | |
| | | }, |
| | | { |
| | | field: "supplierBatch", |
| | | title: "ä¾åºåæ¹æ¬¡", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "stockQuantity", |
| | | title: "éé", |
| | | title: "ç©ææ°é", |
| | | type: "string", |
| | | width: 80, |
| | | align: "left", |
| | | // sort:true, |
| | | }, |
| | | { |
| | | field: "status", |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | // sort:true, |
| | | bind: { key: "stockStatusEmun", data: [] }, |
| | | }, |
| | | { |