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