From f84321103bc873303c7184accbc2d7e8aeca7171 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 20 十一月 2025 14:57:46 +0800
Subject: [PATCH] 表情
---
pages/order/afterSales/afterSalesDetail.vue | 114 +++++++++++++++++++++++++++++++++++++--------------------
1 files changed, 74 insertions(+), 40 deletions(-)
diff --git a/pages/order/afterSales/afterSalesDetail.vue b/pages/order/afterSales/afterSalesDetail.vue
index f839e2b..e0af1f9 100644
--- a/pages/order/afterSales/afterSalesDetail.vue
+++ b/pages/order/afterSales/afterSalesDetail.vue
@@ -61,8 +61,7 @@
" type="text" input-align="right" :disabled="true" />
</u-form-item>
<view v-if="
- applyInfo.accountType === 'BANK_TRANSFER' &&
- applyInfo.applyRefundPrice != 0">
+ applyInfo.accountType === 'BANK_TRANSFER'">
<u-form-item label="閾惰寮�鎴疯" :label-width="150">
<u-input v-model="form.bankDepositName" type="text" input-align="right" placeholder="璇疯緭鍏ラ摱琛屽紑鎴疯" />
</u-form-item>
@@ -104,10 +103,11 @@
getAfterSaleInfo,
} from "@/api/after-sale";
-import city from "@/components/m-city/m-city";
+import city from "@/pages/order/m-city/m-city.vue";
import { upload } from "@/api/common.js";
import { checkBankno } from "@/utils/Foundation";
import storage from "@/utils/storage.js";
+import { getSessionId, userAction } from "@/api/userAction.js";
export default {
component: {
city,
@@ -169,13 +169,47 @@
refundWay: "",
serviceType: "", //鐢宠绫诲瀷
},
+ pageSessionNo:"",
+ sendOnShow:false,
+ actionParam:{
+ sessionId:'',
+ actionType:"PAGE",
+ joinType:"SELF",
+ pageCode:"REFUND_ORDER",
+ pageParams:"{}",
+ pageStatus:"JOIN",
+ pageType:"DETAIL"
+ }
};
},
-
+ onUnload() {
+ let param = Object.assign({}, this.actionParam);
+ if (this.sendOnShow)return
+ param.pageStatus = "LEAVE"
+ userAction(param)
+ },
+ onHide() {
+ this.startHidenTime = Date.now()
+ let param = Object.assign({}, this.actionParam);
+ this.sendOnShow = true;
+ param.pageStatus = "LEAVE"
+ userAction(param)
+ },
+ onShow() {
+ getSessionId().then(res=>{
+ this.pageSessionNo = res.data.data
+ this.actionParam.sessionId = this.pageSessionNo
+ if(this.pageSessionNo){
+ let param = Object.assign({}, this.actionParam);
+ userAction(param)
+ }
+ })
+ },
/**
* 鍒ゆ柇褰撳墠鍐呭骞剁敓鎴愭暟鎹�
*/
onLoad(options) {
+ this.actionParam.pageParams = JSON.stringify(options)
let navTitle = "鐢宠鍞悗";
this.form.serviceType = "RETURN_GOODS";
if (options.value == 1) {
@@ -312,42 +346,42 @@
console.log(this.form.accountType)
if (this.form.accountType == "BANK_TRANSFER") {
- // 閾惰寮�鎴疯鏍¢獙
- if (this.$u.test.isEmpty(this.form.bankDepositName)) {
- this.$refs.uToast.show({
- title: "璇疯緭鍏� 閾惰寮�鎴疯",
- type: "error",
- });
- return false;
- }
- // 閾惰寮�鎴峰悕鏍¢獙
- if (this.$u.test.isEmpty(this.form.bankAccountName)) {
- this.$refs.uToast.show({
- title: "璇疯緭鍏� 閾惰寮�鎴峰悕",
- type: "error",
- });
- return false;
- }
- // 閾惰璐﹀彿鏍¢獙
- if (this.$u.test.isEmpty(this.form.bankAccountNumber)) {
- this.$refs.uToast.show({
- title: "璇疯緭鍏� 閾惰璐﹀彿",
- type: "error",
- });
- return false;
- } else if (this.$u.test.chinese(this.form.bankAccountName) === false) {
- this.$refs.uToast.show({
- title: "閾惰寮�鎴峰悕杈撳叆閿欒",
- type: "error",
- });
- return false;
- } else if (this.$u.test.chinese(this.form.bankDepositName) === false) {
- this.$refs.uToast.show({
- title: "閾惰寮�鎴疯杈撳叆閿欒",
- type: "error",
- });
- return false;
- }
+ // // 閾惰寮�鎴疯鏍¢獙
+ // if (this.$u.test.isEmpty(this.form.bankDepositName)) {
+ // this.$refs.uToast.show({
+ // title: "璇疯緭鍏� 閾惰寮�鎴疯",
+ // type: "error",
+ // });
+ // return false;
+ // }
+ // // 閾惰寮�鎴峰悕鏍¢獙
+ // if (this.$u.test.isEmpty(this.form.bankAccountName)) {
+ // this.$refs.uToast.show({
+ // title: "璇疯緭鍏� 閾惰寮�鎴峰悕",
+ // type: "error",
+ // });
+ // return false;
+ // }
+ // // 閾惰璐﹀彿鏍¢獙
+ // if (this.$u.test.isEmpty(this.form.bankAccountNumber)) {
+ // this.$refs.uToast.show({
+ // title: "璇疯緭鍏� 閾惰璐﹀彿",
+ // type: "error",
+ // });
+ // return false;
+ // } else if (this.$u.test.chinese(this.form.bankAccountName) === false) {
+ // this.$refs.uToast.show({
+ // title: "閾惰寮�鎴峰悕杈撳叆閿欒",
+ // type: "error",
+ // });
+ // return false;
+ // } else if (this.$u.test.chinese(this.form.bankDepositName) === false) {
+ // this.$refs.uToast.show({
+ // title: "閾惰寮�鎴疯杈撳叆閿欒",
+ // type: "error",
+ // });
+ // return false;
+ // }
}
return true;
--
Gitblit v1.8.0