| | |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend" |
| | | :extend="extend" |
| | | > |
| | | </view-grid> |
| | | </template> |
| | | |
| | | <script> |
| | | import extend from "@/extension/medicine/Dt_MaterielInfo.js"; |
| | | import extend from "@/extension/basic/Dt_MaterielInfo.js"; |
| | | import { ref, defineComponent } from "vue"; |
| | | export default defineComponent({ |
| | | setup() { |
| | |
| | | maxQty: "", |
| | | materielModel: "", |
| | | materielState: "", |
| | | goodStatusState: "", |
| | | // goodStatusState: "", |
| | | remark: "", |
| | | }); |
| | | |
| | |
| | | // type: "string", |
| | | // width: 150, |
| | | // }, |
| | | |
| | | |
| | | ], |
| | | [ |
| | | { |
| | |
| | | width: 100, |
| | | required: true, |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "ç«åºæä½åºåæ°", |
| | | field: "minQty", |
| | | type: "number", |
| | | width: 120, |
| | | width: 90, |
| | | required: true, |
| | | } |
| | | ], |
| | | [ |
| | | { |
| | | title: "ç«åºæä½åºåæ°", |
| | | field: "minQty", |
| | | type: "number", |
| | | width: 200, |
| | | required: true, |
| | | }, |
| | | // { |
| | | { |
| | | title: "ç«åºæé«åºåæ°", |
| | | field: "maxQty", |
| | | type: "number", |
| | | width: 120, |
| | | }, |
| | | ], |
| | | [ |
| | | // title: "ç«åºä¸å¡åºåæ°", |
| | | // field: "business_qty", |
| | | // type: "number", |
| | |
| | | // }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "ç«åºæé«åºåæ°", |
| | | field: "maxQty", |
| | | type: "number", |
| | | width: 120, |
| | | }, |
| | | |
| | | { |
| | | title: "ç©æç¶æ", |
| | | field: "materielState", |
| | |
| | | materielSourceType: "", |
| | | materielState: "", |
| | | goodStatusState: "", |
| | | Dosage_form:'' |
| | | }); |
| | | |
| | | const searchFormOptions = ref([ |
| | |
| | | title: "åå/éç¨å", |
| | | field: "item", |
| | | type: "like", |
| | | }, |
| | | { |
| | | title: "è¯å", |
| | | field: "Dosage_form", |
| | | type: "string", |
| | | width: 200, |
| | | required: true, |
| | | }, |
| | | ], |
| | | [ |
| | |
| | | data: [], |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "ä¸åç¶æ", |
| | | field: "goodStatusState", |
| | | type: "select", |
| | | dataKey: "goodStatusState", |
| | | data: [], |
| | | }, |
| | | ], |
| | | // [ |
| | | // { |
| | | // title: "ä¸åç¶æ", |
| | | // field: "goodStatusState", |
| | | // type: "select", |
| | | // dataKey: "goodStatusState", |
| | | // data: [], |
| | | // }, |
| | | // ], |
| | | ]); |
| | | |
| | | const columns = ref([ |
| | |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "è¯åç±»å", |
| | | field: "dosage_form", |
| | | type: "string", |
| | | width: 200, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "materielModel", |
| | | title: "ç©æåå·", |
| | | type: "string", |