|
@@ -327,17 +327,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"
|
|
@@ -356,14 +356,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"
|
|
@@ -376,8 +376,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"
|
|
@@ -450,7 +456,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>
|
|
@@ -467,6 +473,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>
|
|
@@ -557,7 +564,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>
|
|
@@ -574,6 +581,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>
|
|
@@ -675,6 +683,7 @@ export default {
|
|
|
saleTypeCode: '',
|
|
|
factorId: '',
|
|
|
specification: '',
|
|
|
+ priceType: '',
|
|
|
specifications: ''
|
|
|
},
|
|
|
|
|
@@ -708,6 +717,12 @@ export default {
|
|
|
widht: 350,
|
|
|
align: 'left'
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'priceType',
|
|
|
+ lable: '价格类型',
|
|
|
+ widht: 200,
|
|
|
+ align: 'left'
|
|
|
+ },
|
|
|
|
|
|
{
|
|
|
prop: 'qty',
|
|
@@ -1057,6 +1072,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
|
|
@@ -1127,6 +1143,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,
|