| | |
| | | devicePlcType: "", |
| | | deviceRemark: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "设å¤ç¼å·", |
| | | required: true, |
| | | field: "deviceCode", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "设å¤åç§°", |
| | | required: true, |
| | | field: "deviceName", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "设å¤ç±»å", |
| | | required: true, |
| | | field: "deviceType", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "设å¤ç¶æ", |
| | | required: true, |
| | | field: "deviceStatus", |
| | | type: "string", |
| | | }, |
| | | ], |
| | | [ |
| | | { title: "设å¤IP", required: true, field: "deviceIp", type: "string" }, |
| | | { |
| | | title: "设å¤ç«¯å£", |
| | | required: true, |
| | | field: "devicePort", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "PLCç±»å", |
| | | required: true, |
| | | field: "devicePlcType", |
| | | type: "string", |
| | | }, |
| | | { |
| | | title: "夿³¨", |
| | | field: "deviceRemark", |
| | | type: "string", |
| | | }, |
| | | ], |
| | | ]); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({ |
| | | orderNo: "", |
| | | batchNo: "", |
| | |
| | | [ |
| | | // { title: "æ¹æ¬¡å·", field: "batchNo" }, |
| | | { |
| | | title: "æ¹æ¬¡å·", |
| | | field: "batchNo", |
| | | title: "æ¹å·", |
| | | field: "orderNo", |
| | | type: "select", |
| | | dataKey: "StockbatchNos", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "åºåæç»ç¶æ", |
| | | field: "status", |
| | | type: "select", |
| | | dataKey: "stockStatusEmun", |
| | | data: [], |
| | | title: "æå·", |
| | | field: "batchNo", |
| | | type: "like", |
| | | }, |
| | | // { |
| | | // title: "åºåæç»ç¶æ", |
| | | // field: "status", |
| | | // type: "select", |
| | | // dataKey: "stockStatusEmun", |
| | | // data: [], |
| | | // }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | }, |
| | | { |
| | | field: "orderNo", |
| | | title: "åæ®ç¼å·", |
| | | title: "æ¹å·", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | | title: "æ¹æ¬¡å·", |
| | | title: "æå·", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |