Commit 0d1a3246 by 前端

Merge branch 'v3.2.1' into v3.3.0

2 parents 2445ad21 5a9aabb8
...@@ -406,6 +406,15 @@ export default { ...@@ -406,6 +406,15 @@ export default {
optionsName: 'testSheetTypeList' optionsName: 'testSheetTypeList'
}, },
{ {
label: '线下订单',
name: 'isOffline',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confName',
optionsName: 'isOffSheetTypeList'
},
{
label: '业务场景', label: '业务场景',
name: 'businessType', name: 'businessType',
type: 'select', type: 'select',
...@@ -523,7 +532,7 @@ export default { ...@@ -523,7 +532,7 @@ export default {
fn: '退款' fn: '退款'
}, },
condition: row => { condition: row => {
return row.orderSource == 4 && [2, 6, 21].includes(+row.orderStatus) return row.orderSource == 4 && [2, 6, 21].includes(+row.orderStatus)&&row.isOffline!=0
}, },
listeners: { listeners: {
click: row => { click: row => {
...@@ -706,6 +715,14 @@ export default { ...@@ -706,6 +715,14 @@ export default {
} }
}, },
{ {
label: '线下订单',
prop: 'isOffline',
width: 120,
formatter: cellValue => {
return cellValue.isOffline == 1 ? '否' : cellValue.isOffline == 0 ? '是' : '-'
}
},
{
label: '商品名称', label: '商品名称',
prop: '', prop: '',
width: '120', width: '120',
...@@ -806,6 +823,10 @@ export default { ...@@ -806,6 +823,10 @@ export default {
{ confId: '0', confName: '否' }, { confId: '0', confName: '否' },
{ confId: '1', confName: '是' } { confId: '1', confName: '是' }
], ],
isOffSheetTypeList: [
{ confId: '0', confName: '是' },
{ confId: '1', confName: '否' }
],
businessTypeList: utils.deepClone(businessType) businessTypeList: utils.deepClone(businessType)
} }
} }
......
...@@ -436,7 +436,7 @@ export default { ...@@ -436,7 +436,7 @@ export default {
if (name == 'liveData') { if (name == 'liveData') {
this.$apis.seckillActivity.liveroomDetailexport({ activityId: this.activityId, currentPage: 1, pageSize: 100000 }).then(result => { this.$apis.seckillActivity.liveroomDetailexport({ activityId: this.activityId, currentPage: 1, pageSize: 100000 }).then(result => {
console.log(result) console.log(result)
// downLoadFile(result) downLoadFile(result)
}) })
} }
}, },
......
...@@ -944,7 +944,7 @@ export default { ...@@ -944,7 +944,7 @@ export default {
validator: (rule, value, callback) => { validator: (rule, value, callback) => {
if (!this.editForm.crowdFundingPrice) return callback(new Error('请先填写众筹价')) if (!this.editForm.crowdFundingPrice) return callback(new Error('请先填写众筹价'))
if (value > Number(this.editForm.crowdFundingPrice)) return callback(new Error('定金不能大于众筹价格')) if (value > Number(this.editForm.crowdFundingPrice)) return callback(new Error('定金不能大于众筹价格'))
return value > +(this.selectedProInfo.retailPrice / 100).toFixed(2) ? callback(new Error('秒杀价必须小于零售价')) : callback() return value > +(this.selectedProInfo.retailPrice / 100).toFixed(2) ? callback(new Error('定金必须小于等于零售价')) : callback()
}, },
trigger: 'change' trigger: 'change'
} }
...@@ -956,7 +956,7 @@ export default { ...@@ -956,7 +956,7 @@ export default {
if (value < +this.editForm.activityPrice) { if (value < +this.editForm.activityPrice) {
return callback(new Error('众筹价需要大于定金')) return callback(new Error('众筹价需要大于定金'))
} }
return value >= +(this.selectedProInfo.retailPrice / 100).toFixed(2) ? callback(new Error('秒杀价必须小于零售价')) : callback() return value > +(this.selectedProInfo.retailPrice / 100).toFixed(2) ? callback(new Error('众筹价必须小于等于零售价')) : callback()
}, },
trigger: 'change' trigger: 'change'
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!