Commit 2fc4ee9a by zhangxw

v4.15.8 紧急需求开发

1 parent 63c089f6
......@@ -271,6 +271,10 @@ export const orderTypeList = [
{
confId: "5",
confLabel: "未收款"
},
{
confId: "-1",
confLabel: "无"
}
]
......
......@@ -122,7 +122,7 @@
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="导流方"
<el-table-column label="流量方"
align="center">
<el-table-column label="名称"
prop="shopMerchantName"
......
......@@ -38,7 +38,11 @@
<el-table-column label="主订单编号"
prop="orderCode"
align="center"
width="150px" />
width="150px" >
<template slot-scope="scope">
<span>{{ scope.row.orderCode || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="交易参考号"
prop="tradeNo"
align="center"
......@@ -126,12 +130,16 @@
</template>
</el-table-column>
</el-table-column> -->
<el-table-column label="导流方"
<el-table-column label="流量方"
align="center">
<el-table-column label="名称"
prop="shopMerchantName"
align="center"
width="100px" />
width="100px">
<template slot-scope="scope">
<span>{{ scope.row.shopMerchantName || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="实际分账金额"
prop="shopDivisionMoney"
width="110px"
......@@ -162,8 +170,9 @@
<el-table-column label="订单类型"
prop="orderType"
align="center">
<!-- goodsOrder.orderType 为null表示空 -->
<span
slot-scope="scope">{{ scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId === scope.row.goodsOrder.orderType).confLabel : '-' }}</span>
slot-scope="scope">{{ scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId === (!scope.row.goodsOrder.orderType ? -1 : scope.row.goodsOrder.orderType)).confLabel : '-' }}</span>
</el-table-column>
</el-table>
<el-pagination background
......@@ -202,7 +211,8 @@ export default {
successDate: '',
divisionStatus: '',
yqMerchantId: '',
realityPlatformMerchantId: ''
realityPlatformMerchantId: '',
orderType: ''
},
searchSelectObj: {
orderOrTrade: {
......
......@@ -68,36 +68,39 @@
:selectable-fn="selectableFn">
<template slot="auth-button"
slot-scope="scope">
<el-button type="text"
v-if="scope.scope.inputStatus == '1'"
@click="orderDetail(scope.scope)">
订单详情
</el-button>
<el-button type="text"
v-if="scope.scope.inputStatus == '0'"
@click="relatActivityOrder(scope.scope)">
关联活动订单
</el-button>
<el-button type="text"
v-if="scope.scope.inputStatus == '4'"
@click="record(scope.scope)">
确认补录
</el-button>
<el-button type="text"
v-if="scope.scope.inputStatus == '4'"
@click="cancelRelat(scope.scope)">
取消关联
</el-button>
<el-button type="text"
v-if="scope.scope.inputStatus == '5'"
@click="chooseRule(scope.scope)">
发起分账
</el-button>
<el-button type="text"
v-if="scope.scope.manualFlag == '1'"
@click="ruleHistory(scope.scope)">
分账记录
</el-button>
<!-- 已分帐无可操作内容 -->
<div v-if="scope.scope.inputStatus !== '6'">
<el-button type="text"
v-if="scope.scope.inputStatus == '1'"
@click="orderDetail(scope.scope)">
订单详情
</el-button>
<el-button type="text"
v-if="scope.scope.inputStatus == '0'"
@click="relatActivityOrder(scope.scope)">
关联活动订单
</el-button>
<el-button type="text"
v-if="scope.scope.inputStatus == '4'"
@click="record(scope.scope)">
确认补录
</el-button>
<el-button type="text"
v-if="scope.scope.inputStatus == '4'"
@click="cancelRelat(scope.scope)">
取消关联
</el-button>
<el-button type="text"
v-if="scope.scope.inputStatus == '5'"
@click="chooseRule(scope.scope)">
发起分账
</el-button>
<el-button type="text"
v-if="scope.scope.manualFlag == '1'"
@click="ruleHistory(scope.scope)">
分账记录
</el-button>
</div>
</template>
</d2-table>
</div>
......@@ -334,6 +337,10 @@ export default {
{
confId: '5',
confLabel: '未分账'
},
{
confId: '6',
confLabel: '已分帐'
}
],
payTypeList: clonePayTypeList
......@@ -491,7 +498,7 @@ export default {
selectableFn(row, index) {
var isSelect = true
if (row.inputStatus == '1') { // 已补录流水不可勾选
if (row.inputStatus == '1' || row.inputStatus == '6') { // 已补录流水/已分帐不可勾选
isSelect = false
}
return isSelect
......
......@@ -58,7 +58,8 @@
<span v-show="financialObj.settleTimeType == 1">(分账后第2天到分账方对公账户)</span>
</el-radio>
</div>
<div class="block_item">
<!-- v4.15.8紧急需求隐藏固定日期分账 -->
<!-- <div class="block_item">
<el-radio :label="2">
固定日期分账:每月
<el-input-number v-model="settleTimeObj.second"
......@@ -71,8 +72,8 @@
<span
v-show="financialObj.settleTimeType == 2">(上个月整月的分账金额于次月{{ +financialObj.settleTime + 1 }}日分账到分账方对公账户)</span>
</el-radio>
</div>
</el-radio-group>
</div> -->
</el-radio-group>
</el-form-item>
<el-form-item label="平台方分账方"
prop="realityPlatformMerchantId"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!