|
@@ -3,7 +3,7 @@
|
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
|
<a-page-header :ghost="false" :backIcon="false" class="salesDetail-cont">
|
|
|
<template slot="subTitle">
|
|
|
- <a href="javascript:;" @click="handleBack"><a-icon type="left" /> 返回列表</a>
|
|
|
+ <a href="javascript:;" @click="handleBack" id="waitCostList-back-btn"><a-icon type="left" /> 返回列表</a>
|
|
|
</template>
|
|
|
</a-page-header>
|
|
|
<a-card size="small" :bordered="false" class="pages-wrap">
|
|
@@ -15,12 +15,13 @@
|
|
|
<a-row :gutter="15" type="flex">
|
|
|
<a-col flex="300px">
|
|
|
<a-form-item label="促销名称/简称">
|
|
|
- <a-input v-model.trim="queryParam.promotionDescription" allowClear placeholder="请输入促销名称/简称"/>
|
|
|
+ <a-input id="waitCostList-promotionDescription" v-model.trim="queryParam.promotionDescription" allowClear placeholder="请输入促销名称/简称"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col flex="300px">
|
|
|
<a-form-item label="费用类型">
|
|
|
<v-select
|
|
|
+ id="waitCostList-convertExpenseAccountType"
|
|
|
v-model="queryParam.convertExpenseAccountType"
|
|
|
code="CONVERT_EXPENSE_ACCOUNT_TYPE"
|
|
|
placeholder="请选择费用类型"
|
|
@@ -29,22 +30,22 @@
|
|
|
</a-col>
|
|
|
<a-col flex="300px">
|
|
|
<a-form-item label="客户名称">
|
|
|
- <dealerSubareaScopeList ref="dealerSubareaScopeList" @change="custChange" />
|
|
|
+ <dealerSubareaScopeList id="waitCostList-dealerSubareaScopeList" ref="dealerSubareaScopeList" @change="custChange" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col flex="300px">
|
|
|
<a-form-item label="销售单号">
|
|
|
- <a-input v-model.trim="queryParam.salesBillNo" allowClear placeholder="请输入销售单号"/>
|
|
|
+ <a-input id="waitCostList-salesBillNo" v-model.trim="queryParam.salesBillNo" allowClear placeholder="请输入销售单号"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col flex="300px">
|
|
|
<a-form-item label="规则简称">
|
|
|
- <a-input v-model.trim="queryParam.promotionRuleDescription" allowClear placeholder="请输入规则简称"/>
|
|
|
+ <a-input id="waitCostList-promotionRuleDescription" v-model.trim="queryParam.promotionRuleDescription" allowClear placeholder="请输入规则简称"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col flex="150px">
|
|
|
- <a-button type="primary" :disabled="disabled" @click="searchForm">查询</a-button>
|
|
|
- <a-button style="margin-left: 10px" :disabled="disabled" @click="resetSearchForm()">重置</a-button>
|
|
|
+ <a-button type="primary" id="handel-search" :disabled="disabled" @click="searchForm">查询</a-button>
|
|
|
+ <a-button style="margin-left: 10px" id="handel-reset" :disabled="disabled" @click="resetSearchForm()">重置</a-button>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
</a-form>
|
|
@@ -78,6 +79,7 @@
|
|
|
<div>
|
|
|
<a-button
|
|
|
size="small"
|
|
|
+ :id="'handel-submit-'+record.no"
|
|
|
type="link"
|
|
|
class="button-warning"
|
|
|
@click="handleSave(record)"
|
|
@@ -92,6 +94,7 @@
|
|
|
<a-button
|
|
|
style="width: 100px;"
|
|
|
type="info"
|
|
|
+ id="handel-views"
|
|
|
@click="handleView()"
|
|
|
>
|
|
|
查看已选
|
|
@@ -99,6 +102,7 @@
|
|
|
<a-button
|
|
|
type="primary"
|
|
|
class="button-info"
|
|
|
+ id="handel-submit"
|
|
|
:disabled="spinning"
|
|
|
style="width: 100px;margin: 0 20px;"
|
|
|
@click="handleSave()"
|
|
@@ -107,6 +111,7 @@
|
|
|
</a-button>
|
|
|
<a-button
|
|
|
type="primary"
|
|
|
+ id="handel-mergeSubmit"
|
|
|
:disabled="spinning"
|
|
|
style="width: 100px;"
|
|
|
@click="handleMerge()"
|
|
@@ -231,7 +236,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- // 客户选中
|
|
|
+ // 客户选择
|
|
|
custChange (val) {
|
|
|
this.queryParam.buyerName = val.name || ''
|
|
|
},
|