Commit 07354b31 by 李伟康

修复

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