@kmkf-fe-packages/services-components 2.2.44-beta.9 → 2.2.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.
- package/README.md +1 -1
- package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.d.ts +1 -1
- package/dist/esm/commonComponents/GlobalContext/hook/useGetHasErpData.js +2 -3
- package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpAddressData.js +11 -12
- package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpLogisticsCompany.js +12 -13
- package/dist/esm/commonComponents/GlobalContext/orderQuery/useGetErpSendData.js +9 -10
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +3 -4
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +19 -21
- package/dist/esm/components/BS/BsLogistics/index.js +0 -9
- package/dist/esm/components/BS/BsSystemOrder/index.js +2 -2
- package/dist/esm/components/BS/common/BsHeaderPic.d.ts +0 -2
- package/dist/esm/components/BS/common/BsHeaderPic.js +1 -13
- package/dist/esm/components/BS/common/BsMemo.js +1 -2
- package/dist/esm/components/BS/common/BsType.js +1 -2
- package/dist/esm/components/BS/common/SystemOrderNo.js +1 -2
- package/dist/esm/components/BS/common/expressCode.js +2 -4
- package/dist/esm/components/BS/common/expressCompany.js +0 -3
- package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +2 -4
- package/dist/esm/components/Common/index.js +1 -3
- package/dist/esm/components/CommonHeaderGood/index.js +5 -413
- package/dist/esm/components/JST/JstSendGood/index.js +1 -9
- package/dist/esm/components/KmErpSendGood/index.js +1 -1
- package/dist/esm/components/LogisticsMoreInterception/index.js +0 -1
- package/dist/esm/components/MsgStatus/index.js +1 -6
- package/dist/esm/components/Payment/PaymentAmount.d.ts +1 -0
- package/dist/esm/components/Payment/PaymentAmount.js +4 -0
- package/dist/esm/components/Public/Goods/index.js +0 -4
- package/dist/esm/components/Public/ReissueGoods/index.js +0 -18
- package/dist/esm/components/SubForm/index.js +47 -39
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/factory.js +0 -5
- package/dist/esm/service/api.d.ts +0 -1
- package/dist/esm/service/api.js +0 -7
- package/package.json +4 -4
|
@@ -1208,11 +1208,11 @@ var GoodHeaderMap = {
|
|
|
1208
1208
|
name: "总金额",
|
|
1209
1209
|
transformValue: function transformValue(val, record, parentName) {
|
|
1210
1210
|
if (!record) return "--";
|
|
1211
|
-
return (
|
|
1211
|
+
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1212
1212
|
},
|
|
1213
1213
|
renderExport: function renderExport(val, record, parentName) {
|
|
1214
1214
|
if (!record) return "--";
|
|
1215
|
-
return (
|
|
1215
|
+
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1216
1216
|
}
|
|
1217
1217
|
},
|
|
1218
1218
|
batchId: "批次号",
|
|
@@ -1320,11 +1320,11 @@ var GoodHeaderMap = {
|
|
|
1320
1320
|
name: "总金额",
|
|
1321
1321
|
transformValue: function transformValue(val, record, parentName) {
|
|
1322
1322
|
if (!record) return "--";
|
|
1323
|
-
return (
|
|
1323
|
+
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1324
1324
|
},
|
|
1325
1325
|
renderExport: function renderExport(val, record, parentName) {
|
|
1326
1326
|
if (!record) return "--";
|
|
1327
|
-
return (
|
|
1327
|
+
return (record["".concat(parentName, "_qty")] || 0) * (+record["".concat(parentName, "_salePrice")] || 0);
|
|
1328
1328
|
}
|
|
1329
1329
|
},
|
|
1330
1330
|
batchId: "批次号",
|
|
@@ -1515,10 +1515,7 @@ var GoodHeaderMap = {
|
|
|
1515
1515
|
sysPicPath: {
|
|
1516
1516
|
name: "商品图片",
|
|
1517
1517
|
width: 100,
|
|
1518
|
-
component: BsHeaderPic
|
|
1519
|
-
transformValue: function transformValue(val) {
|
|
1520
|
-
return val !== null && val !== void 0 && val.startsWith("http") ? val : "https://erp.superboss.cc".concat(val);
|
|
1521
|
-
}
|
|
1518
|
+
component: BsHeaderPic
|
|
1522
1519
|
},
|
|
1523
1520
|
num: {
|
|
1524
1521
|
name: "数量",
|
|
@@ -1535,14 +1532,6 @@ var GoodHeaderMap = {
|
|
|
1535
1532
|
type: {
|
|
1536
1533
|
name: "商品类型",
|
|
1537
1534
|
width: 100
|
|
1538
|
-
},
|
|
1539
|
-
supplierName: {
|
|
1540
|
-
name: "供应商名称",
|
|
1541
|
-
width: 150
|
|
1542
|
-
},
|
|
1543
|
-
supplierCode: {
|
|
1544
|
-
name: "供应商编码",
|
|
1545
|
-
width: 150
|
|
1546
1535
|
}
|
|
1547
1536
|
},
|
|
1548
1537
|
moneyKey: "money"
|
|
@@ -1601,14 +1590,6 @@ var GoodHeaderMap = {
|
|
|
1601
1590
|
name: "商品类型",
|
|
1602
1591
|
width: 150
|
|
1603
1592
|
},
|
|
1604
|
-
supplierName: {
|
|
1605
|
-
name: "供应商名称",
|
|
1606
|
-
width: 150
|
|
1607
|
-
},
|
|
1608
|
-
supplierCode: {
|
|
1609
|
-
name: "供应商编码",
|
|
1610
|
-
width: 150
|
|
1611
|
-
},
|
|
1612
1593
|
sysPicPath: {
|
|
1613
1594
|
name: "商品图片",
|
|
1614
1595
|
width: 100,
|
|
@@ -2082,395 +2063,6 @@ var GoodHeaderMap = {
|
|
|
2082
2063
|
width: 200
|
|
2083
2064
|
}
|
|
2084
2065
|
}
|
|
2085
|
-
},
|
|
2086
|
-
JKY_GOODS: {
|
|
2087
|
-
headerMap: {
|
|
2088
|
-
goodsNo: {
|
|
2089
|
-
component: BsHeaderChild,
|
|
2090
|
-
name: "货品编号",
|
|
2091
|
-
key: "goodsNo",
|
|
2092
|
-
width: 150
|
|
2093
|
-
},
|
|
2094
|
-
goodsName: {
|
|
2095
|
-
component: BsHeaderChild,
|
|
2096
|
-
name: "货品名称",
|
|
2097
|
-
key: "goodsName",
|
|
2098
|
-
width: 150
|
|
2099
|
-
},
|
|
2100
|
-
goodsId: {
|
|
2101
|
-
component: BsHeaderChild,
|
|
2102
|
-
name: "货品ID",
|
|
2103
|
-
key: "goodsId",
|
|
2104
|
-
width: 150
|
|
2105
|
-
},
|
|
2106
|
-
barcode: {
|
|
2107
|
-
component: BsHeaderChild,
|
|
2108
|
-
name: "货品条码",
|
|
2109
|
-
key: "barcode",
|
|
2110
|
-
width: 150
|
|
2111
|
-
},
|
|
2112
|
-
specName: {
|
|
2113
|
-
component: BsHeaderChild,
|
|
2114
|
-
name: "规格名称",
|
|
2115
|
-
key: "specName",
|
|
2116
|
-
width: 150
|
|
2117
|
-
},
|
|
2118
|
-
specId: {
|
|
2119
|
-
component: BsHeaderChild,
|
|
2120
|
-
name: "规格ID",
|
|
2121
|
-
key: "specId",
|
|
2122
|
-
width: 150
|
|
2123
|
-
},
|
|
2124
|
-
skuImgUrl: {
|
|
2125
|
-
component: BsHeaderPic,
|
|
2126
|
-
name: "规格图片",
|
|
2127
|
-
key: "skuImgUrl",
|
|
2128
|
-
width: 150
|
|
2129
|
-
},
|
|
2130
|
-
sellCount: {
|
|
2131
|
-
component: BsHeaderChild,
|
|
2132
|
-
name: "数量",
|
|
2133
|
-
key: "sellCount",
|
|
2134
|
-
width: 100
|
|
2135
|
-
},
|
|
2136
|
-
actualSendCount: {
|
|
2137
|
-
component: BsHeaderChild,
|
|
2138
|
-
name: "实发数量",
|
|
2139
|
-
key: "actualSendCount",
|
|
2140
|
-
width: 150
|
|
2141
|
-
},
|
|
2142
|
-
sellPrice: {
|
|
2143
|
-
component: BsHeaderChild,
|
|
2144
|
-
name: "单价",
|
|
2145
|
-
key: "sellPrice",
|
|
2146
|
-
width: 150
|
|
2147
|
-
},
|
|
2148
|
-
sellTotal: {
|
|
2149
|
-
component: BsHeaderChild,
|
|
2150
|
-
name: "金额",
|
|
2151
|
-
key: "sellTotal",
|
|
2152
|
-
width: 150
|
|
2153
|
-
},
|
|
2154
|
-
discountTotal: {
|
|
2155
|
-
component: BsHeaderChild,
|
|
2156
|
-
name: "抵扣金额",
|
|
2157
|
-
key: "discountTotal",
|
|
2158
|
-
width: 150
|
|
2159
|
-
},
|
|
2160
|
-
shareFavourableFee: {
|
|
2161
|
-
component: BsHeaderChild,
|
|
2162
|
-
name: "分摊金额",
|
|
2163
|
-
key: "shareFavourableFee",
|
|
2164
|
-
width: 150
|
|
2165
|
-
},
|
|
2166
|
-
shareFavourableAfterFee: {
|
|
2167
|
-
component: BsHeaderChild,
|
|
2168
|
-
name: "分摊后金额",
|
|
2169
|
-
key: "shareFavourableAfterFee",
|
|
2170
|
-
width: 150
|
|
2171
|
-
},
|
|
2172
|
-
customerPrice: {
|
|
2173
|
-
component: BsHeaderChild,
|
|
2174
|
-
name: "终端销售单价",
|
|
2175
|
-
key: "customerPrice",
|
|
2176
|
-
width: 150
|
|
2177
|
-
},
|
|
2178
|
-
customerTotal: {
|
|
2179
|
-
component: BsHeaderChild,
|
|
2180
|
-
name: "终端销售金额",
|
|
2181
|
-
key: "customerTotal",
|
|
2182
|
-
width: 150
|
|
2183
|
-
},
|
|
2184
|
-
divideSellTotal: {
|
|
2185
|
-
component: BsHeaderChild,
|
|
2186
|
-
name: "实付金额",
|
|
2187
|
-
key: "divideSellTotal",
|
|
2188
|
-
width: 150
|
|
2189
|
-
},
|
|
2190
|
-
isGift: {
|
|
2191
|
-
component: BsHeaderChild,
|
|
2192
|
-
name: "是否赠品",
|
|
2193
|
-
key: "isGift",
|
|
2194
|
-
width: 150,
|
|
2195
|
-
transformValue: function transformValue(val) {
|
|
2196
|
-
if (isNull(val)) return "--";
|
|
2197
|
-
return val === "1" ? "是" : "否";
|
|
2198
|
-
},
|
|
2199
|
-
renderExport: function renderExport(val) {
|
|
2200
|
-
if (isNull(val)) return "--";
|
|
2201
|
-
return val === "1" ? "是" : "否";
|
|
2202
|
-
}
|
|
2203
|
-
},
|
|
2204
|
-
isFit: {
|
|
2205
|
-
component: BsHeaderChild,
|
|
2206
|
-
name: "是否组合装",
|
|
2207
|
-
key: "isFit",
|
|
2208
|
-
width: 150,
|
|
2209
|
-
transformValue: function transformValue(val) {
|
|
2210
|
-
if (isNull(val)) return "--";
|
|
2211
|
-
return val === "1" ? "是" : "否";
|
|
2212
|
-
},
|
|
2213
|
-
renderExport: function renderExport(val) {
|
|
2214
|
-
if (isNull(val)) return "--";
|
|
2215
|
-
return val === "1" ? "是" : "否";
|
|
2216
|
-
}
|
|
2217
|
-
},
|
|
2218
|
-
isPresell: {
|
|
2219
|
-
component: BsHeaderChild,
|
|
2220
|
-
name: "是否预售货品",
|
|
2221
|
-
key: "isPresell",
|
|
2222
|
-
width: 150
|
|
2223
|
-
},
|
|
2224
|
-
brandName: {
|
|
2225
|
-
component: BsHeaderChild,
|
|
2226
|
-
name: "品牌",
|
|
2227
|
-
key: "brandName",
|
|
2228
|
-
width: 200
|
|
2229
|
-
},
|
|
2230
|
-
cateName: {
|
|
2231
|
-
component: BsHeaderChild,
|
|
2232
|
-
name: "货品类别",
|
|
2233
|
-
key: "cateName",
|
|
2234
|
-
width: 150
|
|
2235
|
-
},
|
|
2236
|
-
goodsTags: {
|
|
2237
|
-
component: BsHeaderChild,
|
|
2238
|
-
name: "货品标签",
|
|
2239
|
-
key: "goodsTags",
|
|
2240
|
-
width: 250
|
|
2241
|
-
},
|
|
2242
|
-
goodsMemo: {
|
|
2243
|
-
component: BsHeaderChild,
|
|
2244
|
-
name: "货品备注",
|
|
2245
|
-
key: "goodsMemo",
|
|
2246
|
-
width: 250
|
|
2247
|
-
},
|
|
2248
|
-
tradeGoodsNo: {
|
|
2249
|
-
component: BsHeaderChild,
|
|
2250
|
-
name: "交易货品编号",
|
|
2251
|
-
key: "tradeGoodsNo",
|
|
2252
|
-
width: 250
|
|
2253
|
-
},
|
|
2254
|
-
tradeGoodsName: {
|
|
2255
|
-
component: BsHeaderChild,
|
|
2256
|
-
name: "交易货品名称",
|
|
2257
|
-
key: "tradeGoodsName",
|
|
2258
|
-
width: 250
|
|
2259
|
-
},
|
|
2260
|
-
tradeGoodsSpec: {
|
|
2261
|
-
component: BsHeaderChild,
|
|
2262
|
-
name: "交易规格名称",
|
|
2263
|
-
key: "tradeGoodsSpec",
|
|
2264
|
-
width: 250
|
|
2265
|
-
},
|
|
2266
|
-
sourceSubtradeNo: {
|
|
2267
|
-
component: BsHeaderChild,
|
|
2268
|
-
name: "网店子订单号",
|
|
2269
|
-
key: "sourceSubtradeNo",
|
|
2270
|
-
width: 250
|
|
2271
|
-
},
|
|
2272
|
-
platGoodsId: {
|
|
2273
|
-
component: BsHeaderChild,
|
|
2274
|
-
name: "平台商品ID",
|
|
2275
|
-
key: "platGoodsId",
|
|
2276
|
-
width: 250
|
|
2277
|
-
},
|
|
2278
|
-
subTradeId: {
|
|
2279
|
-
component: BsHeaderChild,
|
|
2280
|
-
name: "商品明细ID",
|
|
2281
|
-
key: "subTradeId",
|
|
2282
|
-
width: 250
|
|
2283
|
-
},
|
|
2284
|
-
batchNo: {
|
|
2285
|
-
component: BsHeaderChild,
|
|
2286
|
-
name: "批次号",
|
|
2287
|
-
key: "batchNo",
|
|
2288
|
-
width: 250
|
|
2289
|
-
},
|
|
2290
|
-
sendCount: {
|
|
2291
|
-
component: BsHeaderChild,
|
|
2292
|
-
name: "批次数量",
|
|
2293
|
-
key: "sendCount",
|
|
2294
|
-
width: 250
|
|
2295
|
-
},
|
|
2296
|
-
productDate: {
|
|
2297
|
-
component: BsHeaderChild,
|
|
2298
|
-
name: "生产日期",
|
|
2299
|
-
key: "productDate",
|
|
2300
|
-
width: 250
|
|
2301
|
-
},
|
|
2302
|
-
expireDate: {
|
|
2303
|
-
component: BsHeaderChild,
|
|
2304
|
-
name: "到期日期",
|
|
2305
|
-
key: "expireDate",
|
|
2306
|
-
width: 250
|
|
2307
|
-
}
|
|
2308
|
-
},
|
|
2309
|
-
itemKey: {
|
|
2310
|
-
goodsNo: "货品编号",
|
|
2311
|
-
goodsName: "货品名称",
|
|
2312
|
-
goodsId: "货品ID",
|
|
2313
|
-
barcode: "货品条码",
|
|
2314
|
-
specName: "规格名称",
|
|
2315
|
-
specId: "规格ID",
|
|
2316
|
-
skuImgUrl: "规格图片",
|
|
2317
|
-
sellCount: "数量",
|
|
2318
|
-
actualSendCount: "实发数量",
|
|
2319
|
-
sellPrice: "单价",
|
|
2320
|
-
sellTotal: "金额",
|
|
2321
|
-
discountTotal: "抵扣金额",
|
|
2322
|
-
shareFavourableFee: "分摊金额",
|
|
2323
|
-
shareFavourableAfterFee: "分摊后金额",
|
|
2324
|
-
customerPrice: "终端销售单价",
|
|
2325
|
-
customerTotal: "终端销售金额",
|
|
2326
|
-
divideSellTotal: "实付金额",
|
|
2327
|
-
isGift: "是否赠品",
|
|
2328
|
-
isFit: "是否组合装",
|
|
2329
|
-
isPresell: "是否预售货品",
|
|
2330
|
-
brandName: "品牌",
|
|
2331
|
-
cateName: "货品类别",
|
|
2332
|
-
goodsTags: "货品标签",
|
|
2333
|
-
goodsMemo: "货品备注",
|
|
2334
|
-
tradeGoodsNo: "交易货品编号",
|
|
2335
|
-
tradeGoodsName: "交易货品名称",
|
|
2336
|
-
tradeGoodsSpec: "交易规格名称",
|
|
2337
|
-
sourceSubtradeNo: "网店子订单号",
|
|
2338
|
-
platGoodsId: "平台商品ID",
|
|
2339
|
-
subTradeId: "商品明细ID",
|
|
2340
|
-
batchNo: "批次号",
|
|
2341
|
-
sendCount: "批次数量",
|
|
2342
|
-
productDate: "生产日期",
|
|
2343
|
-
expireDate: "到期日期"
|
|
2344
|
-
},
|
|
2345
|
-
moneyKey: "sellTotal"
|
|
2346
|
-
},
|
|
2347
|
-
JKY_REISSUE_GOODS: {
|
|
2348
|
-
headerMap: {
|
|
2349
|
-
goodsNo: {
|
|
2350
|
-
component: BsHeaderChild,
|
|
2351
|
-
name: "货品编号",
|
|
2352
|
-
key: "goodsNo",
|
|
2353
|
-
width: 150
|
|
2354
|
-
},
|
|
2355
|
-
goodsName: {
|
|
2356
|
-
component: BsHeaderChild,
|
|
2357
|
-
name: "货品名称",
|
|
2358
|
-
key: "goodsName",
|
|
2359
|
-
width: 150
|
|
2360
|
-
},
|
|
2361
|
-
goodsId: {
|
|
2362
|
-
component: BsHeaderChild,
|
|
2363
|
-
name: "货品ID",
|
|
2364
|
-
key: "goodsId",
|
|
2365
|
-
width: 150
|
|
2366
|
-
},
|
|
2367
|
-
barcode: {
|
|
2368
|
-
component: BsHeaderChild,
|
|
2369
|
-
name: "货品条码",
|
|
2370
|
-
key: "barcode",
|
|
2371
|
-
width: 150
|
|
2372
|
-
},
|
|
2373
|
-
specName: {
|
|
2374
|
-
component: BsHeaderChild,
|
|
2375
|
-
name: "规格名称",
|
|
2376
|
-
key: "specName",
|
|
2377
|
-
width: 150
|
|
2378
|
-
},
|
|
2379
|
-
specId: {
|
|
2380
|
-
component: BsHeaderChild,
|
|
2381
|
-
name: "规格ID",
|
|
2382
|
-
key: "specId",
|
|
2383
|
-
width: 150
|
|
2384
|
-
},
|
|
2385
|
-
skuImgUrl: {
|
|
2386
|
-
component: BsHeaderPic,
|
|
2387
|
-
name: "规格图片",
|
|
2388
|
-
key: "skuImgUrl",
|
|
2389
|
-
width: 150
|
|
2390
|
-
},
|
|
2391
|
-
sellCount: {
|
|
2392
|
-
component: BsHeaderChild,
|
|
2393
|
-
name: "发货数量",
|
|
2394
|
-
key: "sellCount",
|
|
2395
|
-
width: 100
|
|
2396
|
-
},
|
|
2397
|
-
sellPrice: {
|
|
2398
|
-
component: BsHeaderChild,
|
|
2399
|
-
name: "单价",
|
|
2400
|
-
key: "sellPrice",
|
|
2401
|
-
width: 150
|
|
2402
|
-
},
|
|
2403
|
-
sellTotal: {
|
|
2404
|
-
component: BsHeaderChild,
|
|
2405
|
-
name: "总金额",
|
|
2406
|
-
key: "sellTotal",
|
|
2407
|
-
width: 150
|
|
2408
|
-
},
|
|
2409
|
-
reason: {
|
|
2410
|
-
component: BsHeaderChild,
|
|
2411
|
-
name: "退换原因",
|
|
2412
|
-
key: "reason",
|
|
2413
|
-
width: 250
|
|
2414
|
-
},
|
|
2415
|
-
isGift: {
|
|
2416
|
-
component: BsHeaderChild,
|
|
2417
|
-
name: "是否赠品",
|
|
2418
|
-
key: "isGift",
|
|
2419
|
-
width: 150,
|
|
2420
|
-
transformValue: function transformValue(val) {
|
|
2421
|
-
if (isNull(val)) return "--";
|
|
2422
|
-
return val === "1" ? "是" : "否";
|
|
2423
|
-
},
|
|
2424
|
-
renderExport: function renderExport(val) {
|
|
2425
|
-
if (isNull(val)) return "--";
|
|
2426
|
-
return val === "1" ? "是" : "否";
|
|
2427
|
-
}
|
|
2428
|
-
},
|
|
2429
|
-
isFit: {
|
|
2430
|
-
component: BsHeaderChild,
|
|
2431
|
-
name: "是否组合装",
|
|
2432
|
-
key: "isFit",
|
|
2433
|
-
width: 150,
|
|
2434
|
-
transformValue: function transformValue(val) {
|
|
2435
|
-
if (isNull(val)) return "--";
|
|
2436
|
-
return val === "1" ? "是" : "否";
|
|
2437
|
-
},
|
|
2438
|
-
renderExport: function renderExport(val) {
|
|
2439
|
-
if (isNull(val)) return "--";
|
|
2440
|
-
return val === "1" ? "是" : "否";
|
|
2441
|
-
}
|
|
2442
|
-
},
|
|
2443
|
-
brandName: {
|
|
2444
|
-
component: BsHeaderChild,
|
|
2445
|
-
name: "品牌",
|
|
2446
|
-
key: "brandName",
|
|
2447
|
-
width: 150
|
|
2448
|
-
},
|
|
2449
|
-
cateName: {
|
|
2450
|
-
component: BsHeaderChild,
|
|
2451
|
-
name: "货品类别",
|
|
2452
|
-
key: "cateName",
|
|
2453
|
-
width: 150
|
|
2454
|
-
}
|
|
2455
|
-
},
|
|
2456
|
-
itemKey: {
|
|
2457
|
-
goodsNo: "货品编号",
|
|
2458
|
-
goodsName: "货品名称",
|
|
2459
|
-
goodsId: "货品ID",
|
|
2460
|
-
barcode: "货品条码",
|
|
2461
|
-
specName: "规格名称",
|
|
2462
|
-
specId: "规格ID",
|
|
2463
|
-
skuImgUrl: "规格图片",
|
|
2464
|
-
sellCount: "发货数量",
|
|
2465
|
-
sellPrice: "单价",
|
|
2466
|
-
sellTotal: "总金额",
|
|
2467
|
-
reason: "退换原因",
|
|
2468
|
-
isGift: "是否赠品",
|
|
2469
|
-
isFit: "是否组合装",
|
|
2470
|
-
brandName: "品牌",
|
|
2471
|
-
cateName: "货品类别"
|
|
2472
|
-
},
|
|
2473
|
-
moneyKey: "sellTotal"
|
|
2474
2066
|
}
|
|
2475
2067
|
};
|
|
2476
2068
|
GoodHeaderMap["WDT_REISSUE_GOODS"] = GoodHeaderMap["WDT_GOODS"];
|
|
@@ -78,14 +78,6 @@ var typeMap = {
|
|
|
78
78
|
sendName: "jySendName",
|
|
79
79
|
platformType: "jy",
|
|
80
80
|
dataType: "weakenArray"
|
|
81
|
-
},
|
|
82
|
-
JKY_SEND_GOOD: {
|
|
83
|
-
key: "jkySendGood",
|
|
84
|
-
name: "jky",
|
|
85
|
-
sendId: "jkySendId",
|
|
86
|
-
sendName: "jkySendName",
|
|
87
|
-
platformType: "jky",
|
|
88
|
-
dataType: "weakenArray"
|
|
89
81
|
}
|
|
90
82
|
};
|
|
91
83
|
var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
@@ -192,7 +184,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
192
184
|
});
|
|
193
185
|
_defineProperty(this, "filterConfig", function (item) {
|
|
194
186
|
var _typeMap$_this$type8, _typeMap$_this$type9, _typeMap$_this$type11;
|
|
195
|
-
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "
|
|
187
|
+
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD"].includes(_this.type) ? {
|
|
196
188
|
searchDefaultConditions: SYMBOL.in,
|
|
197
189
|
type: item.type,
|
|
198
190
|
id: "".concat(item.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.sendName),
|
|
@@ -106,7 +106,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
|
|
|
106
106
|
});
|
|
107
107
|
});
|
|
108
108
|
_defineProperty(this, "filterConfig", function (item) {
|
|
109
|
-
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD"
|
|
109
|
+
return [["WDT_SEND_GOOD", "BS_E3_SEND_GOOD", "GY_SEND_GOOD", "JY_SEND_GOOD"].includes(_this.type) ? {
|
|
110
110
|
searchDefaultConditions: SYMBOL.in,
|
|
111
111
|
type: item.type,
|
|
112
112
|
id: "".concat(item.id, "_").concat(_this.suffixSendName),
|
|
@@ -113,7 +113,6 @@ function Logistics(options) {
|
|
|
113
113
|
name: _this.id,
|
|
114
114
|
rules: _this.rules,
|
|
115
115
|
hidden: p === null || p === void 0 ? void 0 : p.hidden,
|
|
116
|
-
display: p === null || p === void 0 ? void 0 : p.display,
|
|
117
116
|
required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
|
|
118
117
|
tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
|
|
119
118
|
component: /*#__PURE__*/React.createElement(LogisticsMoreInterception, _extends({}, _this.componentConfig, {
|
|
@@ -39,15 +39,10 @@ var typeMap = {
|
|
|
39
39
|
label: "等待执行",
|
|
40
40
|
color: "#e7780f"
|
|
41
41
|
}, {
|
|
42
|
-
oldValue: "
|
|
42
|
+
oldValue: "等待发送",
|
|
43
43
|
value: "不满足条件,无需执行",
|
|
44
44
|
label: "不满足条件,无需执行",
|
|
45
45
|
color: "#8A8A8A"
|
|
46
|
-
}, {
|
|
47
|
-
oldValue: "暂不满足条件,等待执行",
|
|
48
|
-
value: "暂不满足条件,等待执行",
|
|
49
|
-
label: "暂不满足条件,等待执行",
|
|
50
|
-
color: "#4D90F7"
|
|
51
46
|
}],
|
|
52
47
|
key: "msgStatusValues",
|
|
53
48
|
code: "msgStatus4Search",
|
|
@@ -36,5 +36,6 @@ declare class PaymentAmount implements ComponentInterface {
|
|
|
36
36
|
formatFilterValue: (val: Array<number | null>) => (number | null)[];
|
|
37
37
|
filterFn: (value: string) => (i: Record) => boolean;
|
|
38
38
|
};
|
|
39
|
+
formDataTransform: (value: string) => string | number;
|
|
39
40
|
}
|
|
40
41
|
export default PaymentAmount;
|
|
@@ -132,6 +132,10 @@ var PaymentAmount = /*#__PURE__*/_createClass(function PaymentAmount(options) {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
});
|
|
135
|
+
_defineProperty(this, "formDataTransform", function (value) {
|
|
136
|
+
var isNumber = new RegExp(/^[+-]?\d+(\.\d+)?$/);
|
|
137
|
+
return isNumber.test(value) ? Number(value) : value;
|
|
138
|
+
});
|
|
135
139
|
this.name = '打款金额';
|
|
136
140
|
this.id = "".concat(options.id, "_enterprisePaymentRefundFee");
|
|
137
141
|
this.sortField = "".concat(options.id, "_enterprisePaymentRefundFee");
|
|
@@ -92,24 +92,6 @@ var typeMap = {
|
|
|
92
92
|
}
|
|
93
93
|
return Promise.resolve();
|
|
94
94
|
}
|
|
95
|
-
},
|
|
96
|
-
JKY_REISSUE_GOODS: {
|
|
97
|
-
key: "jkyReissueGoods",
|
|
98
|
-
typeName: "jkyReissueType",
|
|
99
|
-
remark: "jkyReissueType_memo",
|
|
100
|
-
systemOrderNo: "jkySystemOrderNo",
|
|
101
|
-
systemOrderBillType: "jkySystemOrderBillType",
|
|
102
|
-
errMsg: "请选择吉客云补发商品",
|
|
103
|
-
name: "吉客云",
|
|
104
|
-
compType: "补发",
|
|
105
|
-
validator: function validator(_rule, value, type) {
|
|
106
|
-
if (!_rule.required) return Promise.resolve();
|
|
107
|
-
var validatorFlag = erpFormValidator(_rule, value, type);
|
|
108
|
-
if (validatorFlag) {
|
|
109
|
-
return validatorFlag;
|
|
110
|
-
}
|
|
111
|
-
return Promise.resolve();
|
|
112
|
-
}
|
|
113
95
|
}
|
|
114
96
|
};
|
|
115
97
|
var PublicReissue = /*#__PURE__*/_createClass(function PublicReissue(options) {
|