Commit 7b1872c0 by 李伟康

Merge branch 'feature/584/lwk' into 'SAAS+V5.8.4'

Feature/584/lwk

See merge request !897
2 parents dbbd91b6 62180457
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<span>:</span> <span>:</span>
</span> </span>
分账周期 T+ 分账周期 T+
<el-input-number class="input-number" controls-position="right" :min="1" :max="20" v-model="item.settleTime" <el-input-number class="input-number" controls-position="right" :min="0" :max="20" v-model="item.settleTime"
:disabled="item.autoFlag === 'N' || disabled"></el-input-number> :disabled="item.autoFlag === 'N' || disabled"></el-input-number>
<span>日</span> <span>日</span>
<span>(分账后第{{ item.settleTime }}天到分账方对公账户)</span> <span>(分账后第{{ item.settleTime }}天到分账方对公账户)</span>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="split-payment-table"> <div class="split-payment-table">
<el-table :data="tableRows" border style="width: 100%"> <el-table :data="tableRows" border style="width: 100%">
<!-- 业务对象/费用类目列 --> <!-- 业务对象/费用类目列 -->
<el-table-column prop="merchantTypeName" label="业务对象/费用类目" width="180" fixed="left" /> <el-table-column prop="merchantTypeName" label="业务对象/费用类目" width="180" />
<!-- 动态生成的费用列 --> <!-- 动态生成的费用列 -->
<el-table-column v-for="(item, index) in componentData" :key="'col-' + item.expenseCategoryId + '-' + index" <el-table-column v-for="(item, index) in componentData" :key="'col-' + item.expenseCategoryId + '-' + index"
...@@ -35,6 +35,7 @@ export default { ...@@ -35,6 +35,7 @@ export default {
shelfType: Number, shelfType: Number,
currentTrafficParty: Object, currentTrafficParty: Object,
trafficParty: Array, trafficParty: Array,
parentName: String,
}, },
data() { data() {
return { return {
...@@ -49,7 +50,6 @@ export default { ...@@ -49,7 +50,6 @@ export default {
nameMap: { nameMap: {
1: 'signingEntity', 1: 'signingEntity',
2: 'partnerName', 2: 'partnerName',
3: 'parentName',
5: 'serviceMerchant2fName' 5: 'serviceMerchant2fName'
}, },
// expenseCategoryId 枚举映射 // expenseCategoryId 枚举映射
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
tableRows() { tableRows() {
const rows = [], const rows = [],
{ currentTrafficParty, shelfType, nameMap, trafficParty } = this { currentTrafficParty, shelfType, nameMap, trafficParty ,parentName} = this
// 固定的业务对象类型(平台方、服务商、4s店) // 固定的业务对象类型(平台方、服务商、4s店)
const fixedMerchantTypes = [1, 2, 3] const fixedMerchantTypes = [1, 2, 3]
let hasService2 = trafficParty.some(item => item.serviceMerchant2fId) let hasService2 = trafficParty.some(item => item.serviceMerchant2fId)
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
fixedMerchantTypes.forEach(type => { fixedMerchantTypes.forEach(type => {
let merchantTypeName = this.merchantTypeMap[type] || '' let merchantTypeName = this.merchantTypeMap[type] || ''
if (shelfType == 1) { if (shelfType == 1) {
merchantTypeName = `${merchantTypeName}:${currentTrafficParty[nameMap[type]] || ''}` merchantTypeName = `${merchantTypeName}:${type == 3 ? parentName : currentTrafficParty[nameMap[type]] || ''}`
} }
const row = { const row = {
targetMerchantType: type, targetMerchantType: type,
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<template v-if="item.htmlName == 'table'"> <template v-if="item.htmlName == 'table'">
<SplitPaymentTable :data="componentData.productCategoryRules[productCategoryIndex][item.key]" <SplitPaymentTable :data="componentData.productCategoryRules[productCategoryIndex][item.key]"
:isViewMode="isViewMode" :shelfType="shelfType" :currentTrafficParty="currentTrafficParty" :isViewMode="isViewMode" :shelfType="shelfType" :currentTrafficParty="currentTrafficParty"
:trafficParty="trafficParty" @change="change($event, item)"> :trafficParty="trafficParty" @change="change($event, item)" :parentName="componentData.autoDivideConfig.realityShopMerchantName">
</SplitPaymentTable> </SplitPaymentTable>
</template> </template>
</template> </template>
...@@ -432,7 +432,6 @@ export default { ...@@ -432,7 +432,6 @@ export default {
.step-title { .step-title {
gap: 16px; gap: 16px;
margin-bottom: 20px; margin-bottom: 20px;
z-index: 4 !important;
} }
.form-box { .form-box {
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</template> </template>
<template v-else-if="i.type == 'select'"> <template v-else-if="i.type == 'select'">
<el-select v-model="componentData[i.key]" class="select" :placeholder="`请选择${i.label}`" <el-select v-model="componentData[i.key]" class="select" :placeholder="`请选择${i.label}`"
:filterable="i.filterable" @change="selectionChange" @visible-change="visibleChange"> :filterable="i.filterable" @change="selectionChange" >
<el-option v-for="item in options" :key="item.metricCode" :label="item.metricName" <el-option v-for="item in options" :key="item.metricCode" :label="item.metricName"
:value="item.metricCode" :filterable="i.filterable" :disabled="includesList.includes(item.metricCode)" /> :value="item.metricCode" :filterable="i.filterable" :disabled="includesList.includes(item.metricCode)" />
</el-select> </el-select>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!