@kmkf-fe-packages/kmkf-work-order-service-component 2.7.3-beta.13 → 2.7.3-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -112,30 +112,19 @@ var JumpCustomerIcon = function JumpCustomerIcon(_ref3) {
|
|
|
112
112
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
113
113
|
while (1) switch (_context2.prev = _context2.next) {
|
|
114
114
|
case 0:
|
|
115
|
-
if (!(NEED_BUYER_PLATFORMS.includes(platformType) && !buyer)) {
|
|
116
|
-
_context2.next =
|
|
115
|
+
if (!(NEED_BUYER_PLATFORMS.includes(platformType) && !buyer && flowWorkOrderId)) {
|
|
116
|
+
_context2.next = 9;
|
|
117
117
|
break;
|
|
118
118
|
}
|
|
119
|
-
if (flowWorkOrderId) {
|
|
120
|
-
_context2.next = 4;
|
|
121
|
-
break;
|
|
122
|
-
}
|
|
123
|
-
message.warning('缺少工单信息,无法打开');
|
|
124
|
-
return _context2.abrupt("return");
|
|
125
|
-
case 4:
|
|
126
119
|
setLoading(true);
|
|
127
|
-
_context2.next =
|
|
120
|
+
_context2.next = 4;
|
|
128
121
|
return fetchBuyerOpenUid(flowWorkOrderId);
|
|
129
|
-
case
|
|
122
|
+
case 4:
|
|
130
123
|
fetchedBuyer = _context2.sent;
|
|
131
124
|
setLoading(false);
|
|
132
|
-
if (fetchedBuyer) {
|
|
133
|
-
|
|
134
|
-
break;
|
|
125
|
+
if (!fetchedBuyer) {
|
|
126
|
+
message.warning('未获取到买家信息');
|
|
135
127
|
}
|
|
136
|
-
message.warning('未获取到买家信息');
|
|
137
|
-
return _context2.abrupt("return");
|
|
138
|
-
case 12:
|
|
139
128
|
openCustomerDialog({
|
|
140
129
|
shopName: shopName,
|
|
141
130
|
platformType: platformType,
|
|
@@ -144,7 +133,7 @@ var JumpCustomerIcon = function JumpCustomerIcon(_ref3) {
|
|
|
144
133
|
onJumpPage: onJumpPage
|
|
145
134
|
});
|
|
146
135
|
return _context2.abrupt("return");
|
|
147
|
-
case
|
|
136
|
+
case 9:
|
|
148
137
|
openCustomerDialog({
|
|
149
138
|
shopName: shopName,
|
|
150
139
|
platformType: platformType,
|
|
@@ -152,7 +141,7 @@ var JumpCustomerIcon = function JumpCustomerIcon(_ref3) {
|
|
|
152
141
|
buyer: buyer,
|
|
153
142
|
onJumpPage: onJumpPage
|
|
154
143
|
});
|
|
155
|
-
case
|
|
144
|
+
case 10:
|
|
156
145
|
case "end":
|
|
157
146
|
return _context2.stop();
|
|
158
147
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.7.3-beta.
|
|
3
|
+
"version": "2.7.3-beta.14",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "38aca0f65dd4db5de7a6697e6ecd7ff831fcdc22",
|
|
79
79
|
"gitHooks": {
|
|
80
80
|
"pre-commit": "lint-staged"
|
|
81
81
|
}
|