add:增加单据管理

This commit is contained in:
2025-06-27 13:58:32 +08:00
parent 137688272c
commit f01920b351
23 changed files with 737 additions and 538 deletions

View File

@@ -77,7 +77,7 @@ export default {
name: 'MaterDtl',
components: { rrOperation, pagination, Treeselect },
cruds() {
return CRUD({ title: '物料', url: 'api/Materialbase', crudMethod: { ...crudMaterialbase }, optShow: {}})
return CRUD({ title: '物料', url: 'api/Materia', crudMethod: { ...crudMaterialbase }, optShow: {}})
},
mixins: [presenter(), header()],
dicts: ['product_series'],
@@ -92,7 +92,7 @@ export default {
},
materOptCode: {
type: String,
default: '00'
default: ''
}
},
data() {
@@ -116,14 +116,16 @@ export default {
this.tableRadio = item
},
open() {
const param = {
'materOpt_code': this.materOptCode
}
crudMaterialbase.getMaterOptType(param).then(res => {
this.class_idStr = res.class_idStr
this.crud.query.class_idStr = res.class_idStr
this.crud.toQuery()
})
// const param = {
// 'material_code': this.materOptCode
// }
// crudMaterialbase.getMaterOptType(param).then(res => {
// this.class_idStr = res.class_idStr
// this.crud.query.class_idStr = res.class_idStr
// this.crud.toQuery()
// })
// this.query.search = this.materOptCode
this.crud.toQuery()
},
handleSelectionChange(val, row) {
if (this.isSingle) {