add:增加单据管理
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user