|
@@ -311,17 +311,17 @@
|
|
|
备注:{{ factor[0].remark }}
|
|
|
</el-row>
|
|
|
<el-row :gutter="20">
|
|
|
- <el-col :xs="24" :sm="8" :lg="11">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="12">
|
|
|
<el-form-item label="规格型号">
|
|
|
<div style="display: flex">
|
|
|
- <el-input v-model="screenForm.specification" placeholder="请输入型号规格型号" />
|
|
|
+ <el-input v-model="screenForm.specification" placeholder="请输入规格型号" />
|
|
|
<el-button style="margin-left: 10px" type="primary" size="mini" @click="handleGetPolicyList"
|
|
|
>查询</el-button
|
|
|
>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="11">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="12">
|
|
|
<el-form-item label="销售政策" class="myselect">
|
|
|
<el-select
|
|
|
v-model="screenForm.policyId"
|
|
@@ -340,14 +340,14 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="8" :lg="11">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="12">
|
|
|
<el-form-item label="规格型号">
|
|
|
<div style="display: flex">
|
|
|
<el-input v-model="screenForm.specifications" placeholder="请输入型号规格型号" />
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :xs="24" :sm="12" :lg="11">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="12">
|
|
|
<el-form-item label="销售类型">
|
|
|
<el-select
|
|
|
v-model="screenForm.saleTypeCode"
|
|
@@ -360,8 +360,14 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
- <el-col :xs="22" :sm="22" :lg="22" class="tr">
|
|
|
+ <el-col :xs="24" :sm="12" :lg="12">
|
|
|
+ <el-form-item label="价格类型">
|
|
|
+ <div style="display: flex">
|
|
|
+ <el-input v-model="screenForm.priceType" placeholder="请输入价格类型" />
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :xs="22" :sm="22" :lg="12" class="tr">
|
|
|
<!-- <el-button
|
|
|
type="primary"
|
|
|
size="small"
|
|
@@ -434,7 +440,7 @@
|
|
|
show-overflow-tooltip
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <template v-if="col.lable == '产品名称' || col.lable == '规格型号'">
|
|
|
+ <template v-if="col.lable == '产品名称' || col.lable == '规格型号' || col.lable == '价格类型'">
|
|
|
<CopyButton :copy-text="scope.row[col.prop]" />
|
|
|
<span> {{ scope.row[col.prop] }}</span>
|
|
|
</template>
|
|
@@ -451,6 +457,7 @@
|
|
|
<el-col />
|
|
|
<el-col />
|
|
|
<el-col />
|
|
|
+ <el-col />
|
|
|
<el-col>{{ totalArr[index].totalQty }}</el-col>
|
|
|
<el-col>{{ totalArr[index].totalPrice | numToFixed }}</el-col>
|
|
|
<el-col>{{ totalArr[index].totalAmount | numToFixed }}</el-col>
|
|
@@ -541,7 +548,7 @@
|
|
|
show-overflow-tooltip
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
- <template v-if="col.lable == '产品名称' || col.lable == '规格型号'">
|
|
|
+ <template v-if="col.lable == '产品名称' || col.lable == '规格型号' || col.lable == '价格类型'">
|
|
|
<CopyButton :copy-text="scope.row[col.prop]" />
|
|
|
<span> {{ scope.row[col.prop] }}</span>
|
|
|
</template>
|
|
@@ -558,6 +565,7 @@
|
|
|
<el-col />
|
|
|
<el-col />
|
|
|
<el-col />
|
|
|
+ <el-col />
|
|
|
<el-col>{{ totalQty }}</el-col>
|
|
|
<el-col>{{ totalPrice | numToFixed }}</el-col>
|
|
|
<el-col>{{ totalAmount | numToFixed }}</el-col>
|
|
@@ -658,6 +666,7 @@ export default {
|
|
|
saleTypeCode: '',
|
|
|
factorId: '',
|
|
|
specification: '',
|
|
|
+ priceType: '',
|
|
|
specifications: ''
|
|
|
},
|
|
|
currentPage: 1,
|
|
@@ -692,6 +701,12 @@ export default {
|
|
|
widht: 350,
|
|
|
align: 'left'
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'priceType',
|
|
|
+ lable: '价格类型',
|
|
|
+ widht: 200,
|
|
|
+ align: 'left'
|
|
|
+ },
|
|
|
|
|
|
{
|
|
|
prop: 'qty',
|
|
@@ -1020,6 +1035,7 @@ export default {
|
|
|
policyConditionId,
|
|
|
popType,
|
|
|
status: true,
|
|
|
+ priceType: this.screenForm.priceType,
|
|
|
specification: this.screenForm.specifications,
|
|
|
saleTypeCode: this.screenForm.saleTypeCode,
|
|
|
customerId: JSON.parse(localStorage.getItem('supply_user')).customerId
|
|
@@ -1090,6 +1106,7 @@ export default {
|
|
|
pageSize: -1,
|
|
|
policyId: this.screenForm.policyId,
|
|
|
saleTypeCode: this.screenForm.saleTypeCode,
|
|
|
+ priceType: this.screenForm.priceType,
|
|
|
specification: this.screenForm.specifications,
|
|
|
status: true,
|
|
|
customerId: JSON.parse(localStorage.getItem('supply_user')).customerId,
|