jufubao-admin-library 1.1.97-beta2 → 1.1.98
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/library/pageComponents/modules/JfbProductSearch.vue +0 -29
- package/library/pageComponents/modules/JfbProductSku.vue +1 -5
- package/library/viewModules/viewsFinance/schemas/trade.record.js +15 -2
- package/library/viewModules/viewsFinance/viewsFinance/balance/detail_partner.vue +6 -0
- package/library/viewModules/viewsThird/viewsThird/create.vue +1 -20
- package/package.json +1 -1
|
@@ -109,7 +109,6 @@ export default {
|
|
|
109
109
|
},
|
|
110
110
|
cookieKey: '',
|
|
111
111
|
cityData:[],
|
|
112
|
-
marketTagsList:[],
|
|
113
112
|
}
|
|
114
113
|
},
|
|
115
114
|
computed: {
|
|
@@ -163,10 +162,6 @@ export default {
|
|
|
163
162
|
if (this.JfbParent.market_tag) this.JfbParent.market_tag = market_tag
|
|
164
163
|
this.productTypeList = product_type
|
|
165
164
|
this.channelStatus = true
|
|
166
|
-
let tagsOptions = await getOptions({
|
|
167
|
-
server: "product-public", fn: "product", path: "p1", params: { market_tag: 1 },
|
|
168
|
-
})
|
|
169
|
-
this.marketTagsList = tagsOptions.data.market_tag
|
|
170
165
|
this.initSearchForm()
|
|
171
166
|
},
|
|
172
167
|
methods: {
|
|
@@ -223,12 +218,6 @@ export default {
|
|
|
223
218
|
if (this.custom_category_id && this.$xdHelper.checkVarType(this.custom_category_id) === 'array') {
|
|
224
219
|
filters['custom_category_id'] = this.custom_category_id[this.custom_category_id.length - 1]
|
|
225
220
|
}
|
|
226
|
-
if(filters['partner_product_tags_list']&&filters['partner_product_tags_list'].length){
|
|
227
|
-
filters['partner_product_tags'] = {
|
|
228
|
-
includes:filters['partner_product_tags_list']
|
|
229
|
-
}
|
|
230
|
-
delete filters['partner_product_tags_list']
|
|
231
|
-
}
|
|
232
221
|
return { tab: this.channelActiveName, filters: filters }
|
|
233
222
|
},
|
|
234
223
|
|
|
@@ -379,24 +368,6 @@ export default {
|
|
|
379
368
|
placeholder: "请选择品牌",
|
|
380
369
|
multiple: false,
|
|
381
370
|
},
|
|
382
|
-
this.channelParams&&this.channelParams.scene === 'selected'&&{
|
|
383
|
-
label: "营销标签:", //label
|
|
384
|
-
ele: "xd-select-list", //package 名称
|
|
385
|
-
valueKey: "partner_product_tags_list", //form[valueKey]
|
|
386
|
-
value: [], //v-model
|
|
387
|
-
placeholder: "请选择",
|
|
388
|
-
multiple: true, //多选
|
|
389
|
-
list: this.marketTagsList,
|
|
390
|
-
},
|
|
391
|
-
this.pagesType === 'special'&&{
|
|
392
|
-
label: "状态:", //label
|
|
393
|
-
ele: "xd-select-list", //package 名称
|
|
394
|
-
valueKey: "site_product_status", //form[valueKey]
|
|
395
|
-
value: [], //v-model
|
|
396
|
-
placeholder: "请选择",
|
|
397
|
-
multiple: false, //多选
|
|
398
|
-
list: [{label:'已上架',value:'Y'},{label:'已下架',value:'N'}],
|
|
399
|
-
},
|
|
400
371
|
(showSupplierIds && this.channelActiveName !== 'all') && {
|
|
401
372
|
label: "按供应商:", //label
|
|
402
373
|
ele: "xd-select-remote", //package 名称
|
|
@@ -23,10 +23,6 @@
|
|
|
23
23
|
<template slot="volume" slot-scope="inScope">
|
|
24
24
|
{{$xdHelper.divisionFloatNumber(inScope.row.volume, 100)}}m³
|
|
25
25
|
</template>
|
|
26
|
-
<template slot="purchase_price" slot-scope="inScope">
|
|
27
|
-
<div v-if="inScope.row.purchase_price!==-1">货源:<span class="red">{{$xdHelper.divisionFloatNumber(inScope.row.purchase_price, 100)}}</span>元</div>
|
|
28
|
-
<div v-if="inScope.row.dist_price!==-1">平台:<span class="red">{{$xdHelper.divisionFloatNumber(inScope.row.dist_price, 100)}}</span>元</div>
|
|
29
|
-
</template>
|
|
30
26
|
<template slot="jfb_price_ratio" slot-scope="inScope">
|
|
31
27
|
<div v-if="inScope.row.purchase_div_jfb_discount_ratio">货源:<span class="red">{{$xdHelper.divisionFloatNumber(inScope.row.purchase_div_jfb_discount_ratio, 1000)}}</span>折</div>
|
|
32
28
|
<div v-if="inScope.row.dist_div_jfb_discount_ratio">平台:<span class="red">{{$xdHelper.divisionFloatNumber(inScope.row.dist_div_jfb_discount_ratio, 1000)}}</span>折</div>
|
|
@@ -170,7 +166,7 @@
|
|
|
170
166
|
},
|
|
171
167
|
created(){
|
|
172
168
|
if(this.productSkuList && this.productSkuList.length && this.productSkuList.length > 0) {
|
|
173
|
-
this.isShowPurchasePrice =
|
|
169
|
+
this.isShowPurchasePrice = this.productSkuList[0].specs.purchase_price > 0;
|
|
174
170
|
this.isShowJfbPriceRatio = (this.productSkuList[0].specs.purchase_div_jfb_discount_ratio || this.productSkuList[0].specs.dist_div_jfb_discount_ratio)?true:false;
|
|
175
171
|
this.isShowMarketPriceRatio = (this.productSkuList[0].specs.purchase_div_market_discount_ratio || this.productSkuList[0].specs.dist_div_market_discount_ratio)?true:false;
|
|
176
172
|
}
|
|
@@ -148,6 +148,19 @@ module.exports = {
|
|
|
148
148
|
},
|
|
149
149
|
disabled: true,
|
|
150
150
|
"role": "FINANCE-PARTNER.WALLET_LIST_PARTNER_CHANNEL_SUPPLIERS"
|
|
151
|
-
}
|
|
152
|
-
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
title: "加盟商明细-服务费返点结算明细",
|
|
154
|
+
mapFn: "getByCardFeeInfo",
|
|
155
|
+
path: "/finance-partner/v1/trade-record/get-card-service-fee-rule",
|
|
156
|
+
isRule: false,
|
|
157
|
+
params: {
|
|
158
|
+
trade_nnid: ["交易号", "String", "必填"],
|
|
159
|
+
partner_id: ["加盟商ID", "String", "必填"],
|
|
160
|
+
wallet_type: ["钱包类型", "String", "必填"],
|
|
161
|
+
},
|
|
162
|
+
disabled: true,
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
|
|
153
166
|
}
|
|
@@ -152,6 +152,12 @@
|
|
|
152
152
|
</div>
|
|
153
153
|
</div>
|
|
154
154
|
</template>
|
|
155
|
+
<template slot="amount" slot-scope="scope">
|
|
156
|
+
<xd-table-price :price="scope.row.amount" :key="rePriceKey"></xd-table-price>
|
|
157
|
+
<div v-if="isShowDeductDetail(scope.row)" style="display:flex; justify-content: center; align-items: center">
|
|
158
|
+
<el-button type="primary" size="mini" @click="handleShowDetail(scope.row)">查看明细</el-button>
|
|
159
|
+
</div>
|
|
160
|
+
</template>
|
|
155
161
|
</xd-table>
|
|
156
162
|
</div>
|
|
157
163
|
<div class="app-container__list-pagination">
|
|
@@ -323,7 +323,7 @@ export default {
|
|
|
323
323
|
size: "mini", //default/mini/small
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
|
-
label: "
|
|
326
|
+
label: "按号段:", //label
|
|
327
327
|
ele: "xd-radio",
|
|
328
328
|
valueKey: "card_number_type", //form[valueKey]
|
|
329
329
|
value: params.card_number_type || "ALL", //v-model
|
|
@@ -331,25 +331,6 @@ export default {
|
|
|
331
331
|
list: [
|
|
332
332
|
{ label: "全部号段", value: "ALL" },
|
|
333
333
|
{ label: "自定义号段", value: "CUSTOMIZE" },
|
|
334
|
-
{ label: "卡类型", value: "TYPE" },
|
|
335
|
-
],
|
|
336
|
-
rules: [
|
|
337
|
-
{
|
|
338
|
-
required: true,
|
|
339
|
-
message: "请选择",
|
|
340
|
-
trigger: ["blur", "change"],
|
|
341
|
-
},
|
|
342
|
-
],
|
|
343
|
-
},
|
|
344
|
-
params.card_number_type==='TYPE'&&{
|
|
345
|
-
label: "", //label
|
|
346
|
-
ele: "xd-radio",
|
|
347
|
-
valueKey: "card_model", //form[valueKey]
|
|
348
|
-
value: params.card_model || "d", //v-model
|
|
349
|
-
placeholder: "请选择",
|
|
350
|
-
list: [
|
|
351
|
-
{ label: "点卡", value: "d" },
|
|
352
|
-
{ label: "次卡", value: "c" },
|
|
353
334
|
],
|
|
354
335
|
rules: [
|
|
355
336
|
{
|