|
@@ -26,16 +26,16 @@
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-item label="客户名称">
|
|
|
- <dealerSubareaScopeList ref="custList" id="allocationOrderTotalList-dealerSn" :itemSn="queryParam.dealerSn" @change="custChange"></dealerSubareaScopeList>
|
|
|
+ <a-input id="allocationOrderTotalList-targetName" v-model.trim="queryParam.targetName" allowClear placeholder="请输入客户名称搜索"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<template v-if="advanced">
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-model-item label="客户类型">
|
|
|
<v-select
|
|
|
- v-model="queryParam.dealerType"
|
|
|
- id="allocationOrderTotalList-dealerType"
|
|
|
- code="Flag"
|
|
|
+ v-model="queryParam.targetType"
|
|
|
+ id="allocationOrderTotalList-targetType"
|
|
|
+ code="TARGET_TYPE"
|
|
|
placeholder="请选择客户类型"
|
|
|
allowClear></v-select>
|
|
|
</a-form-model-item>
|
|
@@ -178,8 +178,8 @@ export default {
|
|
|
allocateCategory: undefined, // 调拨类型1
|
|
|
allocateTypeSn: undefined, // 调拨类型2
|
|
|
bizUserSn: undefined, // 客服
|
|
|
- dealerSn: undefined, // 客户名称
|
|
|
- dealerType: undefined// 客户类型
|
|
|
+ targetName: undefined, // 客户名称
|
|
|
+ targetType: undefined// 客户类型
|
|
|
},
|
|
|
allocateTypeList: [], // 调拨类型
|
|
|
allocateTypeVal: [], // 已选费用/调拨类型
|
|
@@ -266,10 +266,6 @@ export default {
|
|
|
handleStock () {
|
|
|
this.$message.info('无盘点区间的起始/终止时间,请自行选择日期区间查询!')
|
|
|
},
|
|
|
- // 客户名称
|
|
|
- custChange (obj) {
|
|
|
- this.queryParam.dealerSn = obj.key
|
|
|
- },
|
|
|
// 调拨开单日期 change
|
|
|
dateChange (date) {
|
|
|
if (date[0] && date[1]) {
|
|
@@ -330,13 +326,12 @@ export default {
|
|
|
this.queryParam.allocateCategory = undefined
|
|
|
this.queryParam.allocateTypeSn = undefined
|
|
|
this.queryParam.bizUserSn = undefined
|
|
|
- this.queryParam.dealerSn = undefined
|
|
|
- this.queryParam.dealerType = undefined
|
|
|
+ this.queryParam.targetName = undefined
|
|
|
+ this.queryParam.targetType = undefined
|
|
|
this.allocateTypeVal = []
|
|
|
this.$refs.ruleForm.resetFields()
|
|
|
this.totalData = null
|
|
|
this.$refs.table.clearTable()
|
|
|
- this.$refs.custList.resetForm()
|
|
|
},
|
|
|
// 调拨类型
|
|
|
getAllocateTypeAllList () {
|