1、订单和用户相关模块开发联调
This commit is contained in:
parent
f40a0310c7
commit
2bf1d34559
@ -220,7 +220,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [
|
||||
path: '/aftersale',
|
||||
component: Layout,
|
||||
hidden: true,
|
||||
// permissions: ['oms:aftersale:query'],
|
||||
permissions: ['oms:aftersale:query'],
|
||||
children: [
|
||||
{
|
||||
path: 'detail',
|
||||
|
@ -131,7 +131,6 @@ import { getConfigKey2 } from '@/api/system/config';
|
||||
|
||||
export default {
|
||||
name: 'OmsAftersaleDetail',
|
||||
dicts: ['oms_order_status', 'oms_pay_type', 'oms_aftersale_type', 'oms_aftersale_status'],
|
||||
data() {
|
||||
return {
|
||||
products: [],
|
||||
@ -143,34 +142,46 @@ export default {
|
||||
experssList: [],
|
||||
open: false,
|
||||
refundInfoDetail: {},
|
||||
aliLogisticsInfoList: []
|
||||
aliLogisticsInfoList: [],
|
||||
orderSaleStatusMap: [],
|
||||
orderTypeMap: [],
|
||||
orderAfterSaleMap: [],
|
||||
orderAftersaleMap: []
|
||||
};
|
||||
},
|
||||
created() {
|
||||
async created() {
|
||||
this.getExpressData();
|
||||
const { id } = this.$route.query;
|
||||
this.queryDetail(id).then((expressNo) => {
|
||||
// this.getLogistic(expressNo)
|
||||
});
|
||||
const orderSaleStatusMap = await this.getDictionaryByKey('oms_order_status');
|
||||
const orderTypeMap = await this.getDictionaryByKey('oms_order_type');
|
||||
const orderAfterSaleMap = await this.getDictionaryByKey('oms_aftersale_type');
|
||||
const orderAftersaleMap = await this.getDictionaryByKey('oms_aftersale_status');
|
||||
this.orderSaleStatusMap = orderSaleStatusMap;
|
||||
this.orderTypeMap = orderTypeMap;
|
||||
this.orderAfterSaleMap = orderAfterSaleMap;
|
||||
this.orderAftersaleMap = orderAftersaleMap;
|
||||
},
|
||||
computed: {
|
||||
orderStatusMap() {
|
||||
const obj = this.dict.type.oms_order_status.map((item) => [item.value, item.label]);
|
||||
const obj = this.orderSaleStatusMap.map((item) => [item.value, item.label]);
|
||||
const map = new Map(obj);
|
||||
return map;
|
||||
},
|
||||
payTypeMap() {
|
||||
const obj = this.dict.type.oms_pay_type.map((item) => [item.value, item.label]);
|
||||
const obj = this.orderTypeMap.map((item) => [item.value, item.label]);
|
||||
const map = new Map(obj);
|
||||
return map;
|
||||
},
|
||||
aftersaleTypeMap() {
|
||||
const obj = this.dict.type.oms_aftersale_type.map((item) => [item.value, item.label]);
|
||||
const obj = this.orderAfterSaleMap.map((item) => [item.value, item.label]);
|
||||
const map = new Map(obj);
|
||||
return map;
|
||||
},
|
||||
aftersaleStatusMap() {
|
||||
const obj = this.dict.type.oms_aftersale_status.map((item) => [item.value, item.label]);
|
||||
const obj = this.orderAftersaleMap.map((item) => [item.value, item.label]);
|
||||
const map = new Map(obj);
|
||||
return map;
|
||||
},
|
||||
|
@ -79,7 +79,7 @@
|
||||
{{ scope.row.orderSn }}
|
||||
<el-link @click="copy(scope.row.orderSn)" :underline="false"><i class="el-icon-document-copy el-icon--right"></i></el-link>
|
||||
</div>
|
||||
<el-button size="small" text type="primary" @click="handleDetail(scope.row.orderId)" v-hasPermi="['oms:aftersale:query']"
|
||||
<el-button size="small" text type="primary" @click="handleDetail(scope.row.id)" v-hasPermi="['oms:aftersale:query']"
|
||||
>详情
|
||||
</el-button>
|
||||
<el-button size="small" text type="primary" @click="showLog(scope.row.orderId)" v-hasPermi="['oms:aftersale:log']">日志 </el-button>
|
||||
|
@ -115,15 +115,18 @@
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<el-table-column label="核销码" width="130">
|
||||
<el-image src="" style="width: 100px; height: 100px" />
|
||||
<template v-slot="scope">
|
||||
{{ scope.row.code }}
|
||||
<!-- <el-image :src="scope.row.code" style="width: 100px; height: 100px" />-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="商品规格" prop="productList" width="280">
|
||||
<template v-slot="scope">
|
||||
<div v-for="item in scope.row.productList" class="product-container">
|
||||
<el-popover placement="right" trigger="hover">
|
||||
<el-image :src="item.pic" style="width: 350px; height: 350px" />
|
||||
<el-image v-if="item.pic" :src="item.pic" style="width: 350px; height: 350px" />
|
||||
<template v-slot:reference>
|
||||
<el-image class="small-img product-item" :src="item.pic" style="width: 40px; height: 40px" />
|
||||
<el-image v-if="item.pic" class="small-img product-item" :src="item.pic" style="width: 40px; height: 40px" />
|
||||
</template>
|
||||
</el-popover>
|
||||
<div class="product-item" style="margin-left: 5px">
|
||||
@ -282,8 +285,8 @@
|
||||
<el-card>
|
||||
<h4>{{ getLogEvent(item.status) }}</h4>
|
||||
<br />
|
||||
<h4>操作人:{{ item.operName }}</h4>
|
||||
<h4>操作时间:{{ item.operTime }}</h4>
|
||||
<h4>操作人:{{ item.operateMan }}</h4>
|
||||
<h4>操作时间:{{ item.createTime || item.updateTime }}</h4>
|
||||
<br v-if="item.note" />
|
||||
<h4 v-if="item.note">备注:{{ item.note }}</h4>
|
||||
</el-card>
|
||||
@ -334,7 +337,6 @@ import { useUserStore } from '@/store/modules/user';
|
||||
|
||||
export default {
|
||||
name: 'OmsOrder',
|
||||
dicts: ['oms_order_status', 'oms_pay_type'],
|
||||
components: {
|
||||
AddressSelector
|
||||
},
|
||||
@ -652,13 +654,20 @@ export default {
|
||||
oInput.remove();
|
||||
},
|
||||
handleDelivery(row) {
|
||||
this.deliveryObj.form.codeValue = row.id;
|
||||
this.deliveryObj.form.codeValue = row.code;
|
||||
this.deliveryObj.open = true;
|
||||
},
|
||||
submitDelivery() {
|
||||
if (!this.deliveryObj.form.codeValue) {
|
||||
return this.$modal.msgError('当前订单无核销码!');
|
||||
}
|
||||
this.$refs['deliveryForm'].validate((valid) => {
|
||||
if (valid) {
|
||||
deliverProduct(this.deliveryObj.form).then((resp) => {
|
||||
const params = {
|
||||
codeValue: this.deliveryObj.form.codeValue,
|
||||
usedMerchantId: this.deliveryObj.form.usedMerchantId
|
||||
};
|
||||
deliverProduct(params).then((resp) => {
|
||||
this.$modal.msgSuccess('核销成功');
|
||||
this.cancelDelivery();
|
||||
this.getList();
|
||||
|
@ -57,8 +57,12 @@
|
||||
<el-table-column label="租户编号" align="center" prop="tenantId" />
|
||||
<el-table-column label="联系人" align="center" prop="contactUserName" />
|
||||
<el-table-column label="联系电话" align="center" prop="contactPhone" />
|
||||
<el-table-column label="身份证号" align="center" prop="idCard" />
|
||||
<el-table-column label="银行卡号" align="center" prop="bankCard" />
|
||||
<el-table-column label="企业名称" align="center" prop="companyName" />
|
||||
<el-table-column label="社会信用代码" align="center" prop="licenseNumber" />
|
||||
<el-table-column label="营业执照" align="center" prop="businessLicense" />
|
||||
<el-table-column label="邀请人" align="center" prop="businessLicense" />
|
||||
<el-table-column label="过期时间" align="center" prop="expireTime" width="180">
|
||||
<template #default="scope">
|
||||
<span>{{ proxy.parseTime(scope.row.expireTime, '{y}-{m}-{d}') }}</span>
|
||||
|
@ -121,7 +121,7 @@
|
||||
<el-button size="small" text type="primary" @click="showBlackListInfoModal(scope.row)">黑名单 </el-button>
|
||||
<el-button size="small" text type="primary" @click="handleUserDelete(scope.row)">删除 </el-button>
|
||||
<el-button size="small" text type="primary" @click="goWithdrawInfoPage(scope.row)">提现记录 </el-button>
|
||||
<el-button size="small" text type="primary" @click="showWithdrawInfoModal(scope.row, true)">充值记录 </el-button>
|
||||
<el-button size="small" text type="primary" @click="showChargeInfoModal(scope.row, true)">充值记录 </el-button>
|
||||
<!-- <el-button size="small" text type="primary" @click="showStatistics(scope.row.id)" v-hasPermi="['ums:member:statistics']">查看数据 </el-button>
|
||||
<el-button size="small" text type="primary" @click="goOrder(scope.row.phoneEncrypted)">查看下单</el-button>
|
||||
<el-button size="small" text type="primary" @click="goCart(scope.row.phoneEncrypted)">查看购物车</el-button>-->
|
||||
@ -214,34 +214,34 @@
|
||||
/>
|
||||
</el-dialog>
|
||||
|
||||
<!--会员提现记录-->
|
||||
<el-dialog title="会员提现记录" v-model="userWithdrawInfoModalVisible" width="1200px" append-to-body>
|
||||
<el-table v-loading="userWithdrawInfoTableLoading" :data="userWithdrawInfo.data" border empty-text="暂无数据">
|
||||
<el-table-column label="申请人" prop="createBy" />
|
||||
<el-table-column label="申请时间" prop="createTime" />
|
||||
<el-table-column label="提现码" prop="code" />
|
||||
<el-table-column label="提现金额" prop="money">
|
||||
<!--会员充值记录-->
|
||||
<el-dialog title="会员充值记录" v-model="userChargeInfoModalVisible" width="1200px" append-to-body>
|
||||
<el-table v-loading="userChargeInfoTableLoading" :data="userChargedrawInfo.data" border empty-text="暂无数据">
|
||||
<el-table-column label="充值人" prop="createBy" />
|
||||
<el-table-column label="充值时间" prop="createTime" />
|
||||
<!-- <el-table-column label="提现码" prop="code" />-->
|
||||
<el-table-column label="充值金额" prop="money">
|
||||
<template v-slot="scope"> ¥ {{ scope.row.money || '0.00' }} </template>
|
||||
</el-table-column>
|
||||
<el-table-column label="手续费" prop="fee">
|
||||
<template v-slot="scope"> ¥ {{ scope.row.fee || '0.00' }} </template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="实际到账金额" prop="actualMoney">
|
||||
<el-table-column label="实际充值金额" prop="actualMoney">
|
||||
<template v-slot="scope"> ¥ {{ scope.row.actualMoney || '0.00' }} </template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="提现方式" prop="method">
|
||||
<!-- <el-table-column label="充值方式" prop="method">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.method, userWithdrawMethodMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="提现类型" prop="type">
|
||||
<el-table-column label="充值类型" prop="type">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.type, userWithdrawTypeMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="提现状态" prop="status">
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="提现状态" prop="status">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.status, userWithdrawStatusMap) }}
|
||||
</template>
|
||||
@ -250,21 +250,18 @@
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.auditStatus, userWithdrawAuditMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="审核人" prop="auditBy" width="100" />
|
||||
<el-table-column label="审核时间" prop="auditTime" width="100" />
|
||||
<el-table-column label="操作" class-name="small-padding fixed-width" fixed="right" width="80">
|
||||
<el-button size="small" text type="primary">审批</el-button>
|
||||
</el-table-column>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="审核人" prop="auditBy" width="100" />
|
||||
<el-table-column label="审核时间" prop="auditTime" width="100" />-->
|
||||
</el-table>
|
||||
<pagination
|
||||
v-if="userWithdrawInfo.total"
|
||||
:total="userWithdrawInfo.total"
|
||||
v-model:page="withdrawDataParams.current"
|
||||
v-model:limit="withdrawDataParams.size"
|
||||
v-if="userChargedrawInfo.total"
|
||||
:total="userChargedrawInfo.total"
|
||||
v-model:page="chargeDataParams.current"
|
||||
v-model:limit="chargeDataParams.size"
|
||||
@pagination="
|
||||
() => {
|
||||
showWithdrawInfoModal(userWithdrawInfo.record);
|
||||
showChargeInfoModal(userChargedrawInfo.record);
|
||||
}
|
||||
"
|
||||
/>
|
||||
@ -724,6 +721,7 @@ export default {
|
||||
};
|
||||
},
|
||||
async created() {
|
||||
console.log('11111111111111111111111111111111111111');
|
||||
this.show = true;
|
||||
this.getList();
|
||||
const userSexMap = await this.getDictionaryByKey('sys_user_sex');
|
||||
@ -988,36 +986,36 @@ export default {
|
||||
const id = row.id;
|
||||
this.$router.push({ path: '/member/withdraw', query: { id } });
|
||||
},
|
||||
// 展示提现记录弹层
|
||||
showWithdrawInfoModal(record, isFirst) {
|
||||
const { id } = this.userWithdrawInfo.record || {};
|
||||
// 展示充值记录弹层
|
||||
showChargeInfoModal(record, isFirst) {
|
||||
const { id } = this.userChargedrawInfo.record || {};
|
||||
const reqParams = {
|
||||
...this.withdrawDataParams,
|
||||
...this.chargeDataParams,
|
||||
memberId: record.id ? record.id : id
|
||||
};
|
||||
this.userWithdrawInfoTableLoading = true;
|
||||
if (isFirst) {
|
||||
this.userChargeInfoTableLoading = true;
|
||||
/* if (isFirst) {
|
||||
// 获取枚举
|
||||
this.getWithdrawEmu();
|
||||
}
|
||||
getUserWithdrawList(reqParams)
|
||||
}*/
|
||||
getUserChargeList(reqParams)
|
||||
.then((response) => {
|
||||
const { records = [], total = 0 } = response.data || {};
|
||||
if (isFirst) {
|
||||
this.userWithdrawInfoModalVisible = true;
|
||||
this.userChargeInfoModalVisible = true;
|
||||
}
|
||||
this.userWithdrawInfo = {
|
||||
this.userChargedrawInfo = {
|
||||
total: total,
|
||||
data: records || [],
|
||||
record: record
|
||||
};
|
||||
this.userWithdrawInfoTableLoading = false;
|
||||
this.userChargeInfoTableLoading = false;
|
||||
})
|
||||
.catch(() => {
|
||||
this.userWithdrawInfoTableLoading = false;
|
||||
this.userChargeInfoTableLoading = false;
|
||||
});
|
||||
},
|
||||
async getWithdrawEmu() {
|
||||
/* async getWithdrawEmu() {
|
||||
const userWithdrawMethodMap = await this.getDictionaryByKey('ums_withdraw_method');
|
||||
const userWithdrawTypeMap = await this.getDictionaryByKey('ums_withdraw_type');
|
||||
const userWithdrawStatusMap = await this.getDictionaryByKey('ums_withdraw_status');
|
||||
@ -1027,7 +1025,7 @@ export default {
|
||||
this.userWithdrawTypeMap = userWithdrawTypeMap;
|
||||
this.userWithdrawStatusMap = userWithdrawStatusMap;
|
||||
this.userWithdrawAuditMap = userWithdrawAuditMap;
|
||||
},
|
||||
},*/
|
||||
// 展示用户封禁记录弹框
|
||||
showUserBannedInfoModal(record, isFirst) {
|
||||
const { id } = this.userBannedInfo.record || {};
|
||||
|
@ -1,84 +1,91 @@
|
||||
<template>
|
||||
<el-card>
|
||||
<el-table v-loading="userWithdrawInfoTableLoading" :data="userWithdrawInfo.data" border empty-text="暂无数据">
|
||||
<el-table-column label="申请人" prop="createBy" />
|
||||
<el-table-column label="申请时间" prop="createTime" />
|
||||
<el-table-column label="提现码" prop="code" />
|
||||
<el-table-column label="提现金额" prop="money">
|
||||
<template v-slot="scope"> ¥ {{ scope.row.money || '0.00' }} </template>
|
||||
</el-table-column>
|
||||
<el-table-column label="手续费" prop="fee">
|
||||
<template v-slot="scope"> ¥ {{ scope.row.fee || '0.00' }} </template>
|
||||
</el-table-column>
|
||||
<div>
|
||||
<el-card>
|
||||
<el-table v-loading="userWithdrawInfoTableLoading" :data="userWithdrawInfo.data" border empty-text="暂无数据">
|
||||
<el-table-column label="申请人" prop="createBy" />
|
||||
<el-table-column label="申请时间" prop="createTime" />
|
||||
<el-table-column label="提现码" prop="code" />
|
||||
<el-table-column label="提现金额" prop="money">
|
||||
<template v-slot="scope"> ¥ {{ scope.row.money || '0.00' }} </template>
|
||||
</el-table-column>
|
||||
<el-table-column label="手续费" prop="fee">
|
||||
<template v-slot="scope"> ¥ {{ scope.row.fee || '0.00' }} </template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="实际到账金额" prop="actualMoney">
|
||||
<template v-slot="scope"> ¥ {{ scope.row.actualMoney || '0.00' }} </template>
|
||||
</el-table-column>
|
||||
<el-table-column label="实际到账金额" prop="actualMoney">
|
||||
<template v-slot="scope"> ¥ {{ scope.row.actualMoney || '0.00' }} </template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="提现方式" prop="method">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.method, userWithdrawMethodMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="提现类型" prop="type">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.type, userWithdrawTypeMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="提现状态" prop="status">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.status, userWithdrawStatusMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="审批状态" prop="auditStatus">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.auditStatus, userWithdrawAuditMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="审核人" prop="auditBy" width="100" />
|
||||
<el-table-column label="审核时间" prop="auditTime" width="100" />
|
||||
<el-table-column label="操作" fixed="right" width="80">
|
||||
<template v-slot="scope">
|
||||
<el-button v-if="scope.row.auditStatus == '0'" size="small" text type="primary" @click="showAuditModal(scope.row)">审批</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
v-if="userWithdrawInfo.total"
|
||||
:total="userWithdrawInfo.total"
|
||||
v-model:page="withdrawDataParams.current"
|
||||
v-model:limit="withdrawDataParams.size"
|
||||
@pagination="
|
||||
() => {
|
||||
showWithdrawInfoList(userWithdrawInfo.record);
|
||||
}
|
||||
"
|
||||
/>
|
||||
</el-card>
|
||||
<!-- 提现审核-->
|
||||
<el-dialog title="提现审核" v-model="auditFormOpen" width="500px" append-to-body>
|
||||
<el-row>
|
||||
<el-col :span="4">审核结果</el-col>
|
||||
<el-col :span="20">
|
||||
<el-select v-model="auditStatus" size="small">
|
||||
<el-option v-show="item.value != '0'" v-for="item in userWithdrawAuditMap" :value="item.value" :label="item.label" />
|
||||
</el-select>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row v-if="auditStatus == '2'" class="mt2">
|
||||
<el-col :span="4">拒绝原因</el-col>
|
||||
<el-col :span="20">
|
||||
<el-input v-model="auditReason" type="textarea" :rows="3"></el-input>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row class="mt6">
|
||||
<el-col :span="12"></el-col>
|
||||
<el-col :span="12">
|
||||
<el-button type="default" size="small" @click="resetAuditForm">取消</el-button>
|
||||
<el-button type="primary" size="small" @click="confirmSubmitAudit">确认</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-dialog>
|
||||
<el-table-column label="提现方式" prop="method">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.method, userWithdrawMethodMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="提现类型" prop="type">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.type, userWithdrawTypeMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="提现状态" prop="status">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.status, userWithdrawStatusMap) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="审批状态" prop="auditStatus">
|
||||
<template v-slot="scope">
|
||||
{{ getEmulistLabelById(scope.row.auditStatus, userWithdrawAuditMap) }}
|
||||
<el-tooltip v-if="scope.row.auditStatus == '2'" :content="scope.row.auditStatus == '2' ? scope.row.auditReason : null" placement="top">
|
||||
<el-icon>
|
||||
<question-filled />
|
||||
</el-icon>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="审核人" prop="auditBy" width="100" />
|
||||
<el-table-column label="审核时间" prop="auditTime" width="100" />
|
||||
<el-table-column label="操作" fixed="right" width="80">
|
||||
<template v-slot="scope">
|
||||
<el-button v-if="scope.row.auditStatus == '0'" size="small" text type="primary" @click="showAuditModal(scope.row)">审批</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<pagination
|
||||
v-if="userWithdrawInfo.total"
|
||||
:total="userWithdrawInfo.total"
|
||||
v-model:page="withdrawDataParams.current"
|
||||
v-model:limit="withdrawDataParams.size"
|
||||
@pagination="
|
||||
() => {
|
||||
showWithdrawInfoList(userWithdrawInfo.record);
|
||||
}
|
||||
"
|
||||
/>
|
||||
</el-card>
|
||||
<!-- 提现审核-->
|
||||
<el-dialog title="提现审核" v-model="auditFormOpen" width="500px" append-to-body>
|
||||
<el-row>
|
||||
<el-col :span="4">审核结果</el-col>
|
||||
<el-col :span="20">
|
||||
<el-select v-model="auditStatus" size="small">
|
||||
<el-option v-show="item.value != '0'" v-for="item in userWithdrawAuditMap" :value="item.value" :label="item.label" />
|
||||
</el-select>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row v-if="auditStatus == '2'" class="mt2">
|
||||
<el-col :span="4">拒绝原因</el-col>
|
||||
<el-col :span="20">
|
||||
<el-input v-model="auditReason" type="textarea" :rows="3"></el-input>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row class="mt6">
|
||||
<el-col :span="12"></el-col>
|
||||
<el-col :span="12">
|
||||
<el-button type="default" size="small" @click="resetAuditForm">取消</el-button>
|
||||
<el-button type="primary" size="small" @click="confirmSubmitAudit">确认</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -147,6 +154,7 @@ export default {
|
||||
.then(() => {
|
||||
this.$modal.msgSuccess('审核成功');
|
||||
this.pageInit();
|
||||
this.resetAuditForm();
|
||||
})
|
||||
.catch(() => {
|
||||
this.$modal.msgError('审核失败');
|
||||
|
Loading…
x
Reference in New Issue
Block a user