jufubao-base 1.0.279-beta103 → 1.0.279-beta105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbBaseChoseCompany/JfbBaseChoseCompany.vue +1 -1
- package/src/components/JfbBaseChoseCompany/cusAttr/style.js +1 -1
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +3 -0
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +3 -0
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +17 -7
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +6 -2
package/package.json
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
</view>
|
|
56
56
|
<view :style="[addCoMpStyle]" class="jfb-base-chose-company__body-add"
|
|
57
57
|
>{{ addTitle
|
|
58
|
-
}}<view @click="handleToAdd" style="color:
|
|
58
|
+
}}<view @click="handleToAdd" :style="{color:mainColor}"
|
|
59
59
|
>去添加<XdFontIcon
|
|
60
60
|
size="28"
|
|
61
61
|
icon="iconxiangyou_xian"
|
|
@@ -64,6 +64,7 @@ export default {
|
|
|
64
64
|
list: [],
|
|
65
65
|
amount: "",
|
|
66
66
|
status: false,
|
|
67
|
+
wallet_nnid: null
|
|
67
68
|
};
|
|
68
69
|
},
|
|
69
70
|
watch: {
|
|
@@ -77,10 +78,12 @@ export default {
|
|
|
77
78
|
},
|
|
78
79
|
methods: {
|
|
79
80
|
onJfbLoad(options) {
|
|
81
|
+
this.wallet_nnid = options.wallet_nnid;
|
|
80
82
|
jfbRootExec("getRecordDetail", {
|
|
81
83
|
vm: this,
|
|
82
84
|
data: {
|
|
83
85
|
trade_id: options.trade_id,
|
|
86
|
+
wallet_nnid: this.wallet_nnid
|
|
84
87
|
},
|
|
85
88
|
})
|
|
86
89
|
.then((res) => {
|
|
@@ -66,6 +66,7 @@ export default {
|
|
|
66
66
|
type: "",
|
|
67
67
|
wallet_type: "",
|
|
68
68
|
status: false,
|
|
69
|
+
wallet_nnid: null
|
|
69
70
|
};
|
|
70
71
|
},
|
|
71
72
|
watch: {
|
|
@@ -81,6 +82,7 @@ export default {
|
|
|
81
82
|
async onJfbLoad(options) {
|
|
82
83
|
this.wallet_type = options.wallet_type;
|
|
83
84
|
this.type = options.type;
|
|
85
|
+
this.wallet_nnid = options.wallet_nnid;
|
|
84
86
|
await this.getList();
|
|
85
87
|
this.status = true;
|
|
86
88
|
},
|
|
@@ -98,6 +100,7 @@ export default {
|
|
|
98
100
|
vm: this,
|
|
99
101
|
data: {
|
|
100
102
|
wallet_type: this.wallet_type,
|
|
103
|
+
wallet_nnid: this.wallet_nnid,
|
|
101
104
|
page_size: this.page_size,
|
|
102
105
|
page_token: this.page_token,
|
|
103
106
|
},
|
|
@@ -64,8 +64,9 @@
|
|
|
64
64
|
class="jfb-base-wallet-index__body-type-item"
|
|
65
65
|
@click="handleToWalletDetail(item)"
|
|
66
66
|
>
|
|
67
|
-
<view>{{
|
|
68
|
-
<view
|
|
67
|
+
<view class="jfb-base-wallet-index__body-type-item-name" :style="{ color: mainColor }">{{ item.wallet_name }}</view>
|
|
68
|
+
<view class="jfb-base-wallet-index__body-type-item-amount">{{ dividePrice(item.amount) }}</view>
|
|
69
|
+
<view class="jfb-base-wallet-index__body-type-item-company" v-if="item.customer_name">{{item.customer_name}}</view>
|
|
69
70
|
</view>
|
|
70
71
|
</view>
|
|
71
72
|
</view>
|
|
@@ -275,6 +276,7 @@ export default {
|
|
|
275
276
|
total_amount: 0,
|
|
276
277
|
show_name: "",
|
|
277
278
|
status: false,
|
|
279
|
+
wallet_nnid: null
|
|
278
280
|
};
|
|
279
281
|
},
|
|
280
282
|
watch: {
|
|
@@ -387,6 +389,7 @@ export default {
|
|
|
387
389
|
vm: this,
|
|
388
390
|
data: {
|
|
389
391
|
wallet_type: this.wallet_type,
|
|
392
|
+
wallet_nnid: this.wallet_nnid,
|
|
390
393
|
},
|
|
391
394
|
})
|
|
392
395
|
.then((res) => {
|
|
@@ -462,17 +465,18 @@ export default {
|
|
|
462
465
|
},
|
|
463
466
|
handleToWalletDetail(item) {
|
|
464
467
|
this.$xdUniHelper.navigateTo({
|
|
465
|
-
url: `${this.walletDetailPath}?wallet_type=${item.wallet_type}&type=${this.type}`,
|
|
468
|
+
url: `${this.walletDetailPath}?wallet_type=${item.wallet_type}&type=${this.type}&wallet_nnid=${item.wallet_nnid}`,
|
|
466
469
|
});
|
|
467
470
|
},
|
|
468
471
|
handleToBillDetail(item) {
|
|
469
472
|
this.$xdUniHelper.navigateTo({
|
|
470
|
-
url: `${this.billDetailPath}?trade_id=${item.trade_id}`,
|
|
473
|
+
url: `${this.billDetailPath}?trade_id=${item.trade_id}&wallet_nnid=${item.wallet_nnid}`,
|
|
471
474
|
});
|
|
472
475
|
},
|
|
473
476
|
handleShowQrcode() {
|
|
474
477
|
if (this.typeList.length === 1) {
|
|
475
478
|
this.wallet_type = this.typeList[0].wallet_type;
|
|
479
|
+
this.wallet_nnid = this.typeList[0].wallet_nnid;
|
|
476
480
|
this.getQrcode();
|
|
477
481
|
} else {
|
|
478
482
|
this.showPayType = true;
|
|
@@ -482,8 +486,10 @@ export default {
|
|
|
482
486
|
console.log(flat, item, "alalaalaal");
|
|
483
487
|
if (flat) {
|
|
484
488
|
this.wallet_type = item.wallet_type;
|
|
489
|
+
this.wallet_nnid = item.wallet_nnid;
|
|
485
490
|
} else {
|
|
486
491
|
this.wallet_type = null;
|
|
492
|
+
this.wallet_nnid = null;
|
|
487
493
|
}
|
|
488
494
|
},
|
|
489
495
|
handleUse() {
|
|
@@ -589,12 +595,16 @@ export default {
|
|
|
589
595
|
&-item {
|
|
590
596
|
text-align: center;
|
|
591
597
|
margin-bottom: 20rpx;
|
|
592
|
-
|
|
598
|
+
&-name{
|
|
593
599
|
font-size: 36rpx;
|
|
594
600
|
}
|
|
595
|
-
|
|
601
|
+
&-amount {
|
|
602
|
+
font-size: 36rpx;
|
|
603
|
+
margin: 10rpx 0;
|
|
604
|
+
}
|
|
605
|
+
&-company {
|
|
596
606
|
font-size: 24rpx;
|
|
597
|
-
|
|
607
|
+
color: #999
|
|
598
608
|
}
|
|
599
609
|
}
|
|
600
610
|
}
|
|
@@ -180,6 +180,7 @@ export default {
|
|
|
180
180
|
wallet_type: "",
|
|
181
181
|
walletInfo: {},
|
|
182
182
|
status: false,
|
|
183
|
+
wallet_nnid: null
|
|
183
184
|
};
|
|
184
185
|
},
|
|
185
186
|
watch: {
|
|
@@ -194,6 +195,7 @@ export default {
|
|
|
194
195
|
methods: {
|
|
195
196
|
async onJfbLoad(options) {
|
|
196
197
|
this.type = options.type;
|
|
198
|
+
this.wallet_nnid = options.wallet_nnid;
|
|
197
199
|
this.date = `${new Date().getFullYear()}-${String(
|
|
198
200
|
new Date().getMonth() + 1
|
|
199
201
|
).padStart(2, "0")}`;
|
|
@@ -202,6 +204,7 @@ export default {
|
|
|
202
204
|
vm: this,
|
|
203
205
|
data: {
|
|
204
206
|
wallet_type: this.wallet_type,
|
|
207
|
+
wallet_nnid: this.wallet_nnid,
|
|
205
208
|
},
|
|
206
209
|
})
|
|
207
210
|
.then((res) => {
|
|
@@ -226,6 +229,7 @@ export default {
|
|
|
226
229
|
page_token: this.page_token,
|
|
227
230
|
operate_type: this.operate_type,
|
|
228
231
|
wallet_type: this.wallet_type,
|
|
232
|
+
wallet_nnid: this.wallet_nnid,
|
|
229
233
|
},
|
|
230
234
|
})
|
|
231
235
|
.then((res) => {
|
|
@@ -314,7 +318,7 @@ export default {
|
|
|
314
318
|
},
|
|
315
319
|
handleToBillDetail(item) {
|
|
316
320
|
this.$xdUniHelper.navigateTo({
|
|
317
|
-
url: `${this.billDetailPath}?trade_id=${item.trade_id}`,
|
|
321
|
+
url: `${this.billDetailPath}?trade_id=${item.trade_id}&wallet_nnid=${this.wallet_nnid}`,
|
|
318
322
|
});
|
|
319
323
|
},
|
|
320
324
|
handleConfirm(status) {
|
|
@@ -322,7 +326,7 @@ export default {
|
|
|
322
326
|
},
|
|
323
327
|
handleToEffective(item) {
|
|
324
328
|
this.$xdUniHelper.navigateTo({
|
|
325
|
-
url: `${this.effectivePath}?wallet_type=${this.wallet_type}&type=${this.type}`,
|
|
329
|
+
url: `${this.effectivePath}?wallet_type=${this.wallet_type}&type=${this.type}&wallet_nnid=${this.wallet_nnid}`,
|
|
326
330
|
});
|
|
327
331
|
},
|
|
328
332
|
/**
|