|
@@ -43,6 +43,18 @@
|
|
|
<customerService ref="customerName" v-model="queryParam.bizUserSn"></customerService>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
+ <a-col :md="6" :sm="24" v-show="isShowCustomerSearch">
|
|
|
+ <a-form-item label="单据类型">
|
|
|
+ <v-select
|
|
|
+ v-model="queryParam.bizType"
|
|
|
+ ref="bizType"
|
|
|
+ id="priceDifferenceDetailList-bizType"
|
|
|
+ code="STOCK_FLOW_BIZ_TYPE"
|
|
|
+ placeholder="请选择单据类型"
|
|
|
+ allowClear></v-select>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+
|
|
|
<a-col :md="isShowCustomerSearch?6:24" :sm="24" style="margin-bottom: 10px;" :style="{textAlign: isShowCustomerSearch?'':'center'}">
|
|
|
<a-button type="primary" @click="handleSearch" :disabled="disabled" id="priceDifferenceDetailList-refresh">查询</a-button>
|
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="priceDifferenceDetailList-reset">重置</a-button>
|
|
@@ -128,7 +140,8 @@ export default {
|
|
|
provinceSn: undefined,
|
|
|
parentDealerSn: undefined,
|
|
|
buyerSn: undefined,
|
|
|
- bizUserSn: undefined
|
|
|
+ bizUserSn: undefined,
|
|
|
+ bizType: undefined // 单据类型
|
|
|
},
|
|
|
rules: {
|
|
|
'month': [{ required: true, message: '请选择月份', trigger: 'change' }],
|
|
@@ -172,7 +185,7 @@ export default {
|
|
|
{ title: '记账门店', dataIndex: 'parentDealerName', width: '10%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '客户名称', dataIndex: 'buyerName', width: '12%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '产品品牌+二级分类', dataIndex: 'productBrandAndType2', width: '15%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
- { title: '类型', dataIndex: 'bizType', width: '10%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
+ { title: '单据类型', dataIndex: 'bizType', width: '10%', align: 'center', customRender: function (text) { return text || '--' } }
|
|
|
]
|
|
|
arr.splice(4, 0, { title: '实售金额', dataIndex: 'totalRealAmount', width: '8%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
|
|
|
arr.splice(5, 0, { title: '开单金额', dataIndex: 'totalAmount', width: '8%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
|
|
@@ -223,6 +236,8 @@ export default {
|
|
|
this.queryParam.parentDealerSn = undefined
|
|
|
this.queryParam.buyerSn = undefined
|
|
|
this.queryParam.bizUserSn = undefined
|
|
|
+ this.queryParam.bizType = undefined
|
|
|
+
|
|
|
this.$refs.rebateDealerList.resetForm()
|
|
|
this.totalData = null
|
|
|
this.$refs.custList.resetForm()
|