Commit 48003a23 by 前端

Merge branch 'wangzh_dev_2.3.0' into 'v2.3.0'

适用范围修改

See merge request !137
2 parents d1bdf27a fc5a11b0
......@@ -97,6 +97,16 @@ export default {
url: url,
loading: true,
selectedSum: 0,
scopeApplication: [
{
confId: '1',
confName: '旗下所有店通用'
},
{
confId: '2',
confName: '旗下品牌店通用'
}
],
orderShow: ['service', 'cash', 'discount', 'exchange'],
numToCoupon: {
2: 'discount',
......@@ -139,7 +149,7 @@ export default {
// return (cellValue.anticipatedCost / 100).toFixed(2)
// }
// },
{
{
label: '有效期',
prop: 'effectiveType',
addHtml: 'effectiveType'
......@@ -150,9 +160,15 @@ export default {
addHtml: 'effectiveType'
},
{
label: '使用限制',
prop: 'useType',
addHtml: 'useType'
label: '适用范围',
name: 'scopeApplication',
formatter: cellValue => {
var scopeApplication = '-'
if (cellValue.scopeApplication) {
scopeApplication = this.scopeApplication.find(item => item.confId == cellValue.scopeApplication).confName
}
return scopeApplication
}
},
{
label: '剩余库存',
......@@ -300,7 +316,7 @@ export default {
recoverySelected() {
// 翻页,去掉已选项
var selectedData = this.$refs[this.activeName + 'Ref'].mutiSelectArr.list
console.log(selectedData,'4444444444444444')
console.log(selectedData, '4444444444444444')
var deleteList = []
this.addSelected()
if (selectedData) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!