Commit b21e95a6 by 李伟康

修复

1 parent 7b51862f
......@@ -244,7 +244,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('请导入充值人群'))
......@@ -443,8 +443,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
})
......@@ -625,7 +625,7 @@ export default {
left: 0;
.box {
width: 100%;
height: calc(100% - 46px);
height: calc(100% - 78px);
box-sizing: border-box;
}
.content {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!