@kmkf-fe-packages/kmkf-work-order-service-component 2.0.79-beta.44 → 2.0.79-beta.45
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.
|
@@ -341,25 +341,21 @@ var FormRender = function FormRender(props, ref) {
|
|
|
341
341
|
onUpdateRemark === null || onUpdateRemark === void 0 ? void 0 : onUpdateRemark(remark, flag + '');
|
|
342
342
|
// 清空打款组件之前的重复校验
|
|
343
343
|
if (!enterprisePaymentAlipayNo) {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
// });
|
|
344
|
+
setReplaceValue(function (value) {
|
|
345
|
+
return _objectSpread(_objectSpread({}, value), {}, {
|
|
346
|
+
enterprisePaymentAlipayNo: 0
|
|
347
|
+
});
|
|
348
|
+
});
|
|
350
349
|
}
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
// },
|
|
361
|
-
// templateDetail,
|
|
362
|
-
// );
|
|
350
|
+
queryReplaceCount({
|
|
351
|
+
tradeId: orderNo,
|
|
352
|
+
buyerNick: buyerNick,
|
|
353
|
+
receiveMobile: receiveMobile,
|
|
354
|
+
alipayAccount: alipayAccount,
|
|
355
|
+
expressLogisticsCode: expressLogisticsCode,
|
|
356
|
+
enterprisePaymentTid: orderNo,
|
|
357
|
+
enterprisePaymentAlipayNo: enterprisePaymentAlipayNo
|
|
358
|
+
}, templateDetail);
|
|
363
359
|
var formData = form.getFieldsValue(true);
|
|
364
360
|
handleWatchFormValueChange(undefined, formData);
|
|
365
361
|
};
|
|
@@ -582,7 +578,6 @@ var FormRender = function FormRender(props, ref) {
|
|
|
582
578
|
// 如果有映射关系,则修改对应组件的值
|
|
583
579
|
var mapping = (_mappingConfig$config = mappingConfig.config) === null || _mappingConfig$config === void 0 ? void 0 : _mappingConfig$config[triggerUniqueKey];
|
|
584
580
|
if (mapping !== null && mapping !== void 0 && mapping[triggerValue]) {
|
|
585
|
-
console.log('!--mapping--', mapping);
|
|
586
581
|
form.setFieldsValue(mapping === null || mapping === void 0 ? void 0 : mapping[triggerValue]);
|
|
587
582
|
} else {
|
|
588
583
|
var resetSet = new Set();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.0.79-beta.
|
|
3
|
+
"version": "2.0.79-beta.45",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
|
-
"@kmkf-fe-packages/basic-components": "2.0.79-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.0.79-beta.45",
|
|
36
36
|
"@kmkf-fe-packages/kmkf-utils": "2.0.79-beta.44",
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.0.79-beta.
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.0.79-beta.45",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "dce69e882cf569452e5d32018b8c46e4d5c6acc2",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|