fix: 任务、物料、mes对接
This commit is contained in:
@@ -15,15 +15,6 @@
|
||||
label-width="80px"
|
||||
label-suffix=":"
|
||||
>
|
||||
<el-form-item label="物料类别">
|
||||
<treeselect
|
||||
v-model="query.material_type_id"
|
||||
:load-options="loadClass"
|
||||
:options="classes"
|
||||
style="width: 200px;"
|
||||
placeholder="选择物料类别"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="模糊搜索">
|
||||
<el-input
|
||||
v-model="query.search"
|
||||
@@ -131,15 +122,15 @@ export default {
|
||||
return this.dict.label.product_series[row.product_series]
|
||||
},
|
||||
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()
|
||||
this.queryClassId()
|
||||
})
|
||||
// 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()
|
||||
// this.queryClassId()
|
||||
// })
|
||||
},
|
||||
queryClassId() {
|
||||
const param = {
|
||||
|
||||
Reference in New Issue
Block a user