@kmkf-fe-packages/basic-components 2.0.19-beta.4 → 2.0.19-beta.40
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/dist/index.esm.js +270 -147
- package/dist/index.js +269 -145
- package/dist/src/bs/component/GoodItem/index.d.ts +1 -0
- package/dist/src/constants/index.d.ts +1 -0
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Cascader, DatePicker, InputNumber, Input, Select, Upload, Image, messag
|
|
|
3
3
|
import { EyeOutlined, DeleteOutlined, CloseCircleOutlined, CaretUpOutlined } from '@ant-design/icons';
|
|
4
4
|
import request, { extend as extend$1 } from 'umi-request';
|
|
5
5
|
import { CopyToClipboard } from 'react-copy-to-clipboard';
|
|
6
|
-
import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, uuid, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, filterJstOrders, filterKmOrders, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, jstMergeIdenticalGoods, msgTypeCh } from '@kmkf-fe-packages/kmkf-utils';
|
|
6
|
+
import { AddressData, BsAddressData, WdtAddressData, GyAddressData, request as request$1, ExpressData, uuid, columnsGoodsList, LogisticsAddressData, SendDataCenter, BS_E3_BOOLEAN_STATUS_MAP, isNull, filterWdtOrders, WDT_ORDER_TYPE_MAP, filterBsE3Orders, filterGyOrders, GY_DELIVERY_STATE_MAPPING, servers, filterJstOrders, filterKmOrders, getIsPlatformCodesIncludeOrderNos, BS_SYSTEM_ORDER_CONFIG, KM_SYSTEM_ORDER_CONFIG, WLN_SYSTEM_ORDER_CONFIG, WDT_SYSTEM_ORDER_CONFIG, BS_E3_SYSTEM_ORDER_CONFIG, GY_SYSTEM_ORDER_CONFIG, JST_SYSTEM_ORDER_CONFIG, updateWdtGoodsHandle, updateBsE3GoodsHandle, updateGyGoodsHandle, updateJstGoodsHandle, jstMergeIdenticalGoods, msgTypeCh, pushGyLog } from '@kmkf-fe-packages/kmkf-utils';
|
|
7
7
|
import { debounce, isNaN as isNaN$1, isNumber as isNumber$1, cloneDeep, difference, differenceWith, takeRight, reject, isEmpty, intersection, uniqBy } from 'lodash';
|
|
8
8
|
import { useUpdateEffect, useDebounceEffect, useAntdTable } from 'ahooks';
|
|
9
9
|
import zhCN from 'antd/lib/locale/zh_CN';
|
|
@@ -7960,6 +7960,9 @@ var SubForm = function SubForm(props) {
|
|
|
7960
7960
|
value: selectKey,
|
|
7961
7961
|
onChange: setSelectKey
|
|
7962
7962
|
}), /*#__PURE__*/React.createElement(Popover, {
|
|
7963
|
+
getPopupContainer: function getPopupContainer(triggerNode) {
|
|
7964
|
+
return triggerNode.parentElement;
|
|
7965
|
+
},
|
|
7963
7966
|
content: /*#__PURE__*/React.createElement("div", {
|
|
7964
7967
|
ref: ref,
|
|
7965
7968
|
onScrollCapture: onScrollCapture,
|
|
@@ -10341,8 +10344,8 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10341
10344
|
var showKcode = useMemo(function () {
|
|
10342
10345
|
var isShow = false;
|
|
10343
10346
|
if (value === null || value === void 0 ? void 0 : value.interceptCompany) {
|
|
10344
|
-
var _value$interceptCompa
|
|
10345
|
-
isShow = (value === null || value === void 0 ? void 0 : (_value$interceptCompa = value.interceptCompany) === null || _value$interceptCompa === void 0 ? void 0 : _value$interceptCompa.indexOf('
|
|
10347
|
+
var _value$interceptCompa;
|
|
10348
|
+
isShow = (value === null || value === void 0 ? void 0 : (_value$interceptCompa = value.interceptCompany) === null || _value$interceptCompa === void 0 ? void 0 : _value$interceptCompa.indexOf('YTO')) > -1;
|
|
10346
10349
|
}
|
|
10347
10350
|
return isShow;
|
|
10348
10351
|
}, [value === null || value === void 0 ? void 0 : value.interceptCompany]);
|
|
@@ -10538,11 +10541,14 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
10538
10541
|
})), /*#__PURE__*/React.createElement(Item, {
|
|
10539
10542
|
key: 'interceptLogisticsUserSecretKey',
|
|
10540
10543
|
hidden: !showKcode,
|
|
10541
|
-
|
|
10544
|
+
label: /*#__PURE__*/React.createElement("span", {
|
|
10545
|
+
style: {
|
|
10546
|
+
opacity: 0
|
|
10547
|
+
}
|
|
10548
|
+
}, "\u517C\u5BB9\u98DE\u9E3D\u6837\u5F0F")
|
|
10542
10549
|
}, /*#__PURE__*/React.createElement(Input, {
|
|
10543
10550
|
style: {
|
|
10544
|
-
width: '
|
|
10545
|
-
marginTop: '6px'
|
|
10551
|
+
width: platform === 'pc' ? 200 : 130
|
|
10546
10552
|
},
|
|
10547
10553
|
placeholder: "\u5BA2\u6237\u5BC6\u94A5",
|
|
10548
10554
|
disabled: true,
|
|
@@ -13186,29 +13192,29 @@ var GoodList$3 = function GoodList(props, ref) {
|
|
|
13186
13192
|
fixed: true,
|
|
13187
13193
|
onSelect: function onSelect(record, selected) {
|
|
13188
13194
|
if (selected) {
|
|
13189
|
-
setSelectIds([].concat(_toConsumableArray(selectIds), [record.
|
|
13195
|
+
setSelectIds([].concat(_toConsumableArray(selectIds), [record.id]));
|
|
13190
13196
|
setSelect([].concat(_toConsumableArray(selectList), [record]));
|
|
13191
13197
|
} else {
|
|
13192
13198
|
setSelectIds(selectIds.filter(function (t) {
|
|
13193
|
-
return t !== record.
|
|
13199
|
+
return t !== record.id;
|
|
13194
13200
|
}));
|
|
13195
13201
|
setSelect(selectList.filter(function (t) {
|
|
13196
|
-
return t.
|
|
13202
|
+
return t.id !== record.id;
|
|
13197
13203
|
}));
|
|
13198
13204
|
}
|
|
13199
13205
|
},
|
|
13200
13206
|
onSelectAll: function onSelectAll(selected, selectedRows, changeRows) {
|
|
13201
13207
|
if (selected) {
|
|
13202
13208
|
setSelectIds([].concat(_toConsumableArray(selectIds), _toConsumableArray(changeRows.map(function (t) {
|
|
13203
|
-
return t.
|
|
13209
|
+
return t.id;
|
|
13204
13210
|
}))));
|
|
13205
13211
|
setSelect([].concat(_toConsumableArray(selectList), _toConsumableArray(changeRows)));
|
|
13206
13212
|
} else {
|
|
13207
13213
|
setSelectIds(difference(selectIds, changeRows.map(function (t) {
|
|
13208
|
-
return t.
|
|
13214
|
+
return t.id;
|
|
13209
13215
|
})));
|
|
13210
13216
|
var list = differenceWith(selectList, changeRows, function (arrVal, othVal) {
|
|
13211
|
-
return arrVal.
|
|
13217
|
+
return arrVal.id !== othVal.id;
|
|
13212
13218
|
});
|
|
13213
13219
|
setSelect(list);
|
|
13214
13220
|
}
|
|
@@ -13217,10 +13223,10 @@ var GoodList$3 = function GoodList(props, ref) {
|
|
|
13217
13223
|
var showTable = function showTable() {
|
|
13218
13224
|
var handleDelete = function handleDelete(record) {
|
|
13219
13225
|
setSelectIds(selectIds.filter(function (t) {
|
|
13220
|
-
return t !== record.
|
|
13226
|
+
return t !== record.id;
|
|
13221
13227
|
}));
|
|
13222
13228
|
setSelect(selectList.filter(function (t) {
|
|
13223
|
-
return t.
|
|
13229
|
+
return t.id !== record.id;
|
|
13224
13230
|
}));
|
|
13225
13231
|
};
|
|
13226
13232
|
var showColumns = [{
|
|
@@ -13244,7 +13250,7 @@ var GoodList$3 = function GoodList(props, ref) {
|
|
|
13244
13250
|
}
|
|
13245
13251
|
}, /*#__PURE__*/React.createElement(Table, {
|
|
13246
13252
|
columns: showColumns,
|
|
13247
|
-
rowKey: '
|
|
13253
|
+
rowKey: 'id',
|
|
13248
13254
|
dataSource: selectList,
|
|
13249
13255
|
scroll: {
|
|
13250
13256
|
x: '100%',
|
|
@@ -13264,7 +13270,7 @@ var GoodList$3 = function GoodList(props, ref) {
|
|
|
13264
13270
|
}
|
|
13265
13271
|
}, /*#__PURE__*/React.createElement(Table, _objectSpread2({
|
|
13266
13272
|
rowSelection: rowSelection,
|
|
13267
|
-
rowKey: "
|
|
13273
|
+
rowKey: "id",
|
|
13268
13274
|
columns: columns$4,
|
|
13269
13275
|
scroll: {
|
|
13270
13276
|
x: '100%',
|
|
@@ -13795,7 +13801,10 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13795
13801
|
width: 250
|
|
13796
13802
|
}, {
|
|
13797
13803
|
dataIndex: 'orderPrice',
|
|
13798
|
-
title: "\
|
|
13804
|
+
title: "\u6210\u4EA4\u603B\u91D1\u989D",
|
|
13805
|
+
render: function render(val, record) {
|
|
13806
|
+
return (record.num || record.num === 0) && (val || val === 0) ? val * record.num : null;
|
|
13807
|
+
},
|
|
13799
13808
|
width: 200
|
|
13800
13809
|
}, {
|
|
13801
13810
|
dataIndex: 'num',
|
|
@@ -13850,10 +13859,13 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
13850
13859
|
width: 250
|
|
13851
13860
|
}, {
|
|
13852
13861
|
dataIndex: 'orderPrice',
|
|
13853
|
-
title: "\
|
|
13862
|
+
title: "\u6210\u4EA4\u603B\u91D1\u989D",
|
|
13854
13863
|
align: 'center',
|
|
13855
13864
|
ellipsis: true,
|
|
13856
|
-
width: 100
|
|
13865
|
+
width: 100,
|
|
13866
|
+
render: function render(val, record) {
|
|
13867
|
+
return (record.num || record.num === 0) && (val || val === 0) ? val * record.num : null;
|
|
13868
|
+
}
|
|
13857
13869
|
}, {
|
|
13858
13870
|
dataIndex: 'num',
|
|
13859
13871
|
title: "".concat(text, "\u6570\u91CF"),
|
|
@@ -14149,6 +14161,10 @@ var getColumns$2 = function getColumns(_ref) {
|
|
|
14149
14161
|
};
|
|
14150
14162
|
};
|
|
14151
14163
|
|
|
14164
|
+
var getYesOrNo = function getYesOrNo(val) {
|
|
14165
|
+
if (isNull(val)) return null;
|
|
14166
|
+
return val ? '是' : '否';
|
|
14167
|
+
};
|
|
14152
14168
|
var getColumns$3 = function getColumns(_ref) {
|
|
14153
14169
|
var _ref$text = _ref.text,
|
|
14154
14170
|
text = _ref$text === void 0 ? '' : _ref$text,
|
|
@@ -14157,26 +14173,50 @@ var getColumns$3 = function getColumns(_ref) {
|
|
|
14157
14173
|
return {
|
|
14158
14174
|
//万里牛商品信息
|
|
14159
14175
|
WLN_GOODS: [{
|
|
14176
|
+
dataIndex: 'wlnItemName',
|
|
14177
|
+
title: "\u5546\u54C1\u540D\u79F0",
|
|
14178
|
+
align: 'center',
|
|
14179
|
+
ellipsis: true,
|
|
14180
|
+
width: 250
|
|
14181
|
+
}, {
|
|
14182
|
+
dataIndex: 'goodsCode',
|
|
14183
|
+
title: "\u5546\u54C1\u7F16\u7801",
|
|
14184
|
+
align: 'center',
|
|
14185
|
+
ellipsis: true,
|
|
14186
|
+
width: 250
|
|
14187
|
+
}, {
|
|
14188
|
+
dataIndex: 'skuCode',
|
|
14189
|
+
title: "sku\u7F16\u7801",
|
|
14190
|
+
align: 'center',
|
|
14191
|
+
ellipsis: true,
|
|
14192
|
+
width: 250
|
|
14193
|
+
}, {
|
|
14160
14194
|
dataIndex: 'skuName',
|
|
14161
|
-
title: "
|
|
14195
|
+
title: "\u7EBF\u4E0Asku\u540D\u79F0",
|
|
14162
14196
|
align: 'center',
|
|
14163
14197
|
ellipsis: true,
|
|
14164
14198
|
width: 250
|
|
14199
|
+
}, {
|
|
14200
|
+
dataIndex: 'olnSkuCode',
|
|
14201
|
+
title: "\u7EBF\u4E0Asku\u7F16\u7801",
|
|
14202
|
+
align: 'center',
|
|
14203
|
+
ellipsis: true,
|
|
14204
|
+
width: 150
|
|
14165
14205
|
}, {
|
|
14166
14206
|
dataIndex: 'sku',
|
|
14167
|
-
title: "
|
|
14207
|
+
title: "\u7EBF\u4E0Asku id",
|
|
14168
14208
|
align: 'center',
|
|
14169
14209
|
ellipsis: true,
|
|
14170
|
-
width:
|
|
14210
|
+
width: 150
|
|
14171
14211
|
}, {
|
|
14172
14212
|
dataIndex: 'name',
|
|
14173
|
-
title: "
|
|
14213
|
+
title: "\u7EBF\u4E0A\u5546\u54C1\u540D\u79F0",
|
|
14174
14214
|
align: 'center',
|
|
14175
14215
|
ellipsis: true,
|
|
14176
14216
|
width: 250
|
|
14177
14217
|
}, {
|
|
14178
14218
|
dataIndex: 'pic',
|
|
14179
|
-
title: "\u56FE\u7247",
|
|
14219
|
+
title: "\u7EBF\u4E0A\u56FE\u7247",
|
|
14180
14220
|
align: 'center',
|
|
14181
14221
|
ellipsis: true,
|
|
14182
14222
|
width: 100,
|
|
@@ -14186,12 +14226,24 @@ var getColumns$3 = function getColumns(_ref) {
|
|
|
14186
14226
|
src: val
|
|
14187
14227
|
});
|
|
14188
14228
|
}
|
|
14229
|
+
}, {
|
|
14230
|
+
dataIndex: 'olnItemCOde',
|
|
14231
|
+
title: "\u7EBF\u4E0A\u5546\u54C1\u7F16\u7801",
|
|
14232
|
+
align: 'center',
|
|
14233
|
+
ellipsis: true,
|
|
14234
|
+
width: 150
|
|
14189
14235
|
}, {
|
|
14190
14236
|
dataIndex: 'code',
|
|
14191
|
-
title: "
|
|
14237
|
+
title: "\u7EBF\u4E0A\u5546\u54C1id",
|
|
14192
14238
|
align: 'center',
|
|
14193
14239
|
ellipsis: true,
|
|
14194
|
-
width:
|
|
14240
|
+
width: 150
|
|
14241
|
+
}, {
|
|
14242
|
+
dataIndex: 'barCode',
|
|
14243
|
+
title: "\u5546\u54C1\u6761\u7801",
|
|
14244
|
+
align: 'center',
|
|
14245
|
+
ellipsis: true,
|
|
14246
|
+
width: 150
|
|
14195
14247
|
}, {
|
|
14196
14248
|
dataIndex: 'money',
|
|
14197
14249
|
title: "\u5B9E\u4ED8\u91D1\u989D",
|
|
@@ -14219,7 +14271,7 @@ var getColumns$3 = function getColumns(_ref) {
|
|
|
14219
14271
|
}
|
|
14220
14272
|
}, {
|
|
14221
14273
|
dataIndex: 'share',
|
|
14222
|
-
title: "\
|
|
14274
|
+
title: "\u5E94\u6536\u6B3E",
|
|
14223
14275
|
align: 'center',
|
|
14224
14276
|
ellipsis: true,
|
|
14225
14277
|
width: 70
|
|
@@ -14229,6 +14281,27 @@ var getColumns$3 = function getColumns(_ref) {
|
|
|
14229
14281
|
align: 'center',
|
|
14230
14282
|
ellipsis: true,
|
|
14231
14283
|
width: 100
|
|
14284
|
+
}, {
|
|
14285
|
+
dataIndex: 'isPackage',
|
|
14286
|
+
title: "\u662F\u5426\u7EC4\u5408\u5546\u54C1",
|
|
14287
|
+
align: 'center',
|
|
14288
|
+
ellipsis: true,
|
|
14289
|
+
render: function render(val, record, index) {
|
|
14290
|
+
return record.canEdit && !disabled ? /*#__PURE__*/React.createElement(Select, {
|
|
14291
|
+
value: val,
|
|
14292
|
+
onChange: function onChange(value) {
|
|
14293
|
+
updateHandle(value, index, 'isGift');
|
|
14294
|
+
},
|
|
14295
|
+
options: [{
|
|
14296
|
+
label: '是',
|
|
14297
|
+
value: true
|
|
14298
|
+
}, {
|
|
14299
|
+
label: '否',
|
|
14300
|
+
value: false
|
|
14301
|
+
}]
|
|
14302
|
+
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
|
|
14303
|
+
},
|
|
14304
|
+
width: 100
|
|
14232
14305
|
}]
|
|
14233
14306
|
};
|
|
14234
14307
|
};
|
|
@@ -14238,7 +14311,7 @@ var isNumberOrNumberString = function isNumberOrNumberString(value) {
|
|
|
14238
14311
|
if (typeof value === 'string' && !isNaN(Number(value)) && value.trim() !== '') return true;
|
|
14239
14312
|
return false;
|
|
14240
14313
|
};
|
|
14241
|
-
var getYesOrNo = function getYesOrNo(val) {
|
|
14314
|
+
var getYesOrNo$1 = function getYesOrNo(val) {
|
|
14242
14315
|
if (isNull(val)) return null;
|
|
14243
14316
|
return val ? '是' : '否';
|
|
14244
14317
|
};
|
|
@@ -14339,7 +14412,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
14339
14412
|
title: "\u662F\u5426\u53D6\u6D88",
|
|
14340
14413
|
width: 150,
|
|
14341
14414
|
render: function render(val) {
|
|
14342
|
-
return /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
|
|
14415
|
+
return /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val));
|
|
14343
14416
|
}
|
|
14344
14417
|
}, {
|
|
14345
14418
|
dataIndex: 'isGift',
|
|
@@ -14358,7 +14431,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
14358
14431
|
label: '否',
|
|
14359
14432
|
value: 0
|
|
14360
14433
|
}]
|
|
14361
|
-
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
|
|
14434
|
+
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val));
|
|
14362
14435
|
}
|
|
14363
14436
|
}, {
|
|
14364
14437
|
dataIndex: 'skuNote',
|
|
@@ -14400,7 +14473,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
14400
14473
|
title: "\u6570\u91CF",
|
|
14401
14474
|
width: 100,
|
|
14402
14475
|
render: function render(val, record, index) {
|
|
14403
|
-
return
|
|
14476
|
+
return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
14404
14477
|
style: {
|
|
14405
14478
|
width: 70
|
|
14406
14479
|
},
|
|
@@ -14421,7 +14494,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
14421
14494
|
title: "\u5B9E\u9645\u5355\u4EF7",
|
|
14422
14495
|
width: 150,
|
|
14423
14496
|
render: function render(val, record, index) {
|
|
14424
|
-
return
|
|
14497
|
+
return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
14425
14498
|
style: {
|
|
14426
14499
|
width: 130
|
|
14427
14500
|
},
|
|
@@ -14465,7 +14538,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
14465
14538
|
label: '否',
|
|
14466
14539
|
value: 0
|
|
14467
14540
|
}]
|
|
14468
|
-
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
|
|
14541
|
+
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val));
|
|
14469
14542
|
}
|
|
14470
14543
|
}].map(function (item) {
|
|
14471
14544
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -14503,7 +14576,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
14503
14576
|
title: "\u6570\u91CF",
|
|
14504
14577
|
width: 100,
|
|
14505
14578
|
render: function render(val, record, index) {
|
|
14506
|
-
return
|
|
14579
|
+
return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
14507
14580
|
style: {
|
|
14508
14581
|
width: 70
|
|
14509
14582
|
},
|
|
@@ -14524,7 +14597,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
14524
14597
|
title: "\u5B9E\u9645\u5355\u4EF7",
|
|
14525
14598
|
width: 150,
|
|
14526
14599
|
render: function render(val, record, index) {
|
|
14527
|
-
return
|
|
14600
|
+
return !disabled ? /*#__PURE__*/React.createElement(InputNumber, {
|
|
14528
14601
|
style: {
|
|
14529
14602
|
width: 130
|
|
14530
14603
|
},
|
|
@@ -14576,7 +14649,7 @@ var getColumns$4 = function getColumns(_ref) {
|
|
|
14576
14649
|
label: '否',
|
|
14577
14650
|
value: 0
|
|
14578
14651
|
}]
|
|
14579
|
-
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo(val));
|
|
14652
|
+
}) : /*#__PURE__*/React.createElement("span", null, getYesOrNo$1(val));
|
|
14580
14653
|
}
|
|
14581
14654
|
}].map(function (item) {
|
|
14582
14655
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
@@ -15414,6 +15487,8 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15414
15487
|
showErpGoodsBtn = _props$showErpGoodsBt === void 0 ? true : _props$showErpGoodsBt,
|
|
15415
15488
|
_props$showModeBtn = props.showModeBtn,
|
|
15416
15489
|
showModeBtn = _props$showModeBtn === void 0 ? false : _props$showModeBtn,
|
|
15490
|
+
_props$alwaysShowChoo = props.alwaysShowChooseErpGoodsBtn,
|
|
15491
|
+
alwaysShowChooseErpGoodsBtn = _props$alwaysShowChoo === void 0 ? false : _props$alwaysShowChoo,
|
|
15417
15492
|
_props$isStrict = props.isStrict,
|
|
15418
15493
|
isStrict = _props$isStrict === void 0 ? false : _props$isStrict,
|
|
15419
15494
|
_props$tableSelect = props.tableSelect,
|
|
@@ -15497,7 +15572,9 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15497
15572
|
};
|
|
15498
15573
|
var COLUMNS_MAP = function COLUMNS_MAP() {
|
|
15499
15574
|
var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
15500
|
-
var columnsOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
|
|
15575
|
+
var columnsOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {
|
|
15576
|
+
operate: true
|
|
15577
|
+
};
|
|
15501
15578
|
return function (type) {
|
|
15502
15579
|
var columns = [];
|
|
15503
15580
|
switch (type) {
|
|
@@ -15766,7 +15843,7 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15766
15843
|
return params;
|
|
15767
15844
|
}, [tableSelect, selectedRowKeys]);
|
|
15768
15845
|
var TheGoodsModal = GoodsModalMap[type || 'OTHER_GOODS'] || GoodsModalMap['OTHER_GOODS'];
|
|
15769
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && showChangeBtn
|
|
15846
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, !disabled && (showChangeBtn ? /*#__PURE__*/React.createElement("div", {
|
|
15770
15847
|
style: {
|
|
15771
15848
|
float: 'right'
|
|
15772
15849
|
}
|
|
@@ -15783,7 +15860,14 @@ var GoodItem$1 = function GoodItem(props) {
|
|
|
15783
15860
|
}), showErpGoodsBtn && /*#__PURE__*/React.createElement(Button, {
|
|
15784
15861
|
type: "link",
|
|
15785
15862
|
onClick: handleChangeGoods
|
|
15786
|
-
}, getButtonText(type)), otherOperations)
|
|
15863
|
+
}, getButtonText(type)), otherOperations) : showErpGoodsBtn && alwaysShowChooseErpGoodsBtn && /*#__PURE__*/React.createElement("div", {
|
|
15864
|
+
style: {
|
|
15865
|
+
float: 'right'
|
|
15866
|
+
}
|
|
15867
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
15868
|
+
type: "link",
|
|
15869
|
+
onClick: handleChangeGoods
|
|
15870
|
+
}, getButtonText(type)))), /*#__PURE__*/React.createElement(Table, _objectSpread2(_objectSpread2({}, tableConfig), {}, {
|
|
15787
15871
|
columns: newColumns,
|
|
15788
15872
|
dataSource: value,
|
|
15789
15873
|
rowKey: uniqueKey,
|
|
@@ -16550,12 +16634,7 @@ var getJstOrderListSingleton = function getJstOrderListSingleton(orderNo) {
|
|
|
16550
16634
|
// singletonMap.delete(orderNo);
|
|
16551
16635
|
reject(err);
|
|
16552
16636
|
};
|
|
16553
|
-
|
|
16554
|
-
method: 'post',
|
|
16555
|
-
data: {
|
|
16556
|
-
soId: orderNo
|
|
16557
|
-
}
|
|
16558
|
-
}).then(function (data) {
|
|
16637
|
+
servers.JST.jstOrderDetailWrap(orderNo).then(function (data) {
|
|
16559
16638
|
if (data === null || data === void 0 ? void 0 : data.success) {
|
|
16560
16639
|
data.data = filterJstOrders({
|
|
16561
16640
|
orderList: (data === null || data === void 0 ? void 0 : data.data) || []
|
|
@@ -16565,7 +16644,28 @@ var getJstOrderListSingleton = function getJstOrderListSingleton(orderNo) {
|
|
|
16565
16644
|
doReject(data);
|
|
16566
16645
|
}
|
|
16567
16646
|
}).catch(doReject);
|
|
16647
|
+
// request('/qy/gdfw/jst/erp/orderOut/list', {
|
|
16648
|
+
// method: 'post',
|
|
16649
|
+
// data: {
|
|
16650
|
+
// soId: orderNo,
|
|
16651
|
+
// },
|
|
16652
|
+
// })
|
|
16653
|
+
// .then((data) => {
|
|
16654
|
+
// if (data?.success) {
|
|
16655
|
+
// data.data = filterJstOrders(
|
|
16656
|
+
// {
|
|
16657
|
+
// orderList: data?.data || [],
|
|
16658
|
+
// },
|
|
16659
|
+
// orderNo,
|
|
16660
|
+
// );
|
|
16661
|
+
// resolve(data.data);
|
|
16662
|
+
// } else {
|
|
16663
|
+
// doReject(data);
|
|
16664
|
+
// }
|
|
16665
|
+
// })
|
|
16666
|
+
// .catch(doReject);
|
|
16568
16667
|
});
|
|
16668
|
+
|
|
16569
16669
|
singletonMap$3.set(orderNo, p);
|
|
16570
16670
|
}
|
|
16571
16671
|
return singletonMap$3.get(orderNo);
|
|
@@ -16646,8 +16746,10 @@ var index$1 = (function (props) {
|
|
|
16646
16746
|
disabled = props.disabled,
|
|
16647
16747
|
type = props.type;
|
|
16648
16748
|
var onceRef = useRef(false);
|
|
16749
|
+
var valueRef = useRef(null);
|
|
16649
16750
|
useEffect(function () {
|
|
16650
16751
|
var _value$orders, _value$showOrderInfo;
|
|
16752
|
+
valueRef.current = value;
|
|
16651
16753
|
if (!(value === null || value === void 0 ? void 0 : (_value$orders = value.orders) === null || _value$orders === void 0 ? void 0 : _value$orders.length) && (value === null || value === void 0 ? void 0 : value.orderNo) && (value === null || value === void 0 ? void 0 : (_value$showOrderInfo = value.showOrderInfo) === null || _value$showOrderInfo === void 0 ? void 0 : _value$showOrderInfo.length) && !onceRef.current) {
|
|
16652
16754
|
onceRef.current = true;
|
|
16653
16755
|
if (type === 'BS_SYSTEM_ORDER') {
|
|
@@ -16673,7 +16775,7 @@ var index$1 = (function (props) {
|
|
|
16673
16775
|
}, [type]);
|
|
16674
16776
|
var getOrderList = /*#__PURE__*/function () {
|
|
16675
16777
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(orderNo) {
|
|
16676
|
-
var _yield$request, success, data;
|
|
16778
|
+
var _yield$request, success, data, _valueRef$current;
|
|
16677
16779
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
16678
16780
|
while (1) switch (_context.prev = _context.next) {
|
|
16679
16781
|
case 0:
|
|
@@ -16689,7 +16791,7 @@ var index$1 = (function (props) {
|
|
|
16689
16791
|
success = _yield$request.success;
|
|
16690
16792
|
data = _yield$request.data;
|
|
16691
16793
|
if (success) {
|
|
16692
|
-
_onChange(_objectSpread2(_objectSpread2({},
|
|
16794
|
+
_onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current = valueRef.current) !== null && _valueRef$current !== void 0 ? _valueRef$current : {}), {}, {
|
|
16693
16795
|
orders: (data === null || data === void 0 ? void 0 : data.orders) || [],
|
|
16694
16796
|
showOrderInfo: data === null || data === void 0 ? void 0 : data.orders.map(function (item) {
|
|
16695
16797
|
return {
|
|
@@ -16717,7 +16819,7 @@ var index$1 = (function (props) {
|
|
|
16717
16819
|
}();
|
|
16718
16820
|
var getWlnOrderList = /*#__PURE__*/function () {
|
|
16719
16821
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(orderNo) {
|
|
16720
|
-
var _yield$request2, success, data;
|
|
16822
|
+
var _yield$request2, success, data, _valueRef$current2;
|
|
16721
16823
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
16722
16824
|
while (1) switch (_context2.prev = _context2.next) {
|
|
16723
16825
|
case 0:
|
|
@@ -16733,7 +16835,7 @@ var index$1 = (function (props) {
|
|
|
16733
16835
|
success = _yield$request2.success;
|
|
16734
16836
|
data = _yield$request2.data;
|
|
16735
16837
|
if (success) {
|
|
16736
|
-
_onChange(_objectSpread2(_objectSpread2({},
|
|
16838
|
+
_onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current2 = valueRef.current) !== null && _valueRef$current2 !== void 0 ? _valueRef$current2 : {}), {}, {
|
|
16737
16839
|
orders: data === null || data === void 0 ? void 0 : data.orders.map(function (item) {
|
|
16738
16840
|
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
16739
16841
|
billNo: item.tradeNo,
|
|
@@ -16770,7 +16872,7 @@ var index$1 = (function (props) {
|
|
|
16770
16872
|
var trades = ((data === null || data === void 0 ? void 0 : data.trades) || []).filter(function (item) {
|
|
16771
16873
|
return (item.srcTid || '').split(',').includes(orderNo);
|
|
16772
16874
|
});
|
|
16773
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({},
|
|
16875
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
|
|
16774
16876
|
orders: trades,
|
|
16775
16877
|
showOrderInfo: trades.map(function (_ref4) {
|
|
16776
16878
|
var billNo = _ref4.billNo,
|
|
@@ -16804,7 +16906,7 @@ var index$1 = (function (props) {
|
|
|
16804
16906
|
var trades = ((data === null || data === void 0 ? void 0 : data.orderList) || []).filter(function (item) {
|
|
16805
16907
|
return (item === null || item === void 0 ? void 0 : item.dealCode) === orderNo;
|
|
16806
16908
|
});
|
|
16807
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({},
|
|
16909
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
|
|
16808
16910
|
orders: trades,
|
|
16809
16911
|
showOrderInfo: trades
|
|
16810
16912
|
}));
|
|
@@ -16827,7 +16929,7 @@ var index$1 = (function (props) {
|
|
|
16827
16929
|
case 0:
|
|
16828
16930
|
jstUtils.getJstOrderListSingleton(orderNo).then(function (data) {
|
|
16829
16931
|
var trades = data || [];
|
|
16830
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({},
|
|
16932
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
|
|
16831
16933
|
orders: trades,
|
|
16832
16934
|
showOrderInfo: trades
|
|
16833
16935
|
}));
|
|
@@ -16849,7 +16951,7 @@ var index$1 = (function (props) {
|
|
|
16849
16951
|
while (1) switch (_context6.prev = _context6.next) {
|
|
16850
16952
|
case 0:
|
|
16851
16953
|
kmUtils.getOrderListSingleton(orderNo).then(function (trades) {
|
|
16852
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({},
|
|
16954
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
|
|
16853
16955
|
orders: trades,
|
|
16854
16956
|
showOrderInfo: trades.map(function (_ref8) {
|
|
16855
16957
|
var billNo = _ref8.billNo,
|
|
@@ -16883,7 +16985,7 @@ var index$1 = (function (props) {
|
|
|
16883
16985
|
var trades = ((data === null || data === void 0 ? void 0 : data.trades) || []).filter(function (item) {
|
|
16884
16986
|
return getIsPlatformCodesIncludeOrderNos(item.platformCode, orderNo);
|
|
16885
16987
|
});
|
|
16886
|
-
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({},
|
|
16988
|
+
_onChange === null || _onChange === void 0 ? void 0 : _onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
|
|
16887
16989
|
orders: trades,
|
|
16888
16990
|
showOrderInfo: trades.map(function (_ref10) {
|
|
16889
16991
|
var billNo = _ref10.billNo,
|
|
@@ -17125,9 +17227,10 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17125
17227
|
case 0:
|
|
17126
17228
|
wdtUtils.getWdtOrderListSingleton(orderNo).then(function (data) {
|
|
17127
17229
|
var orders = ((data === null || data === void 0 ? void 0 : data.trades) || []).filter(function (trade) {
|
|
17128
|
-
|
|
17230
|
+
var _valueRef$current;
|
|
17231
|
+
return (((_valueRef$current = valueRef.current) === null || _valueRef$current === void 0 ? void 0 : _valueRef$current.selectIds) || []).includes(trade.tradeNo);
|
|
17129
17232
|
});
|
|
17130
|
-
onChange(_objectSpread2(_objectSpread2({},
|
|
17233
|
+
onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, {
|
|
17131
17234
|
orders: orders
|
|
17132
17235
|
}));
|
|
17133
17236
|
});
|
|
@@ -17152,10 +17255,10 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17152
17255
|
};
|
|
17153
17256
|
setTableSelect(['2', '4'].includes(data.val));
|
|
17154
17257
|
if (['1', '3'].includes(data.val)) {
|
|
17155
|
-
var _valueRef$
|
|
17258
|
+
var _valueRef$current2, _valueRef$current3;
|
|
17156
17259
|
pubsub.publish(componentMap$1[compType].eventNameMap.selectListReturn, {
|
|
17157
|
-
list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$
|
|
17158
|
-
shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$
|
|
17260
|
+
list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current2 = valueRef.current) === null || _valueRef$current2 === void 0 ? void 0 : _valueRef$current2[componentMap$1[compType].key]) || []),
|
|
17261
|
+
shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current3 = valueRef.current) === null || _valueRef$current3 === void 0 ? void 0 : _valueRef$current3.shopCode,
|
|
17159
17262
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
17160
17263
|
});
|
|
17161
17264
|
}
|
|
@@ -17170,10 +17273,10 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17170
17273
|
};
|
|
17171
17274
|
setTableSelect(['2', '4'].includes(data.val));
|
|
17172
17275
|
if (['1', '3'].includes(data.val)) {
|
|
17173
|
-
var _valueRef$
|
|
17276
|
+
var _valueRef$current4, _valueRef$current5;
|
|
17174
17277
|
pubsub.publish(componentMap$1[compType].eventNameMap.reissueSelectListReturn, {
|
|
17175
|
-
list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$
|
|
17176
|
-
shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$
|
|
17278
|
+
list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current4 = valueRef.current) === null || _valueRef$current4 === void 0 ? void 0 : _valueRef$current4[componentMap$1[compType].key]) || []),
|
|
17279
|
+
shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current5 = valueRef.current) === null || _valueRef$current5 === void 0 ? void 0 : _valueRef$current5.shopCode,
|
|
17177
17280
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
17178
17281
|
});
|
|
17179
17282
|
}
|
|
@@ -17188,10 +17291,10 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17188
17291
|
};
|
|
17189
17292
|
setTableSelect(['2', '4'].includes(data.val));
|
|
17190
17293
|
if (['1', '3'].includes(data.val)) {
|
|
17191
|
-
var _valueRef$
|
|
17294
|
+
var _valueRef$current6, _valueRef$current7;
|
|
17192
17295
|
pubsub.publish(componentMap$1[compType].eventNameMap.returnSelectListReturn, {
|
|
17193
|
-
list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$
|
|
17194
|
-
shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$
|
|
17296
|
+
list: cloneDeep((valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current6 = valueRef.current) === null || _valueRef$current6 === void 0 ? void 0 : _valueRef$current6[componentMap$1[compType].key]) || []),
|
|
17297
|
+
shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current7 = valueRef.current) === null || _valueRef$current7 === void 0 ? void 0 : _valueRef$current7.shopCode,
|
|
17195
17298
|
goodValue: data === null || data === void 0 ? void 0 : data.goodValue
|
|
17196
17299
|
});
|
|
17197
17300
|
}
|
|
@@ -17207,7 +17310,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17207
17310
|
};
|
|
17208
17311
|
}, [disabled]);
|
|
17209
17312
|
var _onSelect = function onSelect(list) {
|
|
17210
|
-
var _typeMap, _withInfo$current, _withInfo$current2, _valueRef$
|
|
17313
|
+
var _typeMap, _withInfo$current, _withInfo$current2, _valueRef$current8;
|
|
17211
17314
|
if (disabled) return;
|
|
17212
17315
|
var newList = cloneDeep(list);
|
|
17213
17316
|
var typeMap = (_typeMap = {
|
|
@@ -17224,7 +17327,7 @@ var CommonGoods = function CommonGoods(props) {
|
|
|
17224
17327
|
item.canDelete = true;
|
|
17225
17328
|
return item;
|
|
17226
17329
|
}),
|
|
17227
|
-
shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$
|
|
17330
|
+
shopCode: valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current8 = valueRef.current) === null || _valueRef$current8 === void 0 ? void 0 : _valueRef$current8.shopCode,
|
|
17228
17331
|
goodValue: withInfo.current.goodValue
|
|
17229
17332
|
});
|
|
17230
17333
|
};
|
|
@@ -17637,8 +17740,10 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17637
17740
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17638
17741
|
isStrict = _useState2[0],
|
|
17639
17742
|
setIsStrict = _useState2[1];
|
|
17743
|
+
var valueRef = useRef(null);
|
|
17640
17744
|
useEffect(function () {
|
|
17641
17745
|
var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
|
|
17746
|
+
valueRef.current = value;
|
|
17642
17747
|
if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$1[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$1[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
|
|
17643
17748
|
var _value$typeMap$type$s4, _typeMap$type3;
|
|
17644
17749
|
getOrderFlag.current = true;
|
|
@@ -17683,7 +17788,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17683
17788
|
while (1) switch (_context.prev = _context.next) {
|
|
17684
17789
|
case 0:
|
|
17685
17790
|
(_typeMap$type4 = typeMap$1[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
|
|
17686
|
-
var _typeMap$type5, _typeMap$type6;
|
|
17791
|
+
var _typeMap$type5, _ref3, _typeMap$type6;
|
|
17687
17792
|
var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
|
|
17688
17793
|
var showOrderInfo = orders.map(function (_ref2) {
|
|
17689
17794
|
var billNo = _ref2.billNo,
|
|
@@ -17695,7 +17800,7 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17695
17800
|
billTag: billTag
|
|
17696
17801
|
};
|
|
17697
17802
|
});
|
|
17698
|
-
onChange(_objectSpread2(_objectSpread2({},
|
|
17803
|
+
onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$1[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$1[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) || {}), {}, {
|
|
17699
17804
|
showOrderInfo: showOrderInfo,
|
|
17700
17805
|
orders: orders
|
|
17701
17806
|
}))));
|
|
@@ -17738,10 +17843,10 @@ var wdtReissue = function wdtReissue(props) {
|
|
|
17738
17843
|
mode: mode
|
|
17739
17844
|
}))));
|
|
17740
17845
|
};
|
|
17741
|
-
var getGoodDetails = function getGoodDetails(
|
|
17846
|
+
var getGoodDetails = function getGoodDetails(_ref4) {
|
|
17742
17847
|
var _typeMap$type13, _typeMap$type14, _order$goodDetails;
|
|
17743
|
-
var mode =
|
|
17744
|
-
sysOrderNo =
|
|
17848
|
+
var mode = _ref4.mode,
|
|
17849
|
+
sysOrderNo = _ref4.sysOrderNo;
|
|
17745
17850
|
var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type13 = typeMap$1[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.systemOrder];
|
|
17746
17851
|
var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type14 = typeMap$1[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.systemOrderNo];
|
|
17747
17852
|
var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
|
|
@@ -17882,6 +17987,7 @@ var typeMap$2 = {
|
|
|
17882
17987
|
systemOrderBillType: 'jstSystemOrderBillType',
|
|
17883
17988
|
getOrderList: jstUtils.getJstOrderListSingleton,
|
|
17884
17989
|
updateGoodsHandle: updateJstGoodsHandle,
|
|
17990
|
+
alwaysShowChooseErpGoodsBtn: true,
|
|
17885
17991
|
orderTypeKey: 'orderType',
|
|
17886
17992
|
oIdKey: 'oId',
|
|
17887
17993
|
outerOiIdKey: '',
|
|
@@ -17896,11 +18002,11 @@ var typeMap$2 = {
|
|
|
17896
18002
|
systemOrderBillType: 'jstSystemOrderBillType',
|
|
17897
18003
|
getOrderList: jstUtils.getJstOrderListSingleton,
|
|
17898
18004
|
updateGoodsHandle: updateJstGoodsHandle,
|
|
18005
|
+
alwaysShowChooseErpGoodsBtn: true,
|
|
17899
18006
|
orderTypeKey: 'orderType',
|
|
17900
18007
|
oIdKey: 'oId',
|
|
17901
18008
|
outerOiIdKey: '',
|
|
17902
18009
|
goodDetailsKey: 'items',
|
|
17903
|
-
showErpGoodsBtn: false,
|
|
17904
18010
|
eventNameMap: {
|
|
17905
18011
|
// pubsub 事件
|
|
17906
18012
|
exchangeCopyGood: 'jstExchangeCopyGood',
|
|
@@ -17911,7 +18017,7 @@ var typeMap$2 = {
|
|
|
17911
18017
|
}
|
|
17912
18018
|
};
|
|
17913
18019
|
var PublicReissue = function PublicReissue(props) {
|
|
17914
|
-
var _typeMap$type31, _typeMap$type34, _typeMap$type35, _typeMap$type36, _typeMap$type37, _value$typeMap$type$s6, _typeMap$type38, _typeMap$type39, _typeMap$type40, _typeMap$type41, _typeMap$type42, _typeMap$type43;
|
|
18020
|
+
var _typeMap$type31, _typeMap$type34, _typeMap$type35, _typeMap$type36, _typeMap$type37, _value$typeMap$type$s6, _typeMap$type38, _typeMap$type39, _typeMap$type40, _typeMap$type41, _typeMap$type42, _typeMap$type43, _typeMap$type44;
|
|
17915
18021
|
var value = props.value,
|
|
17916
18022
|
onChange = props.onChange,
|
|
17917
18023
|
_props$reasonList = props.reasonList,
|
|
@@ -17965,13 +18071,13 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
17965
18071
|
while (1) switch (_context.prev = _context.next) {
|
|
17966
18072
|
case 0:
|
|
17967
18073
|
(_typeMap$type4 = typeMap$2[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
|
|
17968
|
-
var _typeMap$type5, _typeMap$type6, _typeMap$type10, _typeMap$type11;
|
|
18074
|
+
var _valueRef$current3, _typeMap$type5, _typeMap$type6, _typeMap$type10, _ref3, _typeMap$type11;
|
|
17969
18075
|
var orders = data || [];
|
|
17970
18076
|
var showOrderInfo = orders.map(function (orderItem) {
|
|
17971
18077
|
return _defineProperty({}, typeMap$2[type].oIdKey, orderItem[typeMap$2[type].oIdKey]);
|
|
17972
18078
|
});
|
|
17973
18079
|
var typeObj = {};
|
|
17974
|
-
var systemOrderNo =
|
|
18080
|
+
var systemOrderNo = valueRef === null || valueRef === void 0 ? void 0 : (_valueRef$current3 = valueRef.current) === null || _valueRef$current3 === void 0 ? void 0 : _valueRef$current3[(_typeMap$type5 = typeMap$2[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrderNo];
|
|
17975
18081
|
if (typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type6 = typeMap$2[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrderBillType) {
|
|
17976
18082
|
var _typeMap$type8, _typeMap$type9;
|
|
17977
18083
|
var targetOrder = orders.find(function (oItem) {
|
|
@@ -17980,7 +18086,7 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
17980
18086
|
});
|
|
17981
18087
|
typeObj[(_typeMap$type8 = typeMap$2[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.systemOrderBillType] = targetOrder === null || targetOrder === void 0 ? void 0 : targetOrder[(_typeMap$type9 = typeMap$2[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.orderTypeKey];
|
|
17982
18088
|
}
|
|
17983
|
-
onChange(_objectSpread2(_objectSpread2(_objectSpread2({},
|
|
18089
|
+
onChange(_objectSpread2(_objectSpread2(_objectSpread2({}, valueRef.current || {}), typeObj), {}, _defineProperty({}, (_typeMap$type10 = typeMap$2[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type11 = typeMap$2[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.systemOrder]) || {}), {}, {
|
|
17984
18090
|
showOrderInfo: showOrderInfo,
|
|
17985
18091
|
orders: orders
|
|
17986
18092
|
}))));
|
|
@@ -18023,10 +18129,10 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
18023
18129
|
mode: mode
|
|
18024
18130
|
}))));
|
|
18025
18131
|
};
|
|
18026
|
-
var getGoodDetails = function getGoodDetails(
|
|
18132
|
+
var getGoodDetails = function getGoodDetails(_ref4) {
|
|
18027
18133
|
var _typeMap$type17, _typeMap$type18, _order$typeMap$type$g, _typeMap$type19;
|
|
18028
|
-
var mode =
|
|
18029
|
-
sysOrderNo =
|
|
18134
|
+
var mode = _ref4.mode,
|
|
18135
|
+
sysOrderNo = _ref4.sysOrderNo;
|
|
18030
18136
|
var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type17 = typeMap$2[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.systemOrder];
|
|
18031
18137
|
var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type18 = typeMap$2[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.systemOrderNo];
|
|
18032
18138
|
var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
|
|
@@ -18152,9 +18258,10 @@ var PublicReissue = function PublicReissue(props) {
|
|
|
18152
18258
|
disabled: disabled,
|
|
18153
18259
|
canUpdateNumber: showChangeBtn,
|
|
18154
18260
|
showChangeBtn: showChangeBtn,
|
|
18155
|
-
|
|
18261
|
+
alwaysShowChooseErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type42 = typeMap$2[type]) === null || _typeMap$type42 === void 0 ? void 0 : _typeMap$type42.alwaysShowChooseErpGoodsBtn,
|
|
18262
|
+
showErpGoodsBtn: typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type43 = typeMap$2[type]) === null || _typeMap$type43 === void 0 ? void 0 : _typeMap$type43.showErpGoodsBtn,
|
|
18156
18263
|
shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
|
|
18157
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$
|
|
18264
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$2 === null || typeMap$2 === void 0 ? void 0 : (_typeMap$type44 = typeMap$2[type]) === null || _typeMap$type44 === void 0 ? void 0 : _typeMap$type44.key)],
|
|
18158
18265
|
onChange: function onChange(val) {
|
|
18159
18266
|
return changeGoodHandle(val);
|
|
18160
18267
|
},
|
|
@@ -18963,6 +19070,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18963
19070
|
type = props.type,
|
|
18964
19071
|
other = _objectWithoutProperties(props, _excluded$m);
|
|
18965
19072
|
var getOrderFlag = useRef(false);
|
|
19073
|
+
var valueRef = useRef(null);
|
|
18966
19074
|
var _useState = useState(false),
|
|
18967
19075
|
_useState2 = _slicedToArray(_useState, 2),
|
|
18968
19076
|
isStrict = _useState2[0],
|
|
@@ -18970,6 +19078,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18970
19078
|
// TODO: 在修改场景下手动获取一次订单详情中数据
|
|
18971
19079
|
useEffect(function () {
|
|
18972
19080
|
var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
|
|
19081
|
+
valueRef.current = value;
|
|
18973
19082
|
if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$3[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$3[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
|
|
18974
19083
|
var _value$typeMap$type$s4, _typeMap$type3;
|
|
18975
19084
|
getOrderFlag.current = true;
|
|
@@ -18998,7 +19107,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
18998
19107
|
while (1) switch (_context.prev = _context.next) {
|
|
18999
19108
|
case 0:
|
|
19000
19109
|
(_typeMap$type4 = typeMap$3[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
|
|
19001
|
-
var _typeMap$type5, _typeMap$type6;
|
|
19110
|
+
var _typeMap$type5, _ref3, _typeMap$type6;
|
|
19002
19111
|
var orders = (data === null || data === void 0 ? void 0 : data.orderList) || [];
|
|
19003
19112
|
var showOrderInfo = orders.map(function (_ref2) {
|
|
19004
19113
|
var orderSn = _ref2.orderSn;
|
|
@@ -19006,7 +19115,7 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
19006
19115
|
billNo: orderSn
|
|
19007
19116
|
};
|
|
19008
19117
|
});
|
|
19009
|
-
onChange(_objectSpread2(_objectSpread2({},
|
|
19118
|
+
onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$3[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$3[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) || {}), {}, {
|
|
19010
19119
|
showOrderInfo: showOrderInfo,
|
|
19011
19120
|
orders: orders
|
|
19012
19121
|
}))));
|
|
@@ -19049,10 +19158,10 @@ var bsE3Reissue = function bsE3Reissue(props) {
|
|
|
19049
19158
|
mode: mode
|
|
19050
19159
|
}))));
|
|
19051
19160
|
};
|
|
19052
|
-
var getGoodDetails = function getGoodDetails(
|
|
19161
|
+
var getGoodDetails = function getGoodDetails(_ref4) {
|
|
19053
19162
|
var _typeMap$type12, _typeMap$type13, _order$orderDetailGet;
|
|
19054
|
-
var mode =
|
|
19055
|
-
sysOrderNo =
|
|
19163
|
+
var mode = _ref4.mode,
|
|
19164
|
+
sysOrderNo = _ref4.sysOrderNo;
|
|
19056
19165
|
var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type12 = typeMap$3[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.systemOrder];
|
|
19057
19166
|
var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type13 = typeMap$3[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.systemOrderNo];
|
|
19058
19167
|
var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
|
|
@@ -19199,7 +19308,7 @@ var typeMap$4 = {
|
|
|
19199
19308
|
}
|
|
19200
19309
|
};
|
|
19201
19310
|
var GyReissue = function GyReissue(props) {
|
|
19202
|
-
var
|
|
19311
|
+
var _typeMap$type28, _typeMap$type30, _typeMap$type31, _value$typeMap$type$s5, _typeMap$type32, _typeMap$type33, _typeMap$type34;
|
|
19203
19312
|
var value = props.value,
|
|
19204
19313
|
onChange = props.onChange,
|
|
19205
19314
|
_props$reasonList = props.reasonList,
|
|
@@ -19207,17 +19316,18 @@ var GyReissue = function GyReissue(props) {
|
|
|
19207
19316
|
disabled = props.disabled,
|
|
19208
19317
|
type = props.type,
|
|
19209
19318
|
other = _objectWithoutProperties(props, _excluded$n);
|
|
19210
|
-
|
|
19211
|
-
|
|
19212
|
-
|
|
19213
|
-
});
|
|
19319
|
+
// const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
|
|
19320
|
+
// order?.platformCode?.includes(';'),
|
|
19321
|
+
// );
|
|
19214
19322
|
var getOrderFlag = useRef(false);
|
|
19323
|
+
var valueRef = useRef(null);
|
|
19215
19324
|
var _useState = useState(false),
|
|
19216
19325
|
_useState2 = _slicedToArray(_useState, 2),
|
|
19217
19326
|
isStrict = _useState2[0],
|
|
19218
19327
|
setIsStrict = _useState2[1];
|
|
19219
19328
|
useEffect(function () {
|
|
19220
19329
|
var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
|
|
19330
|
+
valueRef.current = value;
|
|
19221
19331
|
if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$4[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$4[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
|
|
19222
19332
|
var _value$typeMap$type$s4, _typeMap$type3;
|
|
19223
19333
|
getOrderFlag.current = true;
|
|
@@ -19232,7 +19342,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
19232
19342
|
while (1) switch (_context.prev = _context.next) {
|
|
19233
19343
|
case 0:
|
|
19234
19344
|
(_typeMap$type4 = typeMap$4[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
|
|
19235
|
-
var _typeMap$type5, _typeMap$type6;
|
|
19345
|
+
var _typeMap$type5, _ref3, _typeMap$type6, _typeMap$type7, _ref4, _typeMap$type8;
|
|
19236
19346
|
var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
|
|
19237
19347
|
var showOrderInfo = orders.map(function (_ref2) {
|
|
19238
19348
|
var billNo = _ref2.billNo,
|
|
@@ -19254,7 +19364,14 @@ var GyReissue = function GyReissue(props) {
|
|
|
19254
19364
|
shopCode: shopCode
|
|
19255
19365
|
});
|
|
19256
19366
|
});
|
|
19257
|
-
|
|
19367
|
+
pushGyLog('getOrderList', {
|
|
19368
|
+
before: valueRef.current,
|
|
19369
|
+
after: _objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$4[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref3 = valueRef.current || {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$4[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) || {}), {}, {
|
|
19370
|
+
showOrderInfo: showOrderInfo,
|
|
19371
|
+
orders: orders
|
|
19372
|
+
})))
|
|
19373
|
+
});
|
|
19374
|
+
onChange(_objectSpread2(_objectSpread2({}, valueRef.current || {}), {}, _defineProperty({}, (_typeMap$type7 = typeMap$4[type]) === null || _typeMap$type7 === void 0 ? void 0 : _typeMap$type7.systemOrder, _objectSpread2(_objectSpread2({}, ((_ref4 = valueRef.current || {}) === null || _ref4 === void 0 ? void 0 : _ref4[(_typeMap$type8 = typeMap$4[type]) === null || _typeMap$type8 === void 0 ? void 0 : _typeMap$type8.systemOrder]) || {}), {}, {
|
|
19258
19375
|
showOrderInfo: showOrderInfo,
|
|
19259
19376
|
orders: orders
|
|
19260
19377
|
}))));
|
|
@@ -19270,39 +19387,41 @@ var GyReissue = function GyReissue(props) {
|
|
|
19270
19387
|
};
|
|
19271
19388
|
}();
|
|
19272
19389
|
var changeTypeHandle = function changeTypeHandle(val) {
|
|
19273
|
-
var _value$typeMap$type$t, _typeMap$
|
|
19390
|
+
var _value$typeMap$type$t, _typeMap$type9, _typeMap$type10;
|
|
19391
|
+
pushGyLog('beforeChangeType', value);
|
|
19274
19392
|
var typeName = val === null || val === void 0 ? void 0 : val[0];
|
|
19275
|
-
if (typeName === (value === null || value === void 0 ? void 0 : (_value$typeMap$type$t = value[(_typeMap$
|
|
19393
|
+
if (typeName === (value === null || value === void 0 ? void 0 : (_value$typeMap$type$t = value[(_typeMap$type9 = typeMap$4[type]) === null || _typeMap$type9 === void 0 ? void 0 : _typeMap$type9.typeName]) === null || _value$typeMap$type$t === void 0 ? void 0 : _value$typeMap$type$t[0])) return;
|
|
19276
19394
|
// const systemOrderNo = value?.[typeMap[type]?.systemOrderNo];
|
|
19277
19395
|
var newValue = _objectSpread2({}, value);
|
|
19278
|
-
newValue[(_typeMap$
|
|
19396
|
+
newValue[(_typeMap$type10 = typeMap$4[type]) === null || _typeMap$type10 === void 0 ? void 0 : _typeMap$type10.typeName] = val;
|
|
19279
19397
|
if (typeName === '1') {
|
|
19280
|
-
var _typeMap$
|
|
19281
|
-
newValue[(_typeMap$
|
|
19398
|
+
var _typeMap$type11;
|
|
19399
|
+
newValue[(_typeMap$type11 = typeMap$4[type]) === null || _typeMap$type11 === void 0 ? void 0 : _typeMap$type11.key] = getGoodDetails({
|
|
19282
19400
|
mode: isStrict
|
|
19283
19401
|
});
|
|
19284
19402
|
} else if (typeName === '2') {
|
|
19285
|
-
var _typeMap$
|
|
19403
|
+
var _typeMap$type12;
|
|
19286
19404
|
// 切换到非原单,清空列表
|
|
19287
|
-
newValue[(_typeMap$
|
|
19405
|
+
newValue[(_typeMap$type12 = typeMap$4[type]) === null || _typeMap$type12 === void 0 ? void 0 : _typeMap$type12.key] = [];
|
|
19288
19406
|
}
|
|
19407
|
+
pushGyLog('afterChangeType', newValue);
|
|
19289
19408
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
19290
19409
|
};
|
|
19291
19410
|
var handleModeChange = function handleModeChange(mode) {
|
|
19292
|
-
var _value$typeMap$type$t2, _typeMap$
|
|
19293
|
-
var isOriginalOrder = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$
|
|
19411
|
+
var _value$typeMap$type$t2, _typeMap$type13, _typeMap$type14;
|
|
19412
|
+
var isOriginalOrder = (value === null || value === void 0 ? void 0 : (_value$typeMap$type$t2 = value[(_typeMap$type13 = typeMap$4[type]) === null || _typeMap$type13 === void 0 ? void 0 : _typeMap$type13.typeName]) === null || _value$typeMap$type$t2 === void 0 ? void 0 : _value$typeMap$type$t2[0]) === '1';
|
|
19294
19413
|
setIsStrict(mode);
|
|
19295
19414
|
if (!isOriginalOrder) return;
|
|
19296
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$
|
|
19415
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(_objectSpread2(_objectSpread2({}, value), {}, _defineProperty({}, (_typeMap$type14 = typeMap$4[type]) === null || _typeMap$type14 === void 0 ? void 0 : _typeMap$type14.key, getGoodDetails({
|
|
19297
19416
|
mode: mode
|
|
19298
19417
|
}))));
|
|
19299
19418
|
};
|
|
19300
|
-
var getGoodDetails = function getGoodDetails(
|
|
19301
|
-
var _typeMap$
|
|
19302
|
-
var mode =
|
|
19303
|
-
sysOrderNo =
|
|
19304
|
-
var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
19305
|
-
var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
19419
|
+
var getGoodDetails = function getGoodDetails(_ref5) {
|
|
19420
|
+
var _typeMap$type15, _typeMap$type16, _order$details;
|
|
19421
|
+
var mode = _ref5.mode,
|
|
19422
|
+
sysOrderNo = _ref5.sysOrderNo;
|
|
19423
|
+
var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type15 = typeMap$4[type]) === null || _typeMap$type15 === void 0 ? void 0 : _typeMap$type15.systemOrder];
|
|
19424
|
+
var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type16 = typeMap$4[type]) === null || _typeMap$type16 === void 0 ? void 0 : _typeMap$type16.systemOrderNo];
|
|
19306
19425
|
var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
|
|
19307
19426
|
return order.code === systemOrderNo;
|
|
19308
19427
|
});
|
|
@@ -19313,52 +19432,58 @@ var GyReissue = function GyReissue(props) {
|
|
|
19313
19432
|
}) : goodDetails;
|
|
19314
19433
|
};
|
|
19315
19434
|
var changeGoodHandle = function changeGoodHandle(val) {
|
|
19316
|
-
var _typeMap$
|
|
19435
|
+
var _typeMap$type17;
|
|
19436
|
+
pushGyLog('beforeChangeGood', value);
|
|
19317
19437
|
var newValue = _objectSpread2({}, value);
|
|
19318
|
-
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19319
|
-
var _typeMap$
|
|
19320
|
-
item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19321
|
-
item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19438
|
+
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type17 = typeMap$4[type]) === null || _typeMap$type17 === void 0 ? void 0 : _typeMap$type17.key)] = (val || []).map(function (item) {
|
|
19439
|
+
var _typeMap$type18, _typeMap$type19;
|
|
19440
|
+
item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type18 = typeMap$4[type]) === null || _typeMap$type18 === void 0 ? void 0 : _typeMap$type18.formatDefaultField.money)] = 0;
|
|
19441
|
+
item["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type19 = typeMap$4[type]) === null || _typeMap$type19 === void 0 ? void 0 : _typeMap$type19.formatDefaultField.share)] = 0;
|
|
19322
19442
|
return item;
|
|
19323
19443
|
});
|
|
19444
|
+
pushGyLog('afterChangeGood', newValue);
|
|
19324
19445
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
19325
19446
|
};
|
|
19326
19447
|
var changeSystemOrderHandle = function changeSystemOrderHandle(val) {
|
|
19327
|
-
var _typeMap$
|
|
19448
|
+
var _typeMap$type20, _value$typeMap$type$t3, _typeMap$type21, _value$typeMap$type$t4, _typeMap$type23;
|
|
19449
|
+
pushGyLog('beforeChangeSystemOrder', value);
|
|
19328
19450
|
var newValue = _objectSpread2({}, value);
|
|
19329
|
-
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19330
|
-
if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$
|
|
19331
|
-
var _typeMap$type20;
|
|
19332
|
-
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type20 = typeMap$4[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.key)] = [];
|
|
19333
|
-
} else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t4 = value[(_typeMap$type21 = typeMap$4[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]) === null || _value$typeMap$type$t4 === void 0 ? void 0 : _value$typeMap$type$t4[0])) {
|
|
19451
|
+
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type20 = typeMap$4[type]) === null || _typeMap$type20 === void 0 ? void 0 : _typeMap$type20.systemOrderNo)] = val;
|
|
19452
|
+
if (['2'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t3 = value[(_typeMap$type21 = typeMap$4[type]) === null || _typeMap$type21 === void 0 ? void 0 : _typeMap$type21.typeName]) === null || _value$typeMap$type$t3 === void 0 ? void 0 : _value$typeMap$type$t3[0])) {
|
|
19334
19453
|
var _typeMap$type22;
|
|
19335
|
-
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type22 = typeMap$4[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] =
|
|
19454
|
+
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type22 = typeMap$4[type]) === null || _typeMap$type22 === void 0 ? void 0 : _typeMap$type22.key)] = [];
|
|
19455
|
+
} else if (['1'].includes(value === null || value === void 0 ? void 0 : (_value$typeMap$type$t4 = value[(_typeMap$type23 = typeMap$4[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.typeName]) === null || _value$typeMap$type$t4 === void 0 ? void 0 : _value$typeMap$type$t4[0])) {
|
|
19456
|
+
var _typeMap$type24;
|
|
19457
|
+
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type24 = typeMap$4[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.key)] = getGoodDetails({
|
|
19336
19458
|
mode: isStrict,
|
|
19337
19459
|
sysOrderNo: val
|
|
19338
19460
|
});
|
|
19339
19461
|
}
|
|
19462
|
+
pushGyLog('afterChangeSystemOrder', newValue);
|
|
19340
19463
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
19341
19464
|
};
|
|
19342
19465
|
var selectedGoodsChange = useCallback(function (skuList) {
|
|
19343
|
-
var _typeMap$
|
|
19466
|
+
var _typeMap$type25, _typeMap$type26, _uniqBy, _typeMap$type27;
|
|
19467
|
+
pushGyLog('beforeSelectedGoodsChange', value);
|
|
19344
19468
|
var newValue = _objectSpread2({}, value);
|
|
19345
19469
|
// 原订单商品
|
|
19346
19470
|
var originTradeGoodList = getGoodDetails({
|
|
19347
19471
|
mode: isStrict
|
|
19348
19472
|
}) || [];
|
|
19349
19473
|
// 当前选中的所有商品【包含了原订单+商品库】
|
|
19350
|
-
var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19351
|
-
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19474
|
+
var currentSelectGoodList = (value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type25 = typeMap$4[type]) === null || _typeMap$type25 === void 0 ? void 0 : _typeMap$type25.key)]) || [];
|
|
19475
|
+
newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type26 = typeMap$4[type]) === null || _typeMap$type26 === void 0 ? void 0 : _typeMap$type26.key)] = (_uniqBy = uniqBy(originTradeGoodList.concat(currentSelectGoodList), 'uuid')) === null || _uniqBy === void 0 ? void 0 : _uniqBy.filter(function (item) {
|
|
19352
19476
|
return skuList.includes(item.uuid);
|
|
19353
19477
|
});
|
|
19354
|
-
console.log('商品发生变化', newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19478
|
+
console.log('商品发生变化', newValue["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type27 = typeMap$4[type]) === null || _typeMap$type27 === void 0 ? void 0 : _typeMap$type27.key)]);
|
|
19355
19479
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
19356
|
-
|
|
19480
|
+
pushGyLog('afterSelectedGoodsChange', newValue);
|
|
19481
|
+
}, [value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type28 = typeMap$4[type]) === null || _typeMap$type28 === void 0 ? void 0 : _typeMap$type28.key)], isStrict]);
|
|
19357
19482
|
//系统单选择后展示选择商品按钮,系统单未选择的时候不展示
|
|
19358
19483
|
var showChangeBtn = useMemo(function () {
|
|
19359
|
-
var _typeMap$
|
|
19360
|
-
return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
19361
|
-
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$
|
|
19484
|
+
var _typeMap$type29;
|
|
19485
|
+
return !!(value === null || value === void 0 ? void 0 : value[(_typeMap$type29 = typeMap$4[type]) === null || _typeMap$type29 === void 0 ? void 0 : _typeMap$type29.systemOrderNo]);
|
|
19486
|
+
}, [value === null || value === void 0 ? void 0 : value[(_typeMap$type30 = typeMap$4[type]) === null || _typeMap$type30 === void 0 ? void 0 : _typeMap$type30.systemOrderNo]]);
|
|
19362
19487
|
return /*#__PURE__*/React.createElement("div", {
|
|
19363
19488
|
id: "TEST_GY",
|
|
19364
19489
|
onClick: function onClick() {
|
|
@@ -19381,12 +19506,12 @@ var GyReissue = function GyReissue(props) {
|
|
|
19381
19506
|
},
|
|
19382
19507
|
disabled: disabled,
|
|
19383
19508
|
allowClear: false,
|
|
19384
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19509
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type31 = typeMap$4[type]) === null || _typeMap$type31 === void 0 ? void 0 : _typeMap$type31.systemOrderNo)],
|
|
19385
19510
|
onChange: function onChange(val) {
|
|
19386
19511
|
return changeSystemOrderHandle(val);
|
|
19387
19512
|
},
|
|
19388
19513
|
placeholder: "\u9009\u62E9\u8865\u53D1\u7CFB\u7EDF\u5355"
|
|
19389
|
-
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$
|
|
19514
|
+
}, ((value === null || value === void 0 ? void 0 : (_value$typeMap$type$s5 = value[(_typeMap$type32 = typeMap$4[type]) === null || _typeMap$type32 === void 0 ? void 0 : _typeMap$type32.systemOrder]) === null || _value$typeMap$type$s5 === void 0 ? void 0 : _value$typeMap$type$s5.showOrderInfo) || []).map(function (item) {
|
|
19390
19515
|
return /*#__PURE__*/React.createElement(Select.Option, {
|
|
19391
19516
|
key: item.billNo,
|
|
19392
19517
|
value: item.billNo,
|
|
@@ -19407,7 +19532,7 @@ var GyReissue = function GyReissue(props) {
|
|
|
19407
19532
|
disabled: disabled,
|
|
19408
19533
|
allowClear: false,
|
|
19409
19534
|
options: reasonList,
|
|
19410
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19535
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type33 = typeMap$4[type]) === null || _typeMap$type33 === void 0 ? void 0 : _typeMap$type33.typeName)],
|
|
19411
19536
|
onChange: function onChange(val) {
|
|
19412
19537
|
return changeTypeHandle(val);
|
|
19413
19538
|
}
|
|
@@ -19419,12 +19544,11 @@ var GyReissue = function GyReissue(props) {
|
|
|
19419
19544
|
canUpdateNumber: showChangeBtn,
|
|
19420
19545
|
showChangeBtn: showChangeBtn,
|
|
19421
19546
|
shopCode: value === null || value === void 0 ? void 0 : value.shopCode,
|
|
19422
|
-
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$
|
|
19547
|
+
value: value === null || value === void 0 ? void 0 : value["".concat(typeMap$4 === null || typeMap$4 === void 0 ? void 0 : (_typeMap$type34 = typeMap$4[type]) === null || _typeMap$type34 === void 0 ? void 0 : _typeMap$type34.key)],
|
|
19423
19548
|
onChange: function onChange(val) {
|
|
19424
19549
|
return changeGoodHandle(val);
|
|
19425
19550
|
},
|
|
19426
19551
|
onModeChange: handleModeChange,
|
|
19427
|
-
showModeBtn: showModeBtn,
|
|
19428
19552
|
isStrict: isStrict,
|
|
19429
19553
|
tradeGoods: {
|
|
19430
19554
|
originDataSource: getGoodDetails({
|
|
@@ -19457,7 +19581,7 @@ var typeMap$5 = {
|
|
|
19457
19581
|
}
|
|
19458
19582
|
};
|
|
19459
19583
|
var GyReturnGoods = function GyReturnGoods(props) {
|
|
19460
|
-
var
|
|
19584
|
+
var _typeMap$type10, _typeMap$type28, _typeMap$type29, _value$typeMap$type$s5, _typeMap$type30, _typeMap$type31, _typeMap$type32;
|
|
19461
19585
|
var value = props.value,
|
|
19462
19586
|
onChange = props.onChange,
|
|
19463
19587
|
_props$reasonList = props.reasonList,
|
|
@@ -19471,12 +19595,12 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
19471
19595
|
_useState2 = _slicedToArray(_useState, 2),
|
|
19472
19596
|
isStrict = _useState2[0],
|
|
19473
19597
|
setIsStrict = _useState2[1];
|
|
19474
|
-
|
|
19475
|
-
|
|
19476
|
-
|
|
19477
|
-
});
|
|
19598
|
+
// const showModeBtn = (value?.gySystemOrder?.orders || []).some((order: any) =>
|
|
19599
|
+
// order?.platformCode?.includes(';'),
|
|
19600
|
+
// );
|
|
19478
19601
|
useEffect(function () {
|
|
19479
19602
|
var _value$typeMap$type$s, _value$typeMap$type$s2, _typeMap$type, _value$typeMap$type$s3, _typeMap$type2;
|
|
19603
|
+
valueRef.current = value;
|
|
19480
19604
|
if (!getOrderFlag.current && !(value === null || value === void 0 ? void 0 : (_value$typeMap$type$s = value[(_typeMap$type = typeMap$5[type]) === null || _typeMap$type === void 0 ? void 0 : _typeMap$type.systemOrder]) === null || _value$typeMap$type$s === void 0 ? void 0 : (_value$typeMap$type$s2 = _value$typeMap$type$s.orders) === null || _value$typeMap$type$s2 === void 0 ? void 0 : _value$typeMap$type$s2.length) && (value === null || value === void 0 ? void 0 : (_value$typeMap$type$s3 = value[(_typeMap$type2 = typeMap$5[type]) === null || _typeMap$type2 === void 0 ? void 0 : _typeMap$type2.systemOrder]) === null || _value$typeMap$type$s3 === void 0 ? void 0 : _value$typeMap$type$s3.orderNo)) {
|
|
19481
19605
|
var _value$typeMap$type$s4, _typeMap$type3;
|
|
19482
19606
|
getOrderFlag.current = true;
|
|
@@ -19527,7 +19651,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
19527
19651
|
while (1) switch (_context.prev = _context.next) {
|
|
19528
19652
|
case 0:
|
|
19529
19653
|
(_typeMap$type4 = typeMap$5[type]) === null || _typeMap$type4 === void 0 ? void 0 : _typeMap$type4.getOrderList(orderNo).then(function (data) {
|
|
19530
|
-
var _typeMap$type5, _typeMap$type6;
|
|
19654
|
+
var _valueRef$current, _typeMap$type5, _typeMap$type$systemO, _ref3, _valueRef$current2, _typeMap$type6;
|
|
19531
19655
|
var orders = (data === null || data === void 0 ? void 0 : data.trades) || [];
|
|
19532
19656
|
var showOrderInfo = orders.map(function (_ref2) {
|
|
19533
19657
|
var billNo = _ref2.billNo,
|
|
@@ -19549,7 +19673,7 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
19549
19673
|
shopCode: shopCode
|
|
19550
19674
|
});
|
|
19551
19675
|
});
|
|
19552
|
-
onChange(_objectSpread2(_objectSpread2({},
|
|
19676
|
+
onChange(_objectSpread2(_objectSpread2({}, (_valueRef$current = valueRef.current) !== null && _valueRef$current !== void 0 ? _valueRef$current : {}), {}, _defineProperty({}, (_typeMap$type5 = typeMap$5[type]) === null || _typeMap$type5 === void 0 ? void 0 : _typeMap$type5.systemOrder, _objectSpread2(_objectSpread2({}, (_typeMap$type$systemO = (_ref3 = (_valueRef$current2 = valueRef.current) !== null && _valueRef$current2 !== void 0 ? _valueRef$current2 : {}) === null || _ref3 === void 0 ? void 0 : _ref3[(_typeMap$type6 = typeMap$5[type]) === null || _typeMap$type6 === void 0 ? void 0 : _typeMap$type6.systemOrder]) !== null && _typeMap$type$systemO !== void 0 ? _typeMap$type$systemO : {}), {}, {
|
|
19553
19677
|
showOrderInfo: showOrderInfo,
|
|
19554
19678
|
orders: orders
|
|
19555
19679
|
}))));
|
|
@@ -19625,10 +19749,10 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
19625
19749
|
}
|
|
19626
19750
|
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
19627
19751
|
};
|
|
19628
|
-
var getGoodDetails = function getGoodDetails(
|
|
19752
|
+
var getGoodDetails = function getGoodDetails(_ref4) {
|
|
19629
19753
|
var _typeMap$type23, _typeMap$type24, _order$details;
|
|
19630
|
-
var mode =
|
|
19631
|
-
sysOrderNo =
|
|
19754
|
+
var mode = _ref4.mode,
|
|
19755
|
+
sysOrderNo = _ref4.sysOrderNo;
|
|
19632
19756
|
var systemOrder = value === null || value === void 0 ? void 0 : value[(_typeMap$type23 = typeMap$5[type]) === null || _typeMap$type23 === void 0 ? void 0 : _typeMap$type23.systemOrder];
|
|
19633
19757
|
var systemOrderNo = sysOrderNo !== null && sysOrderNo !== void 0 ? sysOrderNo : value === null || value === void 0 ? void 0 : value[(_typeMap$type24 = typeMap$5[type]) === null || _typeMap$type24 === void 0 ? void 0 : _typeMap$type24.systemOrderNo];
|
|
19634
19758
|
var order = systemOrderNo && ((systemOrder === null || systemOrder === void 0 ? void 0 : systemOrder.orders) || []).find(function (order) {
|
|
@@ -19714,7 +19838,6 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
19714
19838
|
return changeGoodHandle(val);
|
|
19715
19839
|
},
|
|
19716
19840
|
onModeChange: handleModeChange,
|
|
19717
|
-
showModeBtn: showModeBtn,
|
|
19718
19841
|
isStrict: isStrict,
|
|
19719
19842
|
showErpGoodsBtn: false,
|
|
19720
19843
|
tradeGoods: {
|
|
@@ -19726,4 +19849,4 @@ var GyReturnGoods = function GyReturnGoods(props) {
|
|
|
19726
19849
|
})));
|
|
19727
19850
|
};
|
|
19728
19851
|
|
|
19729
|
-
export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, index as ApaasUploadAsync, ApaasUploadFile, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$1 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, ExpressLogistics, Goods, index$2 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, getColumns$5 as getJstColumns };
|
|
19852
|
+
export { ApaasAddress as Address, AliPay, Province as ApaasAddress, ApaasCascader, ApaasCheckbox, ApaasDate, withFormItem as ApaasHoc, ApaasInput, ApaasInputNumber, ApaasLogistics, ApaasMultipleSelect, ApaasPosting, ApaasRadio, ApaasRate, ApaasSelect, ApaasSlider, ApaasTextArea, ApaasUpload, index as ApaasUploadAsync, ApaasUploadFile, bsE3Reissue as BsE3Reissue, BsExchange, BsGoods, BsReissue, BsReturnGoods as BsReturn, index$1 as BsSystemOrder, BuyerNick, CalculationInput, ChooseBaby, CommonExchangeGoods, CommonGoods, CommonSystemOrder$1 as CommonMultiStatus, CommonReturnGoods, CommonStatus, CommonSystemOrder, ExpressLogistics, Goods, index$2 as GoodsTable, GyReissue, GyReturnGoods as GyReturn, IdentifyAddress, Invoice, jstGoods as JstGoods, ItemList as JstItemList, LogisticsInterception, LogisticsMoreInterception, LogisticsMoreTrajectory, LogisticsTrajectory, MsgStatus, ParseLogistics, Payment, PublicReissue, RemarkInput as Remark, ExpressLogistics as ReturnLogistics, ShopNameSelect as ShopName, Status, SubForm, Supplier, TBGoodId, TBGoodSerial, TradeId, WdtGoodList, wdtReissue as WdtReissue, WlnGoods, columnsBaseInfoMap, getColumns$5 as getJstColumns, getColumns$3 as getWlnColumns };
|