Commit ab1619d8 authored by 沈翠玲's avatar 沈翠玲

领料申请增加工单号

parent d265b45d
......@@ -83,8 +83,16 @@
arrangeCode(v){
if(v) {
this.queryParams.arrangeCode = v;
this.getList();
}
},
workorderCode (v) {
console.log('workorderCode', v)
if(v) {
this.queryParams.workorderCode = v;
this.getList();
}
}
},
data() {
......@@ -117,7 +125,7 @@
arrangeCode: null,
taskName: null,
workorderId: this.workorderId,
workorderCode: null,
workorderCode: this.workorderCode,
workorderName: null,
workstationId: null,
workstationCode: null,
......
......@@ -180,6 +180,7 @@
listWorkorder(this.queryParams).then(response => {
this.workorderList = response.rows;
this.loading = false;
this.total = response.total
});
},
/** 搜索按钮操作 */
......
......@@ -269,7 +269,7 @@
</el-row>
<BrandSelect ref="brSelect" :arrangeCode="form.arrangeCode" @onSelected="onBrandSelected"></BrandSelect>
<arangeSelect ref="arangeSelect" :arrangeCode="form.arrangeCode" @onSelected="onBrandSelected"></arangeSelect>
<arangeSelect ref="arangeSelect" :arrangeCode="form.arrangeCode" :workorderCode="form.workorderCode" @onSelected="onBrandSelected"></arangeSelect>
<workorderSelect ref="workorderselect" :arrangeCode="form.arrangeCode" @onSelected="onWorkorderSelected"></workorderSelect>
<el-row>
<el-col :span="12">
......@@ -397,7 +397,7 @@ export default {
onWorkorderSelected(row) {
if (row != undefined && row != null) {
this.form.workorderCode = row.workorderCode
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment