Commit 0d1a3246 by 前端

Merge branch 'v3.2.1' into v3.3.0

2 parents 2445ad21 5a9aabb8
......@@ -406,6 +406,15 @@ export default {
optionsName: 'testSheetTypeList'
},
{
label: '线下订单',
name: 'isOffline',
type: 'select',
optionList: [],
optionId: 'confId',
optionLabel: 'confName',
optionsName: 'isOffSheetTypeList'
},
{
label: '业务场景',
name: 'businessType',
type: 'select',
......@@ -523,7 +532,7 @@ export default {
fn: '退款'
},
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: {
click: row => {
......@@ -706,6 +715,14 @@ export default {
}
},
{
label: '线下订单',
prop: 'isOffline',
width: 120,
formatter: cellValue => {
return cellValue.isOffline == 1 ? '否' : cellValue.isOffline == 0 ? '是' : '-'
}
},
{
label: '商品名称',
prop: '',
width: '120',
......@@ -806,6 +823,10 @@ export default {
{ confId: '0', confName: '否' },
{ confId: '1', confName: '是' }
],
isOffSheetTypeList: [
{ confId: '0', confName: '是' },
{ confId: '1', confName: '否' }
],
businessTypeList: utils.deepClone(businessType)
}
}
......
......@@ -436,7 +436,7 @@ export default {
if (name == 'liveData') {
this.$apis.seckillActivity.liveroomDetailexport({ activityId: this.activityId, currentPage: 1, pageSize: 100000 }).then(result => {
console.log(result)
// downLoadFile(result)
downLoadFile(result)
})
}
},
......
......@@ -944,7 +944,7 @@ export default {
validator: (rule, value, callback) => {
if (!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'
}
......@@ -956,7 +956,7 @@ export default {
if (value < +this.editForm.activityPrice) {
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'
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!