bm-admin-ui 1.2.50-alpha → 1.2.52-alpha
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.
|
@@ -27135,10 +27135,17 @@ const _sfc_main$7 = defineComponent({
|
|
|
27135
27135
|
let result = void 0;
|
|
27136
27136
|
try {
|
|
27137
27137
|
if (row[field]) {
|
|
27138
|
-
|
|
27139
|
-
|
|
27140
|
-
|
|
27141
|
-
|
|
27138
|
+
if (isProductCenterSuit.value && field === "productCode") {
|
|
27139
|
+
result = await props.extraConfig.product.fetchForActivity({
|
|
27140
|
+
productCode: row[field],
|
|
27141
|
+
filterByShopcode: rule?.config?.dataFiltering
|
|
27142
|
+
});
|
|
27143
|
+
} else {
|
|
27144
|
+
result = await props.extraConfig.product.fetch({
|
|
27145
|
+
productCode: row[field],
|
|
27146
|
+
filterByShopcode: rule?.config?.dataFiltering
|
|
27147
|
+
});
|
|
27148
|
+
}
|
|
27142
27149
|
if (!result) {
|
|
27143
27150
|
row[field] = "";
|
|
27144
27151
|
}
|
|
@@ -27149,10 +27149,17 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
27149
27149
|
let result = void 0;
|
|
27150
27150
|
try {
|
|
27151
27151
|
if (row[field]) {
|
|
27152
|
-
|
|
27153
|
-
|
|
27154
|
-
|
|
27155
|
-
|
|
27152
|
+
if (isProductCenterSuit.value && field === "productCode") {
|
|
27153
|
+
result = await props.extraConfig.product.fetchForActivity({
|
|
27154
|
+
productCode: row[field],
|
|
27155
|
+
filterByShopcode: rule?.config?.dataFiltering
|
|
27156
|
+
});
|
|
27157
|
+
} else {
|
|
27158
|
+
result = await props.extraConfig.product.fetch({
|
|
27159
|
+
productCode: row[field],
|
|
27160
|
+
filterByShopcode: rule?.config?.dataFiltering
|
|
27161
|
+
});
|
|
27162
|
+
}
|
|
27156
27163
|
if (!result) {
|
|
27157
27164
|
row[field] = "";
|
|
27158
27165
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bm-admin-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.52-alpha",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "An Admin Component Library for Bm",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"vue": "^3.2.31"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@form-create/ant-design-vue": "^3.1.12",
|
|
19
|
-
"@logicflow/core": "^1.1.7",
|
|
20
|
-
"@logicflow/extension": "^1.1.7",
|
|
21
|
-
"floating-vue": "2.0.0-beta.17",
|
|
22
18
|
"@ant-design/icons-vue": "^6.1.0",
|
|
19
|
+
"@form-create/ant-design-vue": "^3.1.12",
|
|
20
|
+
"@logicflow/core": "1.1",
|
|
21
|
+
"@logicflow/extension": "1.1",
|
|
23
22
|
"ant-design-vue": "^3.2.10",
|
|
24
23
|
"bm-admin-icons": "^0.2.7",
|
|
25
|
-
"vuedraggable": "^4.1.0",
|
|
26
|
-
"lodash-es": "^4.17.21",
|
|
27
24
|
"dayjs": "^1.11.4",
|
|
25
|
+
"floating-vue": "2.0.0-beta.17",
|
|
26
|
+
"lodash-es": "^4.17.21",
|
|
27
|
+
"vuedraggable": "^4.1.0",
|
|
28
28
|
"vxe-table": "4.2.3",
|
|
29
29
|
"xe-utils": "3.5.4"
|
|
30
30
|
},
|