| | |
| | | addControlRule |
| | | }, |
| | | created() { |
| | | this.materialTypeDataList() |
| | | |
| | | const materialTypeOption = this.$options |
| | | this.materialTypeData2 = materialTypeOption.filters['dictData']('abc_class_type') |
| | | }, |
| | |
| | | }).catch(() => { |
| | | |
| | | }) |
| | | // 库存单位 |
| | | // 库存单位 采购单位 |
| | | WmsUnitPage().then((d) => { |
| | | this.selectTypeData1 = d.data.rows || [] |
| | | }).catch(() => { |
| | | |
| | | }) |
| | | |
| | | // 采购单位 |
| | | WmsUnitPage().then((d) => { |
| | | this.selectTypeData2 = d.data.rows || [] |
| | | }).catch(() => { |
| | | |
| | | }) |
| | | |
| | | }, |
| | | callbacktab(e) { |
| | | |
| | |
| | | handleOk() { }, |
| | | // 初始化方法 |
| | | add(record, type) { |
| | | this.materialTypeDataList() |
| | | this.visible = true |
| | | if (record) {//编辑 |
| | | if (type == '详情') { |