Commit bcaa2995 authored by tanjunxin's avatar tanjunxin

fix: 退料申请查看详情查询优化

parent ab790b82
......@@ -76,7 +76,7 @@
/>
</template>
</el-table-column>
<!-- <el-table-column label="申请退料数量" align="center" prop="backNum" /> -->
<el-table-column label="申请退料数量" align="center" prop="backNum" />
<el-table-column label="已退料数量" align="center" prop="returnNum" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
<template slot-scope="scope">
......@@ -201,17 +201,14 @@
},
},
watch: {
applyNos:{
handler(newVal, oldVal){
showFlag(newVal, oldVal) {
console.log(newVal, oldVal)
if(newVal) {
this.$nextTick(() =>{
if(this.applyNos !='' && this.applyNos!=null){
this.queryParams.applyNo=this.applyNos;
this.queryParams.applyNo = this.applyNos ? this.applyNos : "";
this.getList();
}
})
},
immediate: true,
deep: true
}
}
},
data() {
......@@ -265,14 +262,16 @@
},
// 表单参数
form: {},
rules: {},
optType: ""
};
},
created() {
this.getList();
},
methods: {
handleSelectionChange() {},
submitForm() {},
// 取消按钮
cancel() {
......
......@@ -17,9 +17,9 @@
<el-input v-model="queryParams.arrangeCodes" placeholder="请输入编排单号" type="textarea" :rows="2"
resize="none" clearable @keyup.enter.native="handleQuery"/>
</el-form-item>
<el-form-item label="材料名称" prop="itemNames">
<el-form-item label="材料名称" prop="itemName">
<el-input
v-model="queryParams.itemNames"
v-model="queryParams.itemName"
placeholder="请输入材料名称"
clearable
@keyup.enter.native="handleQuery"
......@@ -255,7 +255,7 @@ export default {
taskId: null,
itemCode: null,
itemName: null,
itemNames: null,
itemName: null,
createBy: null,
arrangeCodes: null,
createTime: null,
......@@ -276,7 +276,8 @@ export default {
form: {},
// 表单校验
rules: {
}
},
optType: "",
};
},
created() {
......@@ -345,6 +346,7 @@ export default {
showCombDetail(applyNo) {
this.$refs.requestitemsref.showFlag = true;
this.applyNos= applyNo;
// this.$refs.requestitemsref.getList();
},
/** 搜索按钮操作 */
......
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