From 46e6a2b43b042963953b4d1d6a36e0cee69962b0 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期一, 27 四月 2026 20:03:16 +0800
Subject: [PATCH] 小程序端和PC端bug修复
---
small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js | 60 +++++++++++++++++++++++++++++++++++-------------------------
1 files changed, 35 insertions(+), 25 deletions(-)
diff --git a/small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js b/small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js
index daf1e1b..8c7b008 100644
--- a/small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js
+++ b/small-program/unpackage/dist/dev/mp-weixin/pages/store-apply/store-apply.js
@@ -417,7 +417,7 @@
});
return _context.abrupt("return");
case 19:
- _context.next = 44;
+ _context.next = 47;
break;
case 21:
if (_this.form.legalPersonName) {
@@ -430,8 +430,18 @@
});
return _context.abrupt("return");
case 24:
- if (_this.form.aliAccount) {
+ if (_this.form.legalPersonPhone) {
_context.next = 27;
+ break;
+ }
+ uni.showToast({
+ title: '璇疯緭鍏ユ硶浜烘墜鏈哄彿',
+ icon: 'none'
+ });
+ return _context.abrupt("return");
+ case 27:
+ if (_this.form.aliAccount) {
+ _context.next = 30;
break;
}
uni.showToast({
@@ -439,9 +449,9 @@
icon: 'none'
});
return _context.abrupt("return");
- case 27:
+ case 30:
if (_this.form.aliName) {
- _context.next = 30;
+ _context.next = 33;
break;
}
uni.showToast({
@@ -449,9 +459,9 @@
icon: 'none'
});
return _context.abrupt("return");
- case 30:
+ case 33:
if (_this.form.legalPersonCard) {
- _context.next = 33;
+ _context.next = 36;
break;
}
uni.showToast({
@@ -459,9 +469,9 @@
icon: 'none'
});
return _context.abrupt("return");
- case 33:
+ case 36:
if (_this.form.legalPersonCardFront) {
- _context.next = 36;
+ _context.next = 39;
break;
}
uni.showToast({
@@ -469,9 +479,9 @@
icon: 'none'
});
return _context.abrupt("return");
- case 36:
+ case 39:
if (_this.form.legalPersonCardBack) {
- _context.next = 39;
+ _context.next = 42;
break;
}
uni.showToast({
@@ -479,9 +489,9 @@
icon: 'none'
});
return _context.abrupt("return");
- case 39:
+ case 42:
if (_this.form.businessImg) {
- _context.next = 42;
+ _context.next = 45;
break;
}
uni.showToast({
@@ -489,12 +499,12 @@
icon: 'none'
});
return _context.abrupt("return");
- case 42:
+ case 45:
_this.form.idcardImgBack = _this.form.legalPersonCardBack;
_this.form.idcardImg = _this.form.legalPersonCardFront;
- case 44:
+ case 47:
if (_this.agreed) {
- _context.next = 47;
+ _context.next = 50;
break;
}
uni.showToast({
@@ -502,15 +512,15 @@
icon: 'none'
});
return _context.abrupt("return");
- case 47:
+ case 50:
uni.showLoading({
title: '鎻愪氦涓�...',
mask: true
});
- _context.prev = 48;
- _context.next = 51;
+ _context.prev = 51;
+ _context.next = 54;
return _this.$u.api.applyShop(_this.form);
- case 51:
+ case 54:
res = _context.sent;
uni.hideLoading();
if (res.code === 200) {
@@ -527,22 +537,22 @@
icon: 'none'
});
}
- _context.next = 60;
+ _context.next = 63;
break;
- case 56:
- _context.prev = 56;
- _context.t0 = _context["catch"](48);
+ case 59:
+ _context.prev = 59;
+ _context.t0 = _context["catch"](51);
uni.hideLoading();
uni.showToast({
title: '鎻愪氦澶辫触',
icon: 'none'
});
- case 60:
+ case 63:
case "end":
return _context.stop();
}
}
- }, _callee, null, [[48, 56]]);
+ }, _callee, null, [[51, 59]]);
}))();
},
getMyShopData: function getMyShopData() {
--
Gitblit v1.9.3