kmkf-work-order-service-component 0.4.10-alpha.5 → 0.4.10-alpha.7

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.
@@ -83,7 +83,8 @@ function PaymentWorkOrderCard(props) {
83
83
  buyerNick = record.buyerNick,
84
84
  tid = record.tid,
85
85
  accountNickMix = record.accountNickMix,
86
- accountNoMix = record.accountNoMix;
86
+ accountNoMix = record.accountNoMix,
87
+ remitTime = record.remitTime;
87
88
  var btnList = workPayStatusFuncMap[workPayStatus].map(function (id) {
88
89
  return /*#__PURE__*/React.createElement("div", {
89
90
  className: "orderItemOperate",
@@ -211,14 +212,18 @@ function PaymentWorkOrderCard(props) {
211
212
 
212
213
  var renderFormItem = function renderFormItem(items) {
213
214
  return items.map(function (item, index) {
214
- return /*#__PURE__*/React.createElement("div", {
215
- className: "orderItemView",
216
- key: index
217
- }, /*#__PURE__*/React.createElement("span", {
218
- className: "itemViewLeft"
219
- }, item.label), /*#__PURE__*/React.createElement("span", {
220
- className: "itemViewRight"
221
- }, item.value));
215
+ if (item.value) {
216
+ return /*#__PURE__*/React.createElement("div", {
217
+ className: "orderItemView",
218
+ key: index
219
+ }, /*#__PURE__*/React.createElement("span", {
220
+ className: "itemViewLeft"
221
+ }, item.label), /*#__PURE__*/React.createElement("span", {
222
+ className: "itemViewRight"
223
+ }, item.value));
224
+ }
225
+
226
+ return null;
222
227
  });
223
228
  };
224
229
 
@@ -249,8 +254,8 @@ function PaymentWorkOrderCard(props) {
249
254
  label: '提交客服:',
250
255
  value: operateNick
251
256
  }, {
252
- label: '工单编号:',
253
- value: paymentOrderKey
257
+ label: '打款时间:',
258
+ value: remitTime ? moment(remitTime).format('YYYY-MM-DD HH:mm:ss') : ''
254
259
  }])), /*#__PURE__*/React.createElement(Divider, {
255
260
  dashed: true,
256
261
  style: {
@@ -276,6 +281,9 @@ function PaymentWorkOrderCard(props) {
276
281
  }, {
277
282
  label: '支付宝账号:',
278
283
  value: accountNoMix
284
+ }, {
285
+ label: '工单编号:',
286
+ value: paymentOrderKey
279
287
  }])), /*#__PURE__*/React.createElement(Divider, {
280
288
  dashed: true,
281
289
  style: {
@@ -112,7 +112,7 @@ var JstSendGood = /*#__PURE__*/function (_BasicComponent) {
112
112
  });
113
113
  });
114
114
 
115
- _this.name = 'jst发货仓名称/编码';
115
+ _this.name = 'jst发货仓编码/名称';
116
116
  _this.width = 340;
117
117
  _this.canFilter = false;
118
118
  _this.canGroup = false;
@@ -1129,11 +1129,11 @@ export var taobaoGoodHandle = function taobaoGoodHandle(arr, type, config) {
1129
1129
  }
1130
1130
 
1131
1131
  if (changeSku) {
1132
- params.propertiesName = item.propertiesName;
1132
+ params.propertiesName = (skuInfoDTO === null || skuInfoDTO === void 0 ? void 0 : skuInfoDTO.propertiesName) || '';
1133
1133
  }
1134
1134
 
1135
1135
  if (type === 'ITEM_ENCODE') {
1136
- params.outerId = outerId;
1136
+ params.outerId = (skuInfoDTO === null || skuInfoDTO === void 0 ? void 0 : skuInfoDTO.outerSkuId) || outerId;
1137
1137
  } else if (type === 'ITEM_SELECT_THIRD') {
1138
1138
  params.itemId = '';
1139
1139
  params.supplierName = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.4.10-alpha.5",
3
+ "version": "0.4.10-alpha.7",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@ant-design/icons": "^4.7.0",
42
- "@raycloud-apaas-fe-setup/apaas-react-basics-widgets": "^1.2.0-alpha.5",
42
+ "@raycloud-apaas-fe-setup/apaas-react-basics-widgets": "^1.2.0-alpha.8",
43
43
  "@reduxjs/toolkit": "^1.8.5",
44
44
  "ahooks": "^3.7.4",
45
45
  "copy-to-clipboard": "^3.3.3",