更新9.30
This commit is contained in:
parent
976ca57b71
commit
8698bf01a1
@ -307,10 +307,12 @@ public class FleetMemberServiceImpl extends ServiceImpl<FleetMemberMapper, Fleet
|
||||
// }
|
||||
if (fleetMember.getAdjustType().equals("0")) {
|
||||
fleetLinesChange.setRemainingCreditLimit(fleetMember1.getRemainingCreditLimit() + fleetMember.getAdjustLimit());
|
||||
fleetMember.setSecondaryCardLimit(fleetMember1.getRemainingCreditLimit() + fleetMember.getAdjustLimit());
|
||||
fleetMember.setSecondaryCardLimit(fleetMember1.getSecondaryCardLimit() + fleetMember.getAdjustLimit());
|
||||
fleetMember.setRemainingCreditLimit(fleetMember1.getRemainingCreditLimit() + fleetMember.getAdjustLimit());
|
||||
} else {
|
||||
fleetLinesChange.setRemainingCreditLimit(fleetMember1.getRemainingCreditLimit() - fleetMember.getAdjustLimit());
|
||||
fleetMember.setSecondaryCardLimit(fleetMember1.getRemainingCreditLimit() - fleetMember.getAdjustLimit());
|
||||
fleetMember.setSecondaryCardLimit(fleetMember1.getSecondaryCardLimit() - fleetMember.getAdjustLimit());
|
||||
fleetMember.setRemainingCreditLimit(fleetMember1.getRemainingCreditLimit() - fleetMember.getAdjustLimit());
|
||||
}
|
||||
}
|
||||
fleetLinesChange.setCreateBy(nowAccountInfo.getId().toString());
|
||||
|
@ -42,7 +42,7 @@
|
||||
|
||||
<view class="but-sub" @click="submitFrom()">确认</view>
|
||||
|
||||
<u-picker :show="show" :columns="columns" @cancel="cancel" @confirm="confirm"></u-picker>
|
||||
<u-picker :show="show" :columns="columns" keyName="label" @cancel="cancel" @confirm="confirm"></u-picker>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
@ -62,7 +62,13 @@
|
||||
value1: true,
|
||||
show: false,
|
||||
columns: [
|
||||
['增加', '扣除']
|
||||
[{
|
||||
label:'增加',
|
||||
value: 0
|
||||
}, {
|
||||
label:'扣除',
|
||||
value: 1
|
||||
}]
|
||||
],
|
||||
memberInfo: {},
|
||||
memberId: ''
|
||||
@ -92,7 +98,7 @@
|
||||
},
|
||||
methods: {
|
||||
submitFrom() {
|
||||
if (this.memberInfo.adjustType!=''){
|
||||
if (this.memberInfo.adjustType == '') {
|
||||
uni.showToast({
|
||||
title: '请选择调整类型',
|
||||
icon: 'none'
|
||||
@ -153,7 +159,9 @@
|
||||
this.show = false
|
||||
},
|
||||
confirm(e) {
|
||||
this.memberInfo.adjustType = e.indexs[0]
|
||||
// this.memberInfo.adjustType = e.indexs[0]
|
||||
this.memberInfo.adjustType = e.value[0].value
|
||||
console.log("this.memberInfo.adjustType",this.memberInfo.adjustType);
|
||||
console.log(this.memberInfo.adjustType, e.indexs[0], e, 130);
|
||||
this.show = false
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user