opt:物料相关页面添加物料分类字段

This commit is contained in:
zds
2025-06-16 17:22:37 +08:00
parent 68da12a72a
commit 4eb0f8b060
5 changed files with 68 additions and 230 deletions

View File

@@ -89,7 +89,7 @@
</el-table>
<!--分页组件-->
<pagination />
<MaterDialog :dialog-show.sync="materShow" @setMaterValue="tableChanged" />
<MaterDialog :dialog-show.sync="materShow" :mater-opt-code="materType" @setMaterValue="tableChanged" />
</div>
</div>
</template>
@@ -142,6 +142,7 @@ export default {
del: ['admin', 'paper:del']
},
materShow: false,
materType: '',
rules: {
standard_weight: [
{ required: true, message: '标准重量不能为空', trigger: 'blur' }
@@ -159,6 +160,7 @@ export default {
},
async queryMater() {
this.materShow = true
this.materType = '7019,4822'
},
print() {
const _selectData = this.$refs.table.selection