Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b6fda98814
@ -434,7 +434,9 @@ public class FyPayServiceImpl implements FyPayService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!reqMap.get("trans_stat").equals("USERPAYING")) {
|
if (!reqMap.get("trans_stat").equals("USERPAYING")) {
|
||||||
this.insertAllOrderInfo(receiveParameter, payStatus,discountAmount);
|
String payChannel = "cashier";
|
||||||
|
if (ObjectUtil.isNotEmpty(map1.get("payChannel"))) payChannel = map1.get("payChannel");
|
||||||
|
this.insertAllOrderInfo(receiveParameter, payStatus,discountAmount,payChannel);
|
||||||
}
|
}
|
||||||
if (ObjectUtil.isNotEmpty(merchantConfig)) {
|
if (ObjectUtil.isNotEmpty(merchantConfig)) {
|
||||||
|
|
||||||
@ -569,7 +571,7 @@ public class FyPayServiceImpl implements FyPayService {
|
|||||||
/**
|
/**
|
||||||
* 添加所有订单信息
|
* 添加所有订单信息
|
||||||
*/
|
*/
|
||||||
private void insertAllOrderInfo(ReceiveParameter receiveParameter, String payStatus,Double discountAmount) {
|
private void insertAllOrderInfo(ReceiveParameter receiveParameter, String payStatus,Double discountAmount,String payChannel) {
|
||||||
AllOrderInfo allOrderInfo = new AllOrderInfo();
|
AllOrderInfo allOrderInfo = new AllOrderInfo();
|
||||||
allOrderInfo.setOrderNo(receiveParameter.getOrderNo());
|
allOrderInfo.setOrderNo(receiveParameter.getOrderNo());
|
||||||
allOrderInfo.setType(receiveParameter.getType());
|
allOrderInfo.setType(receiveParameter.getType());
|
||||||
@ -578,7 +580,7 @@ public class FyPayServiceImpl implements FyPayService {
|
|||||||
allOrderInfo.setPayMoney(receiveParameter.getGoodsMoney());
|
allOrderInfo.setPayMoney(receiveParameter.getGoodsMoney());
|
||||||
allOrderInfo.setPayType(receiveParameter.getPayType());
|
allOrderInfo.setPayType(receiveParameter.getPayType());
|
||||||
allOrderInfo.setUserId(receiveParameter.getUserId());
|
allOrderInfo.setUserId(receiveParameter.getUserId());
|
||||||
allOrderInfo.setPayChannel("cashier");
|
allOrderInfo.setPayChannel(payChannel);
|
||||||
allOrderInfo.setStatus(payStatus);
|
allOrderInfo.setStatus(payStatus);
|
||||||
allOrderInfo.setDiscountAmount(discountAmount);
|
allOrderInfo.setDiscountAmount(discountAmount);
|
||||||
if (payStatus.equals("paid")) {
|
if (payStatus.equals("paid")) {
|
||||||
@ -749,7 +751,7 @@ public class FyPayServiceImpl implements FyPayService {
|
|||||||
BeanUtils.copyProperties(receiveParameterPos, receiveParameter);
|
BeanUtils.copyProperties(receiveParameterPos, receiveParameter);
|
||||||
Double discountAmount = 0.0;
|
Double discountAmount = 0.0;
|
||||||
if (ObjectUtil.isNotEmpty(oilOrder)) discountAmount = oilOrder.getDiscountAmount();
|
if (ObjectUtil.isNotEmpty(oilOrder)) discountAmount = oilOrder.getDiscountAmount();
|
||||||
this.insertAllOrderInfo(receiveParameter, receiveParameterPos.getPayType(),discountAmount);
|
this.insertAllOrderInfo(receiveParameter, receiveParameterPos.getPayType(),discountAmount,"POS");
|
||||||
if (reqMap.get("trans_stat").equals("SUCCESS")) {
|
if (reqMap.get("trans_stat").equals("SUCCESS")) {
|
||||||
payStatus = "paid";
|
payStatus = "paid";
|
||||||
if (!ObjectUtil.isEmpty(oilOrder)) {
|
if (!ObjectUtil.isEmpty(oilOrder)) {
|
||||||
|
@ -27,6 +27,7 @@ public class CardValueRecordDTO extends CardValueRecord {
|
|||||||
private String appltType;
|
private String appltType;
|
||||||
private String paymentType;
|
private String paymentType;
|
||||||
private String payStatus;
|
private String payStatus;
|
||||||
|
private String payChannel;
|
||||||
private String types;
|
private String types;
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
|
||||||
private Date expireTime;
|
private Date expireTime;
|
||||||
|
@ -434,6 +434,7 @@ public class CardValueRecordServiceImpl extends ServiceImpl<CardValueRecordMappe
|
|||||||
map.put("type","CVR");
|
map.put("type","CVR");
|
||||||
map.put("orderId",cardValueRecordDTO.getId().toString());
|
map.put("orderId",cardValueRecordDTO.getId().toString());
|
||||||
map.put("storeId",nowAccountInfo.getStoreId().toString());
|
map.put("storeId",nowAccountInfo.getStoreId().toString());
|
||||||
|
map.put("payChannel",cardValueRecordDTO.getPayChannel());
|
||||||
|
|
||||||
// 调用支付接口
|
// 调用支付接口
|
||||||
try {
|
try {
|
||||||
|
@ -148,7 +148,9 @@ public class Handover {
|
|||||||
sb.append("<table><tr><td>支付方式</td><td>金额</td></tr>");
|
sb.append("<table><tr><td>支付方式</td><td>金额</td></tr>");
|
||||||
if (ObjectUtil.isNotEmpty(paymentAggregationAll)) {
|
if (ObjectUtil.isNotEmpty(paymentAggregationAll)) {
|
||||||
for (Map<String, Object> stringObjectMap : paymentAggregationAll) {
|
for (Map<String, Object> stringObjectMap : paymentAggregationAll) {
|
||||||
sb.append("<tr><td>"+calculatePaymentMethod(stringObjectMap.get("payType").toString()).toString()+"</td>");
|
|
||||||
|
|
||||||
|
sb.append("<tr><td>"+calculatePaymentMethod(stringObjectMap.get("payType").toString())+"</td>");
|
||||||
sb.append("<td>"+Optional.ofNullable(stringObjectMap.get("paidAmount")).orElse("0").toString()+"</td></tr>");
|
sb.append("<td>"+Optional.ofNullable(stringObjectMap.get("paidAmount")).orElse("0").toString()+"</td></tr>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ public class PrintIntegralReport {
|
|||||||
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
||||||
|
|
||||||
|
|
||||||
sb.append("<center>订单统计\r\n</center>");
|
sb.append("<center>积分兑换\r\n</center>");
|
||||||
|
|
||||||
sb.append("打印时间:"+formattedDateTime +"\r\n");
|
sb.append("打印时间:"+formattedDateTime +"\r\n");
|
||||||
sb.append("店铺名称:"+nowAccountInfo.getStoreName() +"\r\n");
|
sb.append("店铺名称:"+nowAccountInfo.getStoreName() +"\r\n");
|
||||||
@ -30,10 +30,11 @@ public class PrintIntegralReport {
|
|||||||
|
|
||||||
if (ObjectUtil.isNotEmpty(handover.get("shoppingCart"))) {
|
if (ObjectUtil.isNotEmpty(handover.get("shoppingCart"))) {
|
||||||
sb.append("<table><tr><td>商品名称</td><td>商品数量</td><td>价格</td></tr>");
|
sb.append("<table><tr><td>商品名称</td><td>商品数量</td><td>价格</td></tr>");
|
||||||
List<Map<String,String>> o = (List<Map<String,String>>)handover.get("shoppingCart");
|
List<Map<String,Object>> o = (List<Map<String,Object>>)handover.get("shoppingCart");
|
||||||
for (Map<String, String> stringStringMap : o) {
|
for (Map<String, Object> stringStringMap : o) {
|
||||||
sb.append("<tr><td>"+stringStringMap.get("giftName")+"</td>");
|
sb.append("<tr><td>"+stringStringMap.get("giftName")+"</td>");
|
||||||
sb.append("<td>"+((ObjectUtil.isNotEmpty(stringStringMap.get("markPurchases")))?stringStringMap.get("markPurchases").toString():"0"+"</td>"));
|
sb.append("<td>"+((ObjectUtil.isNotEmpty(stringStringMap.get("markPurchases")))?stringStringMap.get("markPurchases").toString():"0")+"</td>");
|
||||||
|
|
||||||
sb.append("<td>"+ stringStringMap.get("price")+"</td></tr>");
|
sb.append("<td>"+ stringStringMap.get("price")+"</td></tr>");
|
||||||
}
|
}
|
||||||
sb.append("</table>");
|
sb.append("</table>");
|
||||||
@ -45,12 +46,10 @@ public class PrintIntegralReport {
|
|||||||
if (ObjectUtil.isNotEmpty(handover.get("allPoints"))) {
|
if (ObjectUtil.isNotEmpty(handover.get("allPoints"))) {
|
||||||
sb.append("总积分:"+handover.get("allPoints")+"\r\n");
|
sb.append("总积分:"+handover.get("allPoints")+"\r\n");
|
||||||
sb.append("--------------------------------\r\n");
|
sb.append("--------------------------------\r\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
if (ObjectUtil.isNotEmpty(handover.get("allAmout"))) {
|
if (ObjectUtil.isNotEmpty(handover.get("allAmout"))) {
|
||||||
sb.append("总价格:¥"+handover.get("allAmout")+"\r\n");
|
sb.append("总价格:¥"+handover.get("allAmout")+"\r\n");
|
||||||
sb.append("--------------------------------\r\n");
|
sb.append("--------------------------------\r\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sb.append("<center>谢谢惠顾,欢迎下次光临!</center>");
|
sb.append("<center>谢谢惠顾,欢迎下次光临!</center>");
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
left join mt_invitation mi on mu.id = mi.userId
|
left join mt_invitation mi on mu.id = mi.userId
|
||||||
</sql>
|
</sql>
|
||||||
<sql id="selectUserAndBalance">
|
<sql id="selectUserAndBalance">
|
||||||
select mu.*,mub.grade_id,mub.card_balance,mub.points,mub.consume_num,mub.growth_value,mub.refuel_money,
|
select mu.*,mub.id balanceId,mub.grade_id,mub.card_balance,mub.points,mub.consume_num,mub.growth_value,mub.refuel_money,
|
||||||
mub.second_card,mub.fixing_level,mub.create_time balCreateTime
|
mub.second_card,mub.fixing_level,mub.create_time balCreateTime
|
||||||
FROM mt_user mu
|
FROM mt_user mu
|
||||||
LEFT JOIN mt_user_balance mub ON mu.id = mub.mt_user_id
|
LEFT JOIN mt_user_balance mub ON mu.id = mub.mt_user_id
|
||||||
|
@ -175,7 +175,7 @@ public class LJUserServiceImpl extends ServiceImpl<LJUserMapper, LJUser> impleme
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public LJUserVo selectUserById(int id,Integer storeId) {
|
public LJUserVo selectUserById(int id,Integer storeId) {
|
||||||
if (storeId==null){
|
if (ObjectUtil.isEmpty(storeId)){
|
||||||
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
||||||
storeId = nowAccountInfo.getStoreId();
|
storeId = nowAccountInfo.getStoreId();
|
||||||
}
|
}
|
||||||
|
@ -195,10 +195,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="bottom-posi">
|
<div class="bottom-posi">
|
||||||
<div class="center-left-wrap">
|
<div class="center-left-wrap">
|
||||||
<div class="wrap-box" value="oilCard"
|
<!-- <div class="wrap-box" value="oilCard"
|
||||||
:class="{ 'wrap-box2': 'oilCard' == payType }" >
|
:class="{ 'wrap-box2': 'oilCard' == payType }" >
|
||||||
<span @click="payMethod('oilCard')">囤油卡</span>
|
<span @click="payMethod('oilCard')">囤油卡</span>
|
||||||
</div>
|
</div>-->
|
||||||
<div class="wrap-box" value="balance"
|
<div class="wrap-box" value="balance"
|
||||||
:class="{ 'wrap-box2': 'balance' == payType }" >
|
:class="{ 'wrap-box2': 'balance' == payType }" >
|
||||||
<span @click="payMethod('balance')">储值卡</span>
|
<span @click="payMethod('balance')">储值卡</span>
|
||||||
@ -218,7 +218,7 @@
|
|||||||
<div class="center-left-bottom">
|
<div class="center-left-bottom">
|
||||||
<div>
|
<div>
|
||||||
<div class="bottom-price">¥{{ ((+oilActualPay) + (+goodsActualPay)).toFixed(2) }}</div>
|
<div class="bottom-price">¥{{ ((+oilActualPay) + (+goodsActualPay)).toFixed(2) }}</div>
|
||||||
<div class="price-red">优惠合计:{{ (oilDiscount + goodsDiscount + fullReduction + couponAmount).toFixed(2) }}元/{{consumeRefuelMoney.toFixed(2)}}L</div>
|
<div class="price-red">优惠合计:{{ (oilDiscount + goodsDiscount + fullReduction + couponAmount).toFixed(2) }}元<!--/{{consumeRefuelMoney.toFixed(2)}}L--></div>
|
||||||
</div>
|
</div>
|
||||||
<el-button class="center-left-lv" :disabled="(oilAmount + goodsAmount)==0" @click="settlement">立即结算</el-button>
|
<el-button class="center-left-lv" :disabled="(oilAmount + goodsAmount)==0" @click="settlement">立即结算</el-button>
|
||||||
</div>
|
</div>
|
||||||
@ -1126,7 +1126,7 @@
|
|||||||
<div v-else-if="payType == 'ALIPAY'">支付宝</div>
|
<div v-else-if="payType == 'ALIPAY'">支付宝</div>
|
||||||
<div v-else-if="payType == 'UNIONPAY'">银联二维码</div>
|
<div v-else-if="payType == 'UNIONPAY'">银联二维码</div>
|
||||||
<div v-else-if="payType == 'credit'">挂账</div>
|
<div v-else-if="payType == 'credit'">挂账</div>
|
||||||
<div v-else-if="payType == 'oilCard'">囤油卡</div>
|
<!-- <div v-else-if="payType == 'oilCard'">囤油卡</div>-->
|
||||||
<div v-else-if="payType == 'balance'">储值卡</div>
|
<div v-else-if="payType == 'balance'">储值卡</div>
|
||||||
<div v-else>小程序码</div>
|
<div v-else>小程序码</div>
|
||||||
</div>
|
</div>
|
||||||
@ -1147,10 +1147,10 @@
|
|||||||
<div>储值卡付款</div>
|
<div>储值卡付款</div>
|
||||||
<div>¥{{ consumeAmount }}</div>
|
<div>¥{{ consumeAmount }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-box" v-if="isMember && consumeRefuelMoney>0">
|
<!-- <div class="input-box" v-if="isMember && consumeRefuelMoney>0">
|
||||||
<div>囤油卡付款</div>
|
<div>囤油卡付款</div>
|
||||||
<div>¥{{ consumeRefuelMoney.toFixed(2) }}</div>
|
<div>¥{{ consumeRefuelMoney.toFixed(2) }}</div>
|
||||||
</div>
|
</div>-->
|
||||||
<div class="input-box">
|
<div class="input-box">
|
||||||
<div>实付款</div>
|
<div>实付款</div>
|
||||||
<div v-if="payType == 'credit'">¥0.00</div>
|
<div v-if="payType == 'credit'">¥0.00</div>
|
||||||
@ -3167,15 +3167,15 @@
|
|||||||
})
|
})
|
||||||
this.goodsActualPay = this.goodsAmount - this.goodsDiscount;
|
this.goodsActualPay = this.goodsAmount - this.goodsDiscount;
|
||||||
},
|
},
|
||||||
getOilCoupon(){
|
async getOilCoupon() {
|
||||||
let type = 0;
|
let type = 0;
|
||||||
// if (this.consumeAmount==0){
|
// if (this.consumeAmount==0){
|
||||||
if (this.consumeRefuelMoney>0){
|
if (this.consumeRefuelMoney > 0) {
|
||||||
type = 1;
|
type = 1;
|
||||||
}else {
|
} else {
|
||||||
if (this.consumeAmount>0){
|
if (this.consumeAmount > 0) {
|
||||||
type = 0;
|
type = 0;
|
||||||
}else {
|
} else {
|
||||||
type = 2;
|
type = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3192,12 +3192,12 @@
|
|||||||
this.paymentActive.mtUserLevel = this.member.gradeId
|
this.paymentActive.mtUserLevel = this.member.gradeId
|
||||||
this.paymentActive.userId = this.member.id
|
this.paymentActive.userId = this.member.id
|
||||||
let _this = this
|
let _this = this
|
||||||
this.oilOrder.forEach(item => {
|
for (const item of this.oilOrder) {
|
||||||
_this.paymentActive.amount = item.amount
|
_this.paymentActive.amount = item.amount
|
||||||
_this.paymentActive.oilId = item.oilName
|
_this.paymentActive.oilId = item.oilName
|
||||||
_this.paymentActive.storeId = item.storeId
|
_this.paymentActive.storeId = item.storeId
|
||||||
|
|
||||||
getPaymentActive(_this.paymentActive).then(async res => {
|
await getPaymentActive(_this.paymentActive).then(async res => {
|
||||||
item.activeId = res.data.activeId
|
item.activeId = res.data.activeId
|
||||||
item.type = res.data.type
|
item.type = res.data.type
|
||||||
let discount = { type: "", discount: 0, oilName: item.oilName, gunName: item.gunName }
|
let discount = { type: "", discount: 0, oilName: item.oilName, gunName: item.gunName }
|
||||||
@ -3236,7 +3236,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
console.log(_this.oilDiscount, 111)
|
console.log(_this.oilDiscount, _this.couponAmount, _this.fullReduction, 3239)
|
||||||
this.countAmountFull()
|
this.countAmountFull()
|
||||||
if (this.isOilStorageCard) {
|
if (this.isOilStorageCard) {
|
||||||
await this.countAmountFull()
|
await this.countAmountFull()
|
||||||
@ -3248,7 +3248,7 @@
|
|||||||
await this.countAmountFull()
|
await this.countAmountFull()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
}
|
||||||
},
|
},
|
||||||
// 调用优惠券接口
|
// 调用优惠券接口
|
||||||
getCoupon(){
|
getCoupon(){
|
||||||
@ -3877,6 +3877,7 @@
|
|||||||
},
|
},
|
||||||
// 囤油卡变化后总金额的变化
|
// 囤油卡变化后总金额的变化
|
||||||
changeRefuelMoney(){
|
changeRefuelMoney(){
|
||||||
|
this.isOilStorageCard = false
|
||||||
getRecord({mtUserId:this.member.id}).then(res => {
|
getRecord({mtUserId:this.member.id}).then(res => {
|
||||||
this.oilCardAmount = 0
|
this.oilCardAmount = 0
|
||||||
let oilAmount = 0
|
let oilAmount = 0
|
||||||
@ -3889,7 +3890,7 @@
|
|||||||
if (item.oilName==i.oilType){
|
if (item.oilName==i.oilType){
|
||||||
item.lockupPrice = i.lockupPrice
|
item.lockupPrice = i.lockupPrice
|
||||||
amount = item.lockupPrice * item.liters
|
amount = item.lockupPrice * item.liters
|
||||||
this.isOilStorageCard = true
|
if (amount>0) this.isOilStorageCard = true
|
||||||
flag = false
|
flag = false
|
||||||
}else {
|
}else {
|
||||||
flag = true
|
flag = true
|
||||||
@ -3899,6 +3900,7 @@
|
|||||||
if (flag) amount = item.amount
|
if (flag) amount = item.amount
|
||||||
oilAmount += amount
|
oilAmount += amount
|
||||||
})
|
})
|
||||||
|
console.log("3903", this.isOilStorageCard)
|
||||||
if (oilAmount>0) this.oilCardAmount = this.oilAmount - oilAmount
|
if (oilAmount>0) this.oilCardAmount = this.oilAmount - oilAmount
|
||||||
this.countAmountFull()
|
this.countAmountFull()
|
||||||
})
|
})
|
||||||
|
@ -127,11 +127,11 @@
|
|||||||
listindex: 0,
|
listindex: 0,
|
||||||
memberId: 0,
|
memberId: 0,
|
||||||
numList: [
|
numList: [
|
||||||
"50元",
|
// "50元",
|
||||||
"100元",
|
// "100元",
|
||||||
"300元",
|
// "300元",
|
||||||
"500元",
|
// "500元",
|
||||||
"1000元",
|
// "1000元",
|
||||||
"自定义金额",
|
"自定义金额",
|
||||||
],
|
],
|
||||||
isChooseUser: false,
|
isChooseUser: false,
|
||||||
@ -173,6 +173,29 @@
|
|||||||
methods: {
|
methods: {
|
||||||
// 自定义金额
|
// 自定义金额
|
||||||
custom() {
|
custom() {
|
||||||
|
|
||||||
|
|
||||||
|
if (this.numList.length > 0) {
|
||||||
|
// const changeList = this.cardValueList
|
||||||
|
this.numList.forEach(change => {
|
||||||
|
if (data >= change.rechargeBalance) {
|
||||||
|
this.order.points = change.points
|
||||||
|
this.order.bidBalance = change.bidBalance
|
||||||
|
this.order.giftBalance = change.giftBalance
|
||||||
|
this.order.growthValue = change.growthValue
|
||||||
|
this.order.rechargeBalance = change.rechargeBalance
|
||||||
|
|
||||||
|
this.order.royaltyType = change.royaltyType
|
||||||
|
this.order.percentageCommissions = change.percentageCommissions
|
||||||
|
this.order.amountCommission = change.amountCommission
|
||||||
|
this.order.cardValueId = change.id
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
this.order.rechargType = 1
|
||||||
|
|
||||||
console.log(this.value);
|
console.log(this.value);
|
||||||
this.order.amount = this.value
|
this.order.amount = this.value
|
||||||
this.realyPayBills = this.order.amount
|
this.realyPayBills = this.order.amount
|
||||||
@ -189,11 +212,25 @@
|
|||||||
}
|
}
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.numList = res.data.records
|
this.numList = res.data.records
|
||||||
|
this.numList.sort((a, b) => a.rechargeBalance - b.rechargeBalance);
|
||||||
|
|
||||||
this.order.amount = this.numList[0].rechargeBalance
|
this.order.amount = this.numList[0].rechargeBalance
|
||||||
this.order.rechargeBalance = this.numList[0].rechargeBalance
|
this.order.rechargeBalance = this.numList[0].rechargeBalance
|
||||||
this.order.points = this.numList[0].points
|
this.order.points = this.numList[0].points
|
||||||
this.realyPayBills = this.numList[0].rechargeBalance
|
this.realyPayBills = this.numList[0].rechargeBalance
|
||||||
|
|
||||||
|
|
||||||
|
this.order.bidBalance = this.numList[0].bidBalance
|
||||||
|
this.order.points = this.numList[0].points
|
||||||
|
this.order.giftBalance = this.numList[0].giftBalance
|
||||||
|
this.order.growthValue = this.numList[0].growthValue
|
||||||
|
this.order.cardValueId = this.numList[0].id
|
||||||
|
// this.order.amount = null
|
||||||
|
this.order.royaltyType = this.numList[0].royaltyType
|
||||||
|
this.order.rechargType = 0
|
||||||
|
this.order.percentageCommissions = this.numList[0].percentageCommissions
|
||||||
|
this.order.amountCommission = this.numList[0].amountCommission
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getmemberId(num, payType) {
|
getmemberId(num, payType) {
|
||||||
@ -216,12 +253,24 @@
|
|||||||
},
|
},
|
||||||
getindex(index, data) {
|
getindex(index, data) {
|
||||||
this.listindex = index
|
this.listindex = index
|
||||||
|
this.order.rechargType = 0
|
||||||
if (data) {
|
if (data) {
|
||||||
this.order.amount = data.rechargeBalance
|
this.order.amount = data.rechargeBalance
|
||||||
this.order.rechargeBalance = data.rechargeBalance
|
this.order.rechargeBalance = data.rechargeBalance
|
||||||
this.order.points = data.points
|
this.order.points = data.points
|
||||||
this.realyPayBills = data.rechargeBalance
|
this.realyPayBills = data.rechargeBalance
|
||||||
this.order.rechargeBalance = data.rechargeBalance
|
|
||||||
|
this.order.bidBalance = file.bidBalance
|
||||||
|
this.order.points = file.points
|
||||||
|
this.order.giftBalance = file.giftBalance
|
||||||
|
this.order.growthValue = file.growthValue
|
||||||
|
this.order.cardValueId = file.id
|
||||||
|
// this.order.amount = null
|
||||||
|
this.order.royaltyType = file.royaltyType
|
||||||
|
this.order.percentageCommissions = file.percentageCommissions
|
||||||
|
this.order.amountCommission = file.amountCommission
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.order.amount = this.value
|
this.order.amount = this.value
|
||||||
this.realyPayBills = this.value
|
this.realyPayBills = this.value
|
||||||
@ -273,9 +322,15 @@
|
|||||||
this.order.authCode = this.authCode
|
this.order.authCode = this.authCode
|
||||||
this.order.realyPayBills = this.realyPayBills
|
this.order.realyPayBills = this.realyPayBills
|
||||||
this.order.actualPayment = actualPayment
|
this.order.actualPayment = actualPayment
|
||||||
|
// cardValueId
|
||||||
|
|
||||||
|
// growthValue
|
||||||
|
// rechargeType
|
||||||
|
// royaltyType
|
||||||
|
this.order.makeChange = 0
|
||||||
|
// url: 'business/marketingActivi ty/cardFuelRecord/prepaidFuelTopUp',
|
||||||
request({
|
request({
|
||||||
url: 'business/marketingActivity/cardFuelRecord/prepaidFuelTopUp',
|
url: 'business/marketingActivity/cardValueRecord/prepaidCardTopUp',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: this.order
|
data: this.order
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user