Commit 9ba27063 by 前端

Merge branch 'dev_v4.31.0_1031' of http://192.168.3.233:8090/saas_plus/dj-car-li…

…fe-system into dev_v4.31.0_1031
2 parents 669a518a bf81151a
...@@ -92,7 +92,7 @@ const targetMerchantType = { ...@@ -92,7 +92,7 @@ const targetMerchantType = {
1: '平台方', 1: '平台方',
2: '服务商', 2: '服务商',
3: '4s店', 3: '4s店',
4: '子商户' 4: '平台方'
} }
export default { export default {
name: 'MerchantTestDialog', name: 'MerchantTestDialog',
......
...@@ -4,16 +4,9 @@ ...@@ -4,16 +4,9 @@
<p class="edit-sub-title"> <p class="edit-sub-title">
分账金额设置 分账金额设置
</p> </p>
<el-form ref="divisionRuleRef" <el-form ref="divisionRuleRef" :model="form" :rules="rules" label-suffix=":" label-width="180px">
:model="form" <el-form-item label="" label-width="54px">
:rules="rules" <table cellpadding="0" cellspacing="0" class="table-block">
label-suffix=":"
label-width="180px">
<el-form-item label=""
label-width="54px">
<table cellpadding="0"
cellspacing="0"
class="table-block">
<!-- <tr> <!-- <tr>
<th rowspan="2"> <th rowspan="2">
分账方-账户 分账方-账户
...@@ -23,10 +16,9 @@ ...@@ -23,10 +16,9 @@
</th> </th>
</tr> --> </tr> -->
<tr class="tableHeader"> <tr class="tableHeader">
<td>分账对象/分账方</td> <td>分账对象/分账项目</td>
<td>平台方分账金额</td> <td>平台方分账金额</td>
<td v-for="(item,index) in radioList" <td v-for="(item, index) in radioList" :key="index">{{ item.applicationObjectName }}</td>
:key="index">{{ item.applicationObjectName }}</td>
<!-- <td v-if="merchantAccountInfo.partnerSettleAccountModel == 1"> <!-- <td v-if="merchantAccountInfo.partnerSettleAccountModel == 1">
服务商分账金额 服务商分账金额
</td> --> </td> -->
...@@ -47,34 +39,24 @@ ...@@ -47,34 +39,24 @@
<!-- class="one-line-ellipsis" <!-- class="one-line-ellipsis"
style="width: 300px;" --> style="width: 300px;" -->
<!-- 对应的分账对象 --> <!-- 对应的分账对象 -->
<p :title="item|filterMerchantType" <p :title="item | filterMerchantType" v-for="(item, index) in tableSelectOptions" :key="index">
v-for="(item,index) in tableSelectOptions" {{ item | filterMerchantType }}
:key="index">
{{ item|filterMerchantType }}
</p> </p>
</td> </td>
<td class="p-b-20"> <td class="p-b-20">
<el-form-item label-width="0px"> <el-form-item label-width="0px">
<el-radio-group v-model="platformSideLabel"> <el-radio-group v-model="platformSideLabel">
<el-radio v-for="(item, index) in tableSelectOptions" <el-radio v-for="(item, index) in tableSelectOptions" :key="index + 'index'" :disabled="item != 0"
:key="index+'index'"
:disabled="item!=0"
:label="index" /> :label="index" />
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</td> </td>
<td class="p-b-20" <td class="p-b-20" v-for="(item, index) in radioList" :key="index + 'radioList'">
v-for="(item,index) in radioList" <el-form-item label-width="0" :prop="`id${item.id}`"
:key="index+'radioList'">
<el-form-item label-width="0"
:prop="`id${item.id}`"
:rules="[{ required: true, message: `请选择${item.applicationObjectName}`, trigger: 'change' }]"> :rules="[{ required: true, message: `请选择${item.applicationObjectName}`, trigger: 'change' }]">
<el-radio-group v-model="form['id'+item.id]" <el-radio-group v-model="form['id' + item.id]" @change="e => handleClearValid(e, 'id' + item.id)">
@change="e => handleClearValid(e,'id'+item.id)"> <el-radio v-for="(el, index) in tableSelectOptions" :key="index" :label="+(el.merchantId)" />
<el-radio v-for="(el,index) in tableSelectOptions"
:key="index"
:label="+(el.merchantId)" />
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</td> </td>
...@@ -119,7 +101,7 @@ export default { ...@@ -119,7 +101,7 @@ export default {
1: '平台方', 1: '平台方',
2: '服务商', 2: '服务商',
3: '导流方', 3: '导流方',
4: '子商户' 4: '平台方'
} }
const type = val.targetMerchantType const type = val.targetMerchantType
return `${name[type]}: ${val.merchantName}` return `${name[type]}: ${val.merchantName}`
...@@ -282,10 +264,12 @@ export default { ...@@ -282,10 +264,12 @@ export default {
border: 1px solid #e5e6e7; border: 1px solid #e5e6e7;
border-width: 1px 0 0 1px; border-width: 1px 0 0 1px;
} }
.division-rule table tr { .division-rule table tr {
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
} }
.division-rule table th, .division-rule table th,
.division-rule table td { .division-rule table td {
font-size: 12px; font-size: 12px;
...@@ -299,19 +283,23 @@ export default { ...@@ -299,19 +283,23 @@ export default {
/* overflow: hidden; */ /* overflow: hidden; */
/* text-overflow: ellipsis; */ /* text-overflow: ellipsis; */
} }
.division-rule .flex { .division-rule .flex {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
} }
.division-rule .table-block .el-radio { .division-rule .table-block .el-radio {
display: block; display: block;
height: 60px; height: 60px;
line-height: 42px; line-height: 42px;
margin-right: 0; margin-right: 0;
} }
.division-rule .table-block .el-radio__label { .division-rule .table-block .el-radio__label {
display: none !important; display: none !important;
} }
.p-b-20 { .p-b-20 {
padding-bottom: 26px !important; padding-bottom: 26px !important;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!