Commit a2db3ce4 authored by 我在何方's avatar 我在何方

收款单搜索

parent ea27c569
......@@ -33,8 +33,8 @@ export default {
},
watch:{
index(val){
this.$emit('input', val !== null ? this.list[val].id: null)
this.$emit('change', val !== null ? this.list[val]: null)
this.$emit('input', (val!==''&&val !== null) ? this.list[val].id: null)
this.$emit('change', (val!==''&&val !== null) ? this.list[val]: null)
},
value(val){
this.init()
......@@ -64,4 +64,4 @@ export default {
}
}
}
</script>
\ No newline at end of file
</script>
......@@ -24,7 +24,8 @@
<el-form-item :label="$t('客户名称')">
<customer-selector
v-model="queryParams.customerId"
@change="consignor = $event"
@change="changeCustomerId"
clearable
/>
</el-form-item>
<el-form-item :label="$t('状态')">
......@@ -321,6 +322,9 @@ export default {
this.loading = false;
});
},
changeCustomerId(e){
this.$set(this.queryParams,'customerId',e.id)
},
verificationClick(row) {
const id = row.id;
return this.$router.push("receiptDetail?id=" + id);
......
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