@kmkf-fe-packages/kmkf-work-order-service-component 1.0.0 → 1.0.2
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.
package/README.md
CHANGED
|
@@ -66,3 +66,4 @@ const Text = ()=>{
|
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
| 字段 | 说明 | 数据类型 | | ----------------- | ---------------- | ------------------------------------ | | platform | 平台 | TAOBAO =淘宝\|FXG=抖音\|PDD=拼多多\| | | shopId | 店铺 ID | number | | buyerNick | 买家昵称 | string | | buyerId | 买家 id | string | | orderNo | 订单 id | string | | onEmpowerCallback | 授权弹框点击回调 | function |
|
|
69
|
+
|
package/dist/esm/WorkOrder/components/PaymentWorkOrderList/components/PaymentFormModal/index.js
CHANGED
|
@@ -85,7 +85,7 @@ function ModifyModal(props) {
|
|
|
85
85
|
var handleOk = function handleOk() {
|
|
86
86
|
form.validateFields().then( /*#__PURE__*/function () {
|
|
87
87
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(values) {
|
|
88
|
-
var
|
|
88
|
+
var _shopList$find;
|
|
89
89
|
var shopSource, newValue, api, shopId, shopName, _shopList, other, _yield$api, success;
|
|
90
90
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
91
91
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -102,9 +102,9 @@ function ModifyModal(props) {
|
|
|
102
102
|
message.error('支付宝姓名/账号都要填写');
|
|
103
103
|
return _context.abrupt("return");
|
|
104
104
|
case 5:
|
|
105
|
-
shopSource = (
|
|
105
|
+
shopSource = (_shopList$find = shopList.find(function (t) {
|
|
106
106
|
return t.shopId === record.shopId;
|
|
107
|
-
})) === null ||
|
|
107
|
+
})) === null || _shopList$find === void 0 ? void 0 : _shopList$find.shopSource;
|
|
108
108
|
newValue = {};
|
|
109
109
|
api = type === 'edit' ? editRemitOrder : addPaymentOrder;
|
|
110
110
|
if (type === 'edit') {
|
|
@@ -189,11 +189,11 @@ function ModifyModal(props) {
|
|
|
189
189
|
};
|
|
190
190
|
}();
|
|
191
191
|
var TidChangeHandle = function TidChangeHandle(e) {
|
|
192
|
-
var _shopList$
|
|
192
|
+
var _shopList$find2;
|
|
193
193
|
var order_no = e.target.value;
|
|
194
|
-
var taobaoId = (_shopList$
|
|
194
|
+
var taobaoId = (_shopList$find2 = shopList.find(function (item) {
|
|
195
195
|
return item.shopSourceStr === 'TAOBAO' && item.shopId == platformInfo.shopId;
|
|
196
|
-
})) === null || _shopList$
|
|
196
|
+
})) === null || _shopList$find2 === void 0 ? void 0 : _shopList$find2.taobaoId;
|
|
197
197
|
|
|
198
198
|
//淘宝订单买家id返填
|
|
199
199
|
if (taobaoId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "54173aeb0947642595d098bff2526c29ccb5a54f",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|