@@ -282,8 +285,8 @@
{{ getLogEvent(item.status) }}
- 操作人:{{ item.operName }}
- 操作时间:{{ item.operTime }}
+ 操作人:{{ item.operateMan }}
+ 操作时间:{{ item.createTime || item.updateTime }}
备注:{{ item.note }}
@@ -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();
diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue
index 7287dd1..a33d725 100644
--- a/src/views/system/tenant/index.vue
+++ b/src/views/system/tenant/index.vue
@@ -57,8 +57,12 @@
+
+
+
+
{{ proxy.parseTime(scope.row.expireTime, '{y}-{m}-{d}') }}
diff --git a/src/views/ums/member/index.vue b/src/views/ums/member/index.vue
index 66e7ef1..a003655 100644
--- a/src/views/ums/member/index.vue
+++ b/src/views/ums/member/index.vue
@@ -121,7 +121,7 @@
黑名单
删除
提现记录
- 充值记录
+ 充值记录
@@ -214,34 +214,34 @@
/>
-
-
-
-
-
-
-
+
+
+
+
+
+
+
¥ {{ scope.row.money || '0.00' }}
¥ {{ scope.row.fee || '0.00' }}
-
+
¥ {{ scope.row.actualMoney || '0.00' }}
-
+
+
+
{
- 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 || {};
diff --git a/src/views/ums/member/withdraw.vue b/src/views/ums/member/withdraw.vue
index 831b7c3..f3e9408 100644
--- a/src/views/ums/member/withdraw.vue
+++ b/src/views/ums/member/withdraw.vue
@@ -1,84 +1,91 @@
-
-
-
-
-
-
- ¥ {{ scope.row.money || '0.00' }}
-
-
- ¥ {{ scope.row.fee || '0.00' }}
-
+
+
+
+
+
+
+
+ ¥ {{ scope.row.money || '0.00' }}
+
+
+ ¥ {{ scope.row.fee || '0.00' }}
+
-
- ¥ {{ scope.row.actualMoney || '0.00' }}
-
+
+ ¥ {{ scope.row.actualMoney || '0.00' }}
+
-
-
- {{ getEmulistLabelById(scope.row.method, userWithdrawMethodMap) }}
-
-
-
-
- {{ getEmulistLabelById(scope.row.type, userWithdrawTypeMap) }}
-
-
-
-
- {{ getEmulistLabelById(scope.row.status, userWithdrawStatusMap) }}
-
-
-
-
- {{ getEmulistLabelById(scope.row.auditStatus, userWithdrawAuditMap) }}
-
-
-
-
-
-
- 审批
-
-
-
- {
- showWithdrawInfoList(userWithdrawInfo.record);
- }
- "
- />
-
-
-
-
- 审核结果
-
-
-
-
-
-
-
- 拒绝原因
-
-
-
-
-
-
-
- 取消
- 确认
-
-
-
+
+
+ {{ getEmulistLabelById(scope.row.method, userWithdrawMethodMap) }}
+
+
+
+
+ {{ getEmulistLabelById(scope.row.type, userWithdrawTypeMap) }}
+
+
+
+
+ {{ getEmulistLabelById(scope.row.status, userWithdrawStatusMap) }}
+
+
+
+
+ {{ getEmulistLabelById(scope.row.auditStatus, userWithdrawAuditMap) }}
+
+
+
+
+
+
+
+
+
+
+
+ 审批
+
+
+
+
{
+ showWithdrawInfoList(userWithdrawInfo.record);
+ }
+ "
+ />
+
+
+
+
+ 审核结果
+
+
+
+
+
+
+
+ 拒绝原因
+
+
+
+
+
+
+
+ 取消
+ 确认
+
+
+
+