@bit-sun/business-component 3.0.0-alpha.20 → 3.0.0-alpha.21
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
CHANGED
|
@@ -8332,6 +8332,25 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
|
|
|
8332
8332
|
}
|
|
8333
8333
|
}
|
|
8334
8334
|
}
|
|
8335
|
+
}, {
|
|
8336
|
+
name: 'qp-mainBrandCode-in',
|
|
8337
|
+
type: 'select',
|
|
8338
|
+
label: '品牌',
|
|
8339
|
+
field: {
|
|
8340
|
+
type: 'select',
|
|
8341
|
+
props: {
|
|
8342
|
+
mode: 'multiple',
|
|
8343
|
+
notFoundContent: '暂无数据',
|
|
8344
|
+
allowClear: true,
|
|
8345
|
+
showSearch: true,
|
|
8346
|
+
showArrow: true,
|
|
8347
|
+
maxTagCount: 1,
|
|
8348
|
+
optionFilterProp: 'children',
|
|
8349
|
+
filterOption: function filterOption(input, option) {
|
|
8350
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
8351
|
+
}
|
|
8352
|
+
}
|
|
8353
|
+
}
|
|
8335
8354
|
}, {
|
|
8336
8355
|
name: 'qp-accountingCode-in',
|
|
8337
8356
|
type: 'select',
|
|
@@ -8367,11 +8386,15 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
|
|
|
8367
8386
|
}), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/accountingSubject"), {
|
|
8368
8387
|
pageSize: 5000,
|
|
8369
8388
|
currentPage: 1
|
|
8389
|
+
}), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/store"), {
|
|
8390
|
+
pageSize: 5000,
|
|
8391
|
+
currentPage: 1
|
|
8370
8392
|
})]).then(function (x) {
|
|
8371
8393
|
formatSource(x, 0, 2, tableSearchForm);
|
|
8372
8394
|
formatSource(x, 1, 3, tableSearchForm);
|
|
8373
|
-
formatSource(x, 2,
|
|
8374
|
-
formatSource(x, 3,
|
|
8395
|
+
formatSource(x, 2, 6, tableSearchForm);
|
|
8396
|
+
formatSource(x, 3, 7, tableSearchForm);
|
|
8397
|
+
formatSource(x, 4, 5, tableSearchForm);
|
|
8375
8398
|
});
|
|
8376
8399
|
modalTableProps = _objectSpread2({
|
|
8377
8400
|
modalTableTitle: '选择店铺',
|
|
@@ -9611,13 +9634,8 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
|
9611
9634
|
name: 'qp-skuName-like',
|
|
9612
9635
|
label: 'SKU名称'
|
|
9613
9636
|
}, {
|
|
9614
|
-
name: 'qp-
|
|
9615
|
-
label: '
|
|
9616
|
-
type: 'multipleQueryInput'
|
|
9617
|
-
}, {
|
|
9618
|
-
name: 'qp-itemCode-like',
|
|
9619
|
-
label: 'SPU编码',
|
|
9620
|
-
type: 'multipleQueryInput'
|
|
9637
|
+
name: 'qp-externalCode-like',
|
|
9638
|
+
label: '外部SPU编码'
|
|
9621
9639
|
}].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
|
|
9622
9640
|
name: 'qp-code-in',
|
|
9623
9641
|
label: '商品条码',
|
|
@@ -9680,7 +9698,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
|
9680
9698
|
'ctl-withAuth': true
|
|
9681
9699
|
},
|
|
9682
9700
|
resType: 'list',
|
|
9683
|
-
resPosition: isNoUseItemBarcode ?
|
|
9701
|
+
resPosition: isNoUseItemBarcode ? 3 : 4,
|
|
9684
9702
|
resKeyValue: ['id', 'name']
|
|
9685
9703
|
}, {
|
|
9686
9704
|
url: "/items/category/queryCategoryTree",
|
|
@@ -9689,7 +9707,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
|
9689
9707
|
currentPage: 1
|
|
9690
9708
|
},
|
|
9691
9709
|
resType: 'treeList',
|
|
9692
|
-
resPosition: isNoUseItemBarcode ?
|
|
9710
|
+
resPosition: isNoUseItemBarcode ? 4 : 5
|
|
9693
9711
|
}];
|
|
9694
9712
|
var mTpPromiseLoadList = handleFormSearchSourceLoad(initialPromiseLoadList, parProps);
|
|
9695
9713
|
var props = {
|
package/dist/index.js
CHANGED
|
@@ -8354,6 +8354,25 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
|
|
|
8354
8354
|
}
|
|
8355
8355
|
}
|
|
8356
8356
|
}
|
|
8357
|
+
}, {
|
|
8358
|
+
name: 'qp-mainBrandCode-in',
|
|
8359
|
+
type: 'select',
|
|
8360
|
+
label: '品牌',
|
|
8361
|
+
field: {
|
|
8362
|
+
type: 'select',
|
|
8363
|
+
props: {
|
|
8364
|
+
mode: 'multiple',
|
|
8365
|
+
notFoundContent: '暂无数据',
|
|
8366
|
+
allowClear: true,
|
|
8367
|
+
showSearch: true,
|
|
8368
|
+
showArrow: true,
|
|
8369
|
+
maxTagCount: 1,
|
|
8370
|
+
optionFilterProp: 'children',
|
|
8371
|
+
filterOption: function filterOption(input, option) {
|
|
8372
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
8373
|
+
}
|
|
8374
|
+
}
|
|
8375
|
+
}
|
|
8357
8376
|
}, {
|
|
8358
8377
|
name: 'qp-accountingCode-in',
|
|
8359
8378
|
type: 'select',
|
|
@@ -8389,11 +8408,15 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
|
|
|
8389
8408
|
}), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/accountingSubject"), {
|
|
8390
8409
|
pageSize: 5000,
|
|
8391
8410
|
currentPage: 1
|
|
8411
|
+
}), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/store"), {
|
|
8412
|
+
pageSize: 5000,
|
|
8413
|
+
currentPage: 1
|
|
8392
8414
|
})]).then(function (x) {
|
|
8393
8415
|
formatSource(x, 0, 2, tableSearchForm);
|
|
8394
8416
|
formatSource(x, 1, 3, tableSearchForm);
|
|
8395
|
-
formatSource(x, 2,
|
|
8396
|
-
formatSource(x, 3,
|
|
8417
|
+
formatSource(x, 2, 6, tableSearchForm);
|
|
8418
|
+
formatSource(x, 3, 7, tableSearchForm);
|
|
8419
|
+
formatSource(x, 4, 5, tableSearchForm);
|
|
8397
8420
|
});
|
|
8398
8421
|
modalTableProps = _objectSpread2({
|
|
8399
8422
|
modalTableTitle: '选择店铺',
|
|
@@ -9633,13 +9656,8 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
|
9633
9656
|
name: 'qp-skuName-like',
|
|
9634
9657
|
label: 'SKU名称'
|
|
9635
9658
|
}, {
|
|
9636
|
-
name: 'qp-
|
|
9637
|
-
label: '
|
|
9638
|
-
type: 'multipleQueryInput'
|
|
9639
|
-
}, {
|
|
9640
|
-
name: 'qp-itemCode-like',
|
|
9641
|
-
label: 'SPU编码',
|
|
9642
|
-
type: 'multipleQueryInput'
|
|
9659
|
+
name: 'qp-externalCode-like',
|
|
9660
|
+
label: '外部SPU编码'
|
|
9643
9661
|
}].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
|
|
9644
9662
|
name: 'qp-code-in',
|
|
9645
9663
|
label: '商品条码',
|
|
@@ -9702,7 +9720,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
|
9702
9720
|
'ctl-withAuth': true
|
|
9703
9721
|
},
|
|
9704
9722
|
resType: 'list',
|
|
9705
|
-
resPosition: isNoUseItemBarcode ?
|
|
9723
|
+
resPosition: isNoUseItemBarcode ? 3 : 4,
|
|
9706
9724
|
resKeyValue: ['id', 'name']
|
|
9707
9725
|
}, {
|
|
9708
9726
|
url: "/items/category/queryCategoryTree",
|
|
@@ -9711,7 +9729,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
|
9711
9729
|
currentPage: 1
|
|
9712
9730
|
},
|
|
9713
9731
|
resType: 'treeList',
|
|
9714
|
-
resPosition: isNoUseItemBarcode ?
|
|
9732
|
+
resPosition: isNoUseItemBarcode ? 4 : 5
|
|
9715
9733
|
}];
|
|
9716
9734
|
var mTpPromiseLoadList = handleFormSearchSourceLoad(initialPromiseLoadList, parProps);
|
|
9717
9735
|
var props = {
|
package/package.json
CHANGED
|
@@ -353,8 +353,7 @@ export const AddSkuSelect = (parProps: any) => {
|
|
|
353
353
|
name: 'qp-skuCode-like', label: 'SKU编码',type:'multipleQueryInput'
|
|
354
354
|
},
|
|
355
355
|
{ name: 'qp-skuName-like', label: 'SKU名称' },
|
|
356
|
-
{ name: 'qp-
|
|
357
|
-
{ name: 'qp-itemCode-like', label: 'SPU编码',type:'multipleQueryInput' },
|
|
356
|
+
{ name: 'qp-externalCode-like', label: '外部SPU编码' },
|
|
358
357
|
...(isNoUseItemBarcode ? []: [
|
|
359
358
|
{ name: 'qp-code-in', label: '商品条码', field: {
|
|
360
359
|
type: 'multipleQueryInput',
|
|
@@ -407,7 +406,7 @@ export const AddSkuSelect = (parProps: any) => {
|
|
|
407
406
|
'ctl-withAuth': true
|
|
408
407
|
},
|
|
409
408
|
resType: 'list',
|
|
410
|
-
resPosition: isNoUseItemBarcode ?
|
|
409
|
+
resPosition: isNoUseItemBarcode ? 3 : 4,
|
|
411
410
|
resKeyValue: ['id','name']
|
|
412
411
|
},
|
|
413
412
|
{
|
|
@@ -417,7 +416,7 @@ export const AddSkuSelect = (parProps: any) => {
|
|
|
417
416
|
currentPage: 1,
|
|
418
417
|
},
|
|
419
418
|
resType: 'treeList',
|
|
420
|
-
resPosition: isNoUseItemBarcode ?
|
|
419
|
+
resPosition: isNoUseItemBarcode ? 4 : 5
|
|
421
420
|
},
|
|
422
421
|
]
|
|
423
422
|
const mTpPromiseLoadList = handleFormSearchSourceLoad(initialPromiseLoadList, parProps);
|
|
@@ -1236,6 +1236,20 @@ export function commonFun (type?: string, prefixUrl: any, requestConfigProp?: an
|
|
|
1236
1236
|
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
|
|
1237
1237
|
},
|
|
1238
1238
|
} },
|
|
1239
|
+
{ name: 'qp-mainBrandCode-in', type: 'select', label: '品牌', field: {
|
|
1240
|
+
type: 'select',
|
|
1241
|
+
props: {
|
|
1242
|
+
mode: 'multiple',
|
|
1243
|
+
notFoundContent: '暂无数据',
|
|
1244
|
+
allowClear: true,
|
|
1245
|
+
showSearch: true,
|
|
1246
|
+
showArrow: true,
|
|
1247
|
+
maxTagCount: 1,
|
|
1248
|
+
optionFilterProp: 'children',
|
|
1249
|
+
filterOption: (input: string, option: { props: { children: string } }) =>
|
|
1250
|
+
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
|
|
1251
|
+
},
|
|
1252
|
+
} },
|
|
1239
1253
|
{ name: 'qp-accountingCode-in', type: 'select', label: '归属核算主体', field: {
|
|
1240
1254
|
type: 'select',
|
|
1241
1255
|
props: {
|
|
@@ -1271,11 +1285,16 @@ export function commonFun (type?: string, prefixUrl: any, requestConfigProp?: an
|
|
|
1271
1285
|
pageSize: 5000,
|
|
1272
1286
|
currentPage: 1,
|
|
1273
1287
|
}),
|
|
1288
|
+
loadSelectSource(`${prefixUrl.formSelectFix}/store`, {
|
|
1289
|
+
pageSize: 5000,
|
|
1290
|
+
currentPage: 1,
|
|
1291
|
+
}),
|
|
1274
1292
|
]).then((x: any)=>{
|
|
1275
1293
|
formatSource(x,0, 2, tableSearchForm);
|
|
1276
1294
|
formatSource(x,1, 3, tableSearchForm);
|
|
1277
|
-
formatSource(x,2,
|
|
1278
|
-
formatSource(x,3,
|
|
1295
|
+
formatSource(x,2, 6, tableSearchForm);
|
|
1296
|
+
formatSource(x,3, 7, tableSearchForm);
|
|
1297
|
+
formatSource(x,4, 5, tableSearchForm);
|
|
1279
1298
|
})
|
|
1280
1299
|
modalTableProps = {
|
|
1281
1300
|
modalTableTitle: '选择店铺',
|