|
@@ -17,7 +17,7 @@
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-item label="客户名称" :label-col="{ span:7 }" :wrapper-col="{ span:17}">
|
|
|
- <custList id="salesManagementList-buyerName" v-model="queryParam.buyerName"></custList>
|
|
|
+ <custList id="salesManagementList-buyerName" ref="custList" @change="custChange"></custList>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="24">
|
|
@@ -204,7 +204,7 @@ export default {
|
|
|
openModal: false, // 选择客户弹框是否显示
|
|
|
// 查询参数
|
|
|
queryParam: {
|
|
|
- buyerName: undefined, // 客户名称
|
|
|
+ buyerSn: undefined, // 客户名称
|
|
|
salesBillNo: '', // 销售单号
|
|
|
printStatus: undefined, // 采购单号
|
|
|
billStatus: undefined, // 业务状态
|
|
@@ -279,6 +279,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ custChange (val) {
|
|
|
+ this.queryParam.buyerSn = val.key
|
|
|
+ },
|
|
|
// 不可选日期
|
|
|
disabledDate (date, dateStrings) {
|
|
|
return date && date.valueOf() > Date.now()
|
|
@@ -355,7 +358,8 @@ export default {
|
|
|
},
|
|
|
// 重置
|
|
|
resetSearchForm () {
|
|
|
- this.queryParam.buyerName = undefined
|
|
|
+ this.queryParam.buyerSn = undefined
|
|
|
+ this.$refs.custList.resetForm()
|
|
|
this.queryParam.salesBillNo = ''
|
|
|
this.queryParam.purchaseBillNo = ''
|
|
|
this.queryParam.payType = undefined
|