@fle-ui/plus-choose-site-goods 1.1.11-alpha.0 → 1.1.11

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/es/index.js CHANGED
@@ -601,7 +601,7 @@ var ChooseSiteGoods = function ChooseSiteGoods(props) {
601
601
  // 获取全局控制状态
602
602
  var getGoodControlInfo = /*#__PURE__*/function () {
603
603
  var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
604
- var res, _res$data3, _res$data4;
604
+ var res, _res$data3;
605
605
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
606
606
  while (1) switch (_context7.prev = _context7.next) {
607
607
  case 0:
@@ -611,8 +611,8 @@ var ChooseSiteGoods = function ChooseSiteGoods(props) {
611
611
  res = _context7.sent;
612
612
  if (res === null || res === void 0 ? void 0 : res.success) {
613
613
  setShow({
614
- priceShow: ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.internal_mall_cost_price_show) == '1' ? true : false,
615
- supplierShow: ((_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.internal_mall_supplier_name_show) == '1' ? true : false
614
+ priceShow: ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.customer_mall_cost_price_show) == '1' ? true : false,
615
+ supplierShow: true
616
616
  });
617
617
  }
618
618
  case 4:
package/lib/index.js CHANGED
@@ -579,7 +579,7 @@ var ChooseSiteGoods = function ChooseSiteGoods(props) {
579
579
  // 获取全局控制状态
580
580
  var getGoodControlInfo = /*#__PURE__*/function () {
581
581
  var _ref7 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
582
- var res, _res$data3, _res$data4;
582
+ var res, _res$data3;
583
583
  return _regeneratorRuntime().wrap(function _callee7$(_context7) {
584
584
  while (1) switch (_context7.prev = _context7.next) {
585
585
  case 0:
@@ -589,8 +589,8 @@ var ChooseSiteGoods = function ChooseSiteGoods(props) {
589
589
  res = _context7.sent;
590
590
  if (res === null || res === void 0 ? void 0 : res.success) {
591
591
  setShow({
592
- priceShow: ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.internal_mall_cost_price_show) == '1' ? true : false,
593
- supplierShow: ((_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.internal_mall_supplier_name_show) == '1' ? true : false
592
+ priceShow: ((_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.customer_mall_cost_price_show) == '1' ? true : false,
593
+ supplierShow: true
594
594
  });
595
595
  }
596
596
  case 4:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fle-ui/plus-choose-site-goods",
3
- "version": "1.1.11-alpha.0",
3
+ "version": "1.1.11",
4
4
  "description": "@fle-ui/plus-choose-site-goods",
5
5
  "keywords": [
6
6
  "fle-ui",
@@ -28,7 +28,7 @@
28
28
  "@ant-design/icons": "^5.3.0",
29
29
  "@fle-tools/env": "^1.0.3",
30
30
  "@fle-ui/plus-address-selection": "^1.0.14",
31
- "@fle-ui/plus-choose-mall-goods": "^1.1.11-alpha.0"
31
+ "@fle-ui/plus-choose-mall-goods": "^1.1.11"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "antd": ">=4.23.0 || >=5.0.0",
@@ -45,5 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "7d48264a50c81e811e73264aade348b57a58592b"
48
+ "gitHead": "f5a34365f0ab189629c08301c00018edb7243bc2"
49
49
  }