Commit d440baf4 by 张立顺

Merge branch 'develop' into 'dev_v4.33.0_1228'

Develop

See merge request !252
2 parents f449fcb8 10e55ac9
...@@ -4,26 +4,17 @@ ...@@ -4,26 +4,17 @@
<!-- class="order-detail" --> <!-- class="order-detail" -->
<d2-container> <d2-container>
<!-- <div class="offline-account"> --> <!-- <div class="offline-account"> -->
<div class="header" <div class="header" slot="header" style="padding: 10px 20px;">
slot="header" <d2-search ref="showSearch" class="show-search" :search-form="searchForm" :search-select-obj="searchSelectObj"
style="padding: 10px 20px;">
<d2-search ref="showSearch"
class="show-search"
:search-form="searchForm"
:search-select-obj="searchSelectObj"
:form-data="showFormData" /> :form-data="showFormData" />
<div class="up-btns"> <div class="up-btns">
<el-button @click="handleSearch" <el-button @click="handleSearch" size="small" type="primary">
size="small"
type="primary">
查询 查询
</el-button> </el-button>
<el-button size="small" <el-button size="small" @click="handleReset">
@click="handleReset">
重置 重置
</el-button> </el-button>
<el-button size="small" <el-button size="small" @click="handleRecord">
@click="handleRecord">
返回 返回
</el-button> </el-button>
</div> </div>
...@@ -32,45 +23,32 @@ ...@@ -32,45 +23,32 @@
<d2-container> --> <d2-container> -->
<div class="d2-container-content"> <div class="d2-container-content">
<d2-table-header :left-span="13"> <d2-table-header :left-span="13">
<span slot="left" <span slot="left" class="leftSpan">共<span class="count-txt">{{ countObj.totalCount }}</span>条交易记录,总金额<span
class="leftSpan">共<span
class="count-txt">{{ countObj.totalCount }}</span>条交易记录,总金额<span
class="count-txt">{{ countObj.totalAmount }}</span>元,已补录<span class="count-txt">{{ countObj.inputtedCount class="count-txt">{{ countObj.totalAmount }}</span>元,已补录<span class="count-txt">{{ countObj.inputtedCount
}}</span>条,未补录<span class="count-txt">{{ countObj.waitInputCount }}</span>条,未关联<span }}</span>条,未补录<span class="count-txt">{{ countObj.waitInputCount }}</span>条,未关联<span class="count-txt">{{
class="count-txt">{{
countObj.notAssociatedCount }}</span>条,无需补录<span class="count-txt">{{ countObj.needNoSupplementCount countObj.notAssociatedCount }}</span>条,无需补录<span class="count-txt">{{ countObj.needNoSupplementCount
}}</span>条,待确认补录<span class="count-txt">{{ countObj.waitConfirmInputCount }}</span>条。</span> }}</span>条,待确认补录<span class="count-txt">{{ countObj.waitConfirmInputCount }}</span>条。</span>
<!-- <el-button type="primary" @click="batchRecord"> <!-- <el-button type="primary" @click="batchRecord">
批量确认补录 批量确认补录
</el-button> --> </el-button> -->
<el-button type="primary" <el-button type="primary" @click="batchUpdateYqMerchant">
@click="batchUpdateYqMerchant">
<!-- 批量修改所属园区店 --> <!-- 批量修改所属园区店 -->
批量修改所属服务对接 批量修改所属服务对接
</el-button> </el-button>
<el-button type="primary" <el-button type="primary" @click="batchMarkAsNoUse">
@click="batchMarkAsNoUse">
批量标记为无需补录 批量标记为无需补录
</el-button> </el-button>
<el-button type="primary" <el-button type="primary" @click="handleExport">
@click="handleExport">
导出 导出
</el-button> </el-button>
</d2-table-header> </d2-table-header>
<!-- :beforeSearchFn="beforeSearchFn" --> <!-- :beforeSearchFn="beforeSearchFn" -->
<d2-table ref="recordTable" <d2-table ref="recordTable" :get-list-api="getListApi" :search-form="searchFormSearch" :table-params="tableParams"
:get-list-api="getListApi" :before-search-fn="beforeSearchFn" :selectable-fn="selectableFn">
:search-form="searchFormSearch" <template slot="auth-button" slot-scope="scope">
:table-params="tableParams"
:before-search-fn="beforeSearchFn"
:selectable-fn="selectableFn">
<template slot="auth-button"
slot-scope="scope">
<!-- 已分帐无可操作内容 --> <!-- 已分帐无可操作内容 -->
<div v-if="scope.scope.inputStatus !== '6'"> <div v-if="scope.scope.inputStatus !== '6'">
<el-button type="text" <el-button type="text" v-if="scope.scope.inputStatus == '1'" @click="orderDetail(scope.scope)">
v-if="scope.scope.inputStatus == '1'"
@click="orderDetail(scope.scope)">
订单详情 订单详情
</el-button> </el-button>
...@@ -114,24 +92,16 @@ ...@@ -114,24 +92,16 @@
</div> </div>
</d2-container> </d2-container>
<!-- 批量修改所属园区店 --> <!-- 批量修改所属园区店 -->
<update-yqMerchant-dialog :merchant-visible="merchantDialogVisible" <update-yqMerchant-dialog :merchant-visible="merchantDialogVisible" :id-list="ids" v-if="merchantDialogVisible"
:id-list="ids"
v-if="merchantDialogVisible"
@dialogClose="dialogClose" /> @dialogClose="dialogClose" />
<!-- 关联活动订单 --> <!-- 关联活动订单 -->
<relat-activity-order-dialog :relat-activity-visible="relatActivityVisible" <relat-activity-order-dialog :relat-activity-visible="relatActivityVisible" :order-id="orderId"
:order-id="orderId" v-if="relatActivityVisible" @dialogClose="relatDialogClose" />
v-if="relatActivityVisible"
@dialogClose="relatDialogClose" />
<!-- 选择分账规则 --> <!-- 选择分账规则 -->
<choose-rule-dialog :rule-visible="ruleVisible" <choose-rule-dialog :rule-visible="ruleVisible" :record-info="recordInfo" v-if="ruleVisible"
:record-info="recordInfo"
v-if="ruleVisible"
@dialogClose="ruleDialogClose" /> @dialogClose="ruleDialogClose" />
<!-- 选择分账规则 --> <!-- 选择分账规则 -->
<rule-info-dialog :rule-info-visible="ruleInfoVisible" <rule-info-dialog :rule-info-visible="ruleInfoVisible" :record-info="recordInfo" v-if="ruleInfoVisible"
:record-info="recordInfo"
v-if="ruleInfoVisible"
@dialogClose="ruleInfoDialogClose" /> @dialogClose="ruleInfoDialogClose" />
</div> </div>
</template> </template>
...@@ -541,8 +511,8 @@ export default { ...@@ -541,8 +511,8 @@ export default {
getList({ orderCode: row.inputtedOrderCode, sceneType: row.sceneType }).then(res => { getList({ orderCode: row.inputtedOrderCode, sceneType: row.sceneType }).then(res => {
this.$router.push({ this.$router.push({
name: 'orderDetail', name: 'orderDetail',
params: { query: {
detail: res.list[0], detail: JSON.stringify(res.list[0]),
from: 'orderSupplement' from: 'orderSupplement'
} }
}) })
......
...@@ -612,7 +612,8 @@ export default { ...@@ -612,7 +612,8 @@ export default {
}, },
mounted() { mounted() {
this.merchantId = this.merchantRow.ysemRefedFlag == 'Y' ? this.merchantRow.yseMerchantId : this.merchantRow.merchantId // this.merchantRow.ysemRefedFlag == 'Y' ? this.merchantRow.yseMerchantId :
this.merchantId = this.merchantRow.merchantId
// this.merchantId = 44209510 // this.merchantId = 44209510
this.getDetail() this.getDetail()
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!