|
@@ -123,7 +123,7 @@
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12">
|
|
<a-col :span="12">
|
|
<a-form-model-item label="关联客户" prop="customerSn">
|
|
<a-form-model-item label="关联客户" prop="customerSn">
|
|
- <custList ref="custList" :dealerFlag="0" :isEnabled="true" @change="custChange"></custList>
|
|
|
|
|
|
+ <custList ref="custList" :isEnabled="true" @change="custChange"></custList>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :span="12" v-if="form.settleType == 'CREDIT'">
|
|
<a-col :span="12" v-if="form.settleType == 'CREDIT'">
|
|
@@ -142,7 +142,7 @@
|
|
<template slot="label">
|
|
<template slot="label">
|
|
<a-tooltip placement="top">
|
|
<a-tooltip placement="top">
|
|
<template slot="title">
|
|
<template slot="title">
|
|
- 不勾选则不显示价格,结算价:即易码通进货价。
|
|
|
|
|
|
+ 不勾选则不显示价格,结算价:即易码通进货价。
|
|
</template>
|
|
</template>
|
|
价格权限设置<a-icon type="question-circle" style="color: rgba(0,0,0,.65);font-size: 16px;margin-left: 2px;vertical-align: sub;cursor: pointer;" />
|
|
价格权限设置<a-icon type="question-circle" style="color: rgba(0,0,0,.65);font-size: 16px;margin-left: 2px;vertical-align: sub;cursor: pointer;" />
|
|
</a-tooltip>
|
|
</a-tooltip>
|
|
@@ -217,7 +217,7 @@ export default {
|
|
applySn: undefined,
|
|
applySn: undefined,
|
|
auditStatus: 'PASS' // 通过
|
|
auditStatus: 'PASS' // 通过
|
|
},
|
|
},
|
|
- showPrice:['shelf_price_show','non_shelf_price_show'], // 价格显示
|
|
|
|
|
|
+ showPrice: ['shelf_price_show', 'non_shelf_price_show'], // 价格显示
|
|
rules: {
|
|
rules: {
|
|
storeImage: [{ required: true, message: '请上传门头照片', trigger: 'change' }],
|
|
storeImage: [{ required: true, message: '请上传门头照片', trigger: 'change' }],
|
|
storeName: [{ required: true, message: '请输入门店名称', trigger: 'change' }],
|
|
storeName: [{ required: true, message: '请输入门店名称', trigger: 'change' }],
|
|
@@ -306,13 +306,13 @@ export default {
|
|
const shelfSn = res.data.shelfSn
|
|
const shelfSn = res.data.shelfSn
|
|
// 更新价格显示设置
|
|
// 更新价格显示设置
|
|
const priceStr = [
|
|
const priceStr = [
|
|
- {paramCode: 'shelf_price_show',paramValue:0},
|
|
|
|
- {paramCode: 'shelf_cost_show',paramValue:0},
|
|
|
|
- {paramCode: 'non_shelf_price_show',paramValue:0},
|
|
|
|
- {paramCode: 'non_shelf_cost_show',paramValue:0}
|
|
|
|
- ]
|
|
|
|
|
|
+ { paramCode: 'shelf_price_show', paramValue: 0 },
|
|
|
|
+ { paramCode: 'shelf_cost_show', paramValue: 0 },
|
|
|
|
+ { paramCode: 'non_shelf_price_show', paramValue: 0 },
|
|
|
|
+ { paramCode: 'non_shelf_cost_show', paramValue: 0 }
|
|
|
|
+ ]
|
|
priceStr.map(item => {
|
|
priceStr.map(item => {
|
|
- item.paramValue = _this.showPrice.includes(item.paramCode) ? 1 : 0
|
|
|
|
|
|
+ item.paramValue = _this.showPrice.includes(item.paramCode) ? 1 : 0
|
|
})
|
|
})
|
|
// 更新价格显示
|
|
// 更新价格显示
|
|
updateShelfPriceShow({
|
|
updateShelfPriceShow({
|
|
@@ -329,7 +329,6 @@ export default {
|
|
_this.spinning = false
|
|
_this.spinning = false
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
} else {
|
|
} else {
|
|
_this.spinning = false
|
|
_this.spinning = false
|
|
}
|
|
}
|