Commit 07354b31 by 李伟康

修复

1 parent 53d7d2e0
......@@ -280,7 +280,7 @@ export default {
const { detailList } = this.importObject
if (detailList && detailList.length) {
detailList.map(e => {
if (!e.cashBackValue && !e.buyValue) callback(new Error('返现金额和商品兑换积分二者至少需填写一个正整数的数值'))
if (e.cashBackValue < 1 && e.buyValue < 1) callback(new Error('返现金额和商品兑换积分二者至少需填写一个正整数的数值'))
})
callback()
} else callback(new Error('请导入充值人群'))
......@@ -499,8 +499,8 @@ export default {
customerName: e.customerName,
customerPhone: e.customerPhone,
idCardNo: e.idCardNo,
cashBackValue: e.cashBackValue,
buyValue: e.buyValue,
cashBackValue: e.cashBackValue || 0,
buyValue: e.buyValue || 0,
oilList,
couponList
})
......@@ -689,7 +689,7 @@ export default {
left: 0;
.box {
width: 100%;
height: calc(100% - 46px);
height: calc(100% - 78px);
box-sizing: border-box;
}
.content {
......
......@@ -59,6 +59,7 @@ export default {
},
methods: {
handleClose () {
this.checked = false
this.$emit('update:auditObj', {})
},
async handleConfirm () {
......@@ -69,11 +70,11 @@ export default {
try {
const res = await this.$apis.points.auditIntegral({ id })
if (res) {
this.$loading().close()
this.handleClose()
this.$message.success('操作成功')
this.$parent.handleSearch()
}
this.$loading().close()
} catch (error) {
this.$loading().close()
if (error) this.$message.error(error)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!