From dc46a242306048ac558c287cdf8d421399cb4fdd Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期二, 21 三月 2023 11:11:39 +0800
Subject: [PATCH] code码调整
---
pages/customer-page/customer-index/customer-index.vue | 15 ++++-----------
1 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index 5b11efb..3fb5769 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/pages/customer-page/customer-index/customer-index.vue
@@ -61,7 +61,6 @@
<script>
import card from '@/components/card/card.vue';
import { customerId } from '@/utils/status';
-// import colorGradient from '@/uni_modules/uview-ui/libs/function/colorGradient';
import { todayDate } from '@/utils/util.js';
export default {
components: {
@@ -80,7 +79,6 @@
},
onShow() {
this.init();
- console.log(todayDate, '鑾峰彇浠婂ぉ鐨勬棩鏈�');
},
methods: {
init() {
@@ -96,10 +94,6 @@
uni.hideLoading();
});
},
- // 棰嗗彇鐐瑰嚮
- // numInput(id) {
-
- // },
popupDetermineClick() {
if (this.receiveNum) {
this.getOrderNum.num = this.receiveNum;
@@ -116,6 +110,8 @@
icon: 'none',
duration: 1000
});
+ } else {
+ this.$u.toast(res.data ? res.data : '棰嗗彇澶辫触');
}
});
} else {
@@ -128,17 +124,14 @@
},
/**
* @瀹㈡埛棰嗗彇
+ * 棰嗗彇寮规
*/
receiveClick(item) {
this.show = true;
-
this.getOrderNum.id = item.id; // 鑾峰彇棰嗗彇鎻愮叅鍗曠殑id
},
- open() {
- console.log('鎵撳紑浜�');
- },
+ open() {},
close() {
- console.log('鍏抽棴鏂规硶');
this.show = false;
this.receiveNum = null;
},
--
Gitblit v1.9.1