xyvcard-goods 0.0.33 → 0.0.35

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.
Files changed (116) hide show
  1. package/dist/BatchSetting-B1LcBFPD.mjs +333 -0
  2. package/dist/ChannelProfit-CNSIK87d.mjs +4 -0
  3. package/dist/ChannelProfit.vue_vue_type_script_setup_true_lang-BVTifRY8.mjs +320 -0
  4. package/dist/{GoodsBaseForm-6rzBkBTh.mjs → GoodsBaseForm-BZ2fZmmp.mjs} +1 -1
  5. package/dist/GoodsBaseForm.vue_vue_type_script_setup_true_lang-BxBTTLdA.mjs +407 -0
  6. package/dist/GoodsLogisticsForm-BqlwdGQ1.mjs +4 -0
  7. package/dist/GoodsLogisticsForm.vue_vue_type_script_setup_true_lang-DJREiSkD.mjs +433 -0
  8. package/dist/GoodsProfitForm-COYRi8sx.mjs +4 -0
  9. package/dist/GoodsProfitForm.vue_vue_type_script_setup_true_lang-BYPWP95J.mjs +2550 -0
  10. package/dist/{GoodsSpecForm-BqaN71rS.mjs → GoodsSpecForm-B4MtETRy.mjs} +1 -1
  11. package/dist/GoodsSpecForm.vue_vue_type_script_setup_true_lang-BbVK_KNz.mjs +347 -0
  12. package/dist/SingleSku-rWv9vVhv.mjs +351 -0
  13. package/dist/constant-sVd2JbJt.mjs +115 -0
  14. package/dist/edit-B1cmsJpy.mjs +70 -0
  15. package/dist/{edit-DBTNknBy.mjs → edit-Br1Y569l.mjs} +8 -7
  16. package/dist/{edit-CZwlbL9o.mjs → edit-CET8Fr-t.mjs} +18 -18
  17. package/dist/{edit-1Lv_dvlq.mjs → edit-CagYTFKr.mjs} +1 -1
  18. package/dist/{edit-D2zcGl_U.mjs → edit-iJGrWlSv.mjs} +1 -1
  19. package/dist/{edit.vue_vue_type_script_setup_true_lang-BmOhw098.mjs → edit.vue_vue_type_script_setup_true_lang-D_0YivhL.mjs} +32 -32
  20. package/dist/{el-message-BB2-39XJ.mjs → el-message-Dj6aaz4G.mjs} +490 -373
  21. package/dist/{index-BhUD_X30.mjs → index copy-kNLE7fPg.mjs } +6 -5
  22. package/dist/index-C61SQFSx.mjs +264 -0
  23. package/dist/index-CeWPdEJD.mjs +713 -0
  24. package/dist/{index-BpXZNA11.mjs → index-Cg6GUdSP.mjs} +3 -3
  25. package/dist/index-CyxnVWnL.mjs +182 -0
  26. package/dist/{index-DGYGNHfx.mjs → index-D9s8hsVw.mjs} +3 -3
  27. package/dist/{index-BXa-atkT.mjs → index-DbnKa_BJ.mjs} +1 -1
  28. package/dist/{index-DXIGHcIv.mjs → index-DoxTu4kg.mjs} +5 -4
  29. package/dist/{index-Cl4wz2yF.mjs → index-kw0UYOIu.mjs} +3 -3
  30. package/dist/{index-CRfiEzkA.mjs → index-xQgC-8Gd.mjs} +1237 -1141
  31. package/dist/index.mjs +1 -1
  32. package/dist/info-CTElDVo6.mjs +376 -0
  33. package/dist/{info-DfbU-CWk.mjs → info-DpGJgdac.mjs} +37 -36
  34. package/dist/{skuForm-DoIpxDvq.mjs → skuForm-C7w9YIDe.mjs} +40 -39
  35. package/dist/skuForm-CPlnCToi.mjs +279 -0
  36. package/dist/skuTable-C-LcASbX.mjs +594 -0
  37. package/dist/spec-DkiGCkuM.mjs +44 -0
  38. package/dist/style.css +1 -1
  39. package/dts/xyvcard-goods/src/App.vue.d.ts +2 -0
  40. package/dts/xyvcard-goods/src/api/dict.d.ts +36 -0
  41. package/dts/xyvcard-goods/src/api/goods-base/index.d.ts +11 -0
  42. package/dts/xyvcard-goods/src/api/goods-base/types.d.ts +33 -0
  43. package/dts/xyvcard-goods/src/api/goods-brand-info/index.d.ts +20 -0
  44. package/dts/xyvcard-goods/src/api/goods-brand-info/types.d.ts +73 -0
  45. package/dts/xyvcard-goods/src/api/goods-category/index.d.ts +23 -0
  46. package/dts/xyvcard-goods/src/api/goods-category/types.d.ts +70 -0
  47. package/dts/xyvcard-goods/src/api/goods-ensure/index.d.ts +13 -0
  48. package/dts/xyvcard-goods/src/api/goods-ensure/types.d.ts +13 -0
  49. package/dts/xyvcard-goods/src/api/goods-label-info/index.d.ts +20 -0
  50. package/dts/xyvcard-goods/src/api/goods-label-info/types.d.ts +70 -0
  51. package/dts/xyvcard-goods/src/api/goods-logistics/index.d.ts +8 -0
  52. package/dts/xyvcard-goods/src/api/goods-logistics/types.d.ts +16 -0
  53. package/dts/xyvcard-goods/src/api/goods-sku/types.d.ts +21 -0
  54. package/dts/xyvcard-goods/src/api/goods-spec/index.d.ts +8 -0
  55. package/dts/xyvcard-goods/src/api/goods-spec/types.d.ts +15 -0
  56. package/dts/xyvcard-goods/src/api/goods-spu/index.d.ts +72 -0
  57. package/dts/xyvcard-goods/src/api/goods-spu/types.d.ts +271 -0
  58. package/dts/xyvcard-goods/src/api/goods-stock/index.d.ts +8 -0
  59. package/dts/xyvcard-goods/src/api/goods-stock/types.d.ts +32 -0
  60. package/dts/xyvcard-goods/src/api/index.d.ts +29 -0
  61. package/dts/xyvcard-goods/src/api/shop-branch/index.d.ts +9 -0
  62. package/dts/xyvcard-goods/src/api/shop-branch/types.d.ts +28 -0
  63. package/dts/xyvcard-goods/src/api/types.d.ts +4 -0
  64. package/dts/xyvcard-goods/src/components/ImageUpload.vue.d.ts +36 -0
  65. package/dts/xyvcard-goods/src/constant.d.ts +107 -0
  66. package/dts/xyvcard-goods/src/index.d.ts +12 -0
  67. package/dts/xyvcard-goods/src/lang/goods/en.d.ts +2 -0
  68. package/dts/xyvcard-goods/src/lang/goods/zh-cn.d.ts +173 -0
  69. package/dts/xyvcard-goods/src/lang/index.d.ts +1 -0
  70. package/dts/xyvcard-goods/src/main.d.ts +7 -0
  71. package/dts/xyvcard-goods/src/permission.d.ts +1 -0
  72. package/dts/xyvcard-goods/src/router/index.d.ts +7 -0
  73. package/dts/xyvcard-goods/src/utils/momentPlugin.d.ts +5 -0
  74. package/dts/xyvcard-goods/src/utils/returnBizLay.d.ts +2 -0
  75. package/dts/xyvcard-goods/src/utils/sku.d.ts +19 -0
  76. package/dts/xyvcard-goods/src/views/goods/goods-brand-info/edit.vue.d.ts +22 -0
  77. package/dts/xyvcard-goods/src/views/goods/goods-brand-info/index.vue.d.ts +2 -0
  78. package/dts/xyvcard-goods/src/views/goods/goods-category/edit.vue.d.ts +22 -0
  79. package/dts/xyvcard-goods/src/views/goods/goods-category/index.vue.d.ts +2 -0
  80. package/dts/xyvcard-goods/src/views/goods/goods-combination/edit.vue.d.ts +2 -0
  81. package/dts/xyvcard-goods/src/views/goods/goods-combination/index.vue.d.ts +2 -0
  82. package/dts/xyvcard-goods/src/views/goods/goods-combination/info.vue.d.ts +2 -0
  83. package/dts/xyvcard-goods/src/views/goods/goods-combination/skuForm.vue.d.ts +20 -0
  84. package/dts/xyvcard-goods/src/views/goods/goods-label-info/edit.vue.d.ts +22 -0
  85. package/dts/xyvcard-goods/src/views/goods/goods-label-info/index.vue.d.ts +2 -0
  86. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/BatchSetting.vue.d.ts +35 -0
  87. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/ChannelProfit.vue.d.ts +22 -0
  88. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/GoodsBaseForm.vue.d.ts +34 -0
  89. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/GoodsLogisticsForm.vue.d.ts +42 -0
  90. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/GoodsProfitForm.vue.d.ts +34 -0
  91. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/GoodsSpecForm.vue.d.ts +42 -0
  92. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/SingleSku.vue.d.ts +23 -0
  93. package/dts/xyvcard-goods/src/views/goods/goods-spu/edit copy 2.vue.d.ts +2 -0
  94. package/dts/xyvcard-goods/src/views/goods/goods-spu/edit copy.vue.d.ts +2 -0
  95. package/dts/xyvcard-goods/src/views/goods/goods-spu/edit.vue.d.ts +2 -0
  96. package/dts/xyvcard-goods/src/views/goods/goods-spu/index copy.vue.d.ts +2 -0
  97. package/dts/xyvcard-goods/src/views/goods/goods-spu/index.vue.d.ts +2 -0
  98. package/dts/xyvcard-goods/src/views/goods/goods-spu/info.vue.d.ts +2 -0
  99. package/dts/xyvcard-goods/src/views/goods/goods-spu/skuForm.vue.d.ts +42 -0
  100. package/dts/xyvcard-goods/src/views/goods/goods-spu/skuTable.vue.d.ts +53 -0
  101. package/dts/xyvcard-goods/src/views/goods/goods-spu/spec.vue.d.ts +2 -0
  102. package/dts/xyvcard-shop/src/api/shop-branch/index.d.ts +14 -0
  103. package/dts/xyvcard-shop/src/api/shop-branch/types.d.ts +76 -0
  104. package/package.json +6 -5
  105. package/dist/GoodsBaseForm.vue_vue_type_script_setup_true_lang-BmIR352P.mjs +0 -374
  106. package/dist/GoodsLogisticsForm-CHyQ99Mt.mjs +0 -10
  107. package/dist/GoodsSpecForm.vue_vue_type_script_setup_true_lang-BTFKRiNW.mjs +0 -140
  108. package/dist/edit copy 2-DnKLaz3I.mjs +0 -45
  109. package/dist/edit copy-tfwJCdiV.mjs +0 -526
  110. package/dist/edit-Db2EJ9dq.mjs +0 -526
  111. package/dist/index-BHmGYIuc.mjs +0 -24
  112. package/dist/index-Df-F10aZ.mjs +0 -264
  113. package/dist/index-vHQhUQSO.mjs +0 -95
  114. package/dist/info-DDi6GKQH.mjs +0 -365
  115. package/dist/skuForm-DWIoveRP.mjs +0 -475
  116. package/dist/skuTable-BVBtWrf9.mjs +0 -639
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./GoodsSpecForm.vue_vue_type_script_setup_true_lang-BTFKRiNW.mjs";
1
+ import { _ as f } from "./GoodsSpecForm.vue_vue_type_script_setup_true_lang-BbVK_KNz.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,347 @@
1
+ import { defineComponent as M, reactive as V, ref as T, resolveComponent as i, createBlock as S, openBlock as f, unref as a, withCtx as s, createVNode as o, createElementBlock as G, createCommentVNode as P, Fragment as I, isRef as v, createTextVNode as w } from "vue";
2
+ import { useI18n as F } from "vue-i18n";
3
+ import { useRoute as O } from "vue-router";
4
+ import { D as c } from "./index-C61SQFSx.mjs";
5
+ import { C as y } from "./constant-sVd2JbJt.mjs";
6
+ import { useUserStore as $, clearEmpty as B, request as j } from "jmash-core";
7
+ import J from "./skuForm-CPlnCToi.mjs";
8
+ import X from "./SingleSku-rWv9vVhv.mjs";
9
+ import { E as z } from "./el-message-Dj6aaz4G.mjs";
10
+ class H {
11
+ // A设置商品规格与定价信息
12
+ create(g) {
13
+ return g.tenant = $().user.tenant, B(g), j({
14
+ url: "/v1/goods/goods_spec",
15
+ method: "patch",
16
+ data: g
17
+ });
18
+ }
19
+ }
20
+ const K = new H(), se = /* @__PURE__ */ M({
21
+ __name: "GoodsSpecForm",
22
+ props: {
23
+ goodsSpuModel: { default: () => ({ skuList: { results: [{}] } }) }
24
+ },
25
+ emits: ["submit"],
26
+ setup(E, { emit: g }) {
27
+ const D = E;
28
+ c.presaleTypeEnum.useEnumValues(), c.balancePaymentTypeEnum.useEnumValues(), c.specTypeEnum.useEnumValues();
29
+ const { t: d } = F(), k = O();
30
+ let e = V({
31
+ requestId: Math.random() * 10 + "",
32
+ updateMask: "presaleType,isPointsGift,isPointsDeduct,purchaseLimit,balancePaymentType,balancePaymentDays,balancePaymentDate,specType,specId,skuSpecValues",
33
+ isPointsGift: !1,
34
+ isPointsDeduct: !1,
35
+ purchaseLimit: 0,
36
+ spuId: k.query.spuId,
37
+ presaleType: y.GOODS_PRESALE_TYPE_VALUES.NONE,
38
+ balancePaymentType: y.BALANCE_PAYMENT_TYPE_VALUES.DYNAMIC_DATE,
39
+ skuSpecValues: [],
40
+ specType: y.SPEC_TYPE_VALUES.UNIFIED_SPEC,
41
+ ...D.goodsSpuModel
42
+ });
43
+ const A = V({
44
+ presaleType: [
45
+ {
46
+ required: !0,
47
+ message: d("goodsSpu.presaleTypeRequired"),
48
+ trigger: "change"
49
+ }
50
+ ],
51
+ balancePaymentType: [
52
+ {
53
+ required: !0,
54
+ message: d("goodsSpu.balancePaymentTypeRequired"),
55
+ trigger: "change"
56
+ }
57
+ ],
58
+ balancePaymentDays: [
59
+ {
60
+ required: !0,
61
+ message: d("goodsSpu.balancePaymentDaysRequired"),
62
+ trigger: "blur"
63
+ }
64
+ ],
65
+ balancePaymentDate: [
66
+ {
67
+ required: !0,
68
+ message: d("goodsSpu.balancePaymentDateRequired"),
69
+ trigger: "change"
70
+ }
71
+ ],
72
+ isPointsGift: [
73
+ {
74
+ required: !0,
75
+ message: d("goodsSpu.isPointsGiftRequired"),
76
+ trigger: "change"
77
+ }
78
+ ],
79
+ isPointsDeduct: [
80
+ {
81
+ required: !0,
82
+ message: d("goodsSpu.isPointsDeductRequired"),
83
+ trigger: "change"
84
+ }
85
+ ],
86
+ purchaseLimit: [
87
+ {
88
+ required: !0,
89
+ message: d("goodsSpu.purchaseLimitRequired"),
90
+ trigger: "blur"
91
+ }
92
+ ],
93
+ specType: [
94
+ {
95
+ required: !0,
96
+ message: d("goodsSpu.specTypeRequired"),
97
+ trigger: "change"
98
+ }
99
+ ]
100
+ }), _ = T(), b = T(), L = g;
101
+ async function q() {
102
+ var t, l, r;
103
+ await ((l = (t = b.value) == null ? void 0 : t.formRef()) == null ? void 0 : l.validate()), await ((r = _.value) == null ? void 0 : r.validate((n) => {
104
+ if (!n) return;
105
+ const p = JSON.parse(JSON.stringify(e));
106
+ p.skuSpecValues = p.skuSpecValues.map((m) => (m.earnestAmount = String(m.earnestAmount), m.depositAmount = String(m.depositAmount), m)), K.create(p).then((m) => {
107
+ m.status === 200 && (z({
108
+ message: d("common.submitSuccess"),
109
+ type: "success"
110
+ }), L("submit", m.data));
111
+ });
112
+ }));
113
+ }
114
+ function N(t) {
115
+ e.skuSpecValues.push(t), e.skuSpecValues = e.skuSpecValues.slice(-1);
116
+ }
117
+ function R(t) {
118
+ t.forEach((l) => {
119
+ var r;
120
+ e.specId = (r = l.specValues) == null ? void 0 : r.map((n) => n.specId), e.skuSpecValues.push(l);
121
+ }), e.skuSpecValues = e.skuSpecValues.slice(-t.length);
122
+ }
123
+ return (t, l) => {
124
+ const r = i("jmash-enum-radio"), n = i("el-form-item"), p = i("el-col"), m = i("el-input-number"), U = i("el-date-picker"), Y = i("el-row"), C = i("el-button"), h = i("el-form");
125
+ return f(), S(h, {
126
+ ref_key: "goodsSpecFormRef",
127
+ ref: _,
128
+ model: a(e),
129
+ "label-width": "140px",
130
+ rules: A
131
+ }, {
132
+ default: s(() => [
133
+ o(Y, null, {
134
+ default: s(() => [
135
+ o(p, { span: 8 }, {
136
+ default: s(() => [
137
+ o(n, {
138
+ label: t.$t("goodsSpu.presaleType"),
139
+ prop: "presaleType"
140
+ }, {
141
+ default: s(() => [
142
+ o(r, {
143
+ modelValue: a(e).presaleType,
144
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => a(e).presaleType = u),
145
+ data: a(c).presaleTypeEnum.values
146
+ }, null, 8, ["modelValue", "data"])
147
+ ]),
148
+ _: 1
149
+ }, 8, ["label"])
150
+ ]),
151
+ _: 1
152
+ }),
153
+ a(e).presaleType !== a(y).GOODS_PRESALE_TYPE_VALUES.NONE ? (f(), G(I, { key: 0 }, [
154
+ o(p, { span: 8 }, {
155
+ default: s(() => [
156
+ o(n, {
157
+ label: t.$t("goodsSpu.balancePaymentType"),
158
+ prop: "balancePaymentType"
159
+ }, {
160
+ default: s(() => [
161
+ o(r, {
162
+ modelValue: a(e).balancePaymentType,
163
+ "onUpdate:modelValue": l[1] || (l[1] = (u) => a(e).balancePaymentType = u),
164
+ data: a(c).balancePaymentTypeEnum.values
165
+ }, null, 8, ["modelValue", "data"])
166
+ ]),
167
+ _: 1
168
+ }, 8, ["label"])
169
+ ]),
170
+ _: 1
171
+ }),
172
+ a(e).balancePaymentType === a(y).BALANCE_PAYMENT_TYPE_VALUES.DYNAMIC_DATE ? (f(), S(p, {
173
+ key: 0,
174
+ span: 8
175
+ }, {
176
+ default: s(() => [
177
+ o(n, {
178
+ label: t.$t("goodsSpu.balancePaymentDays"),
179
+ prop: "balancePaymentDays"
180
+ }, {
181
+ default: s(() => [
182
+ o(m, {
183
+ class: "w-full",
184
+ modelValue: a(e).balancePaymentDays,
185
+ "onUpdate:modelValue": l[2] || (l[2] = (u) => a(e).balancePaymentDays = u),
186
+ placeholder: t.$t("goodsSpu.balancePaymentDaysRequired"),
187
+ min: 0,
188
+ step: 1,
189
+ "controls-position": "right",
190
+ clearable: ""
191
+ }, null, 8, ["modelValue", "placeholder"])
192
+ ]),
193
+ _: 1
194
+ }, 8, ["label"])
195
+ ]),
196
+ _: 1
197
+ })) : P("", !0),
198
+ a(e).balancePaymentType === a(y).BALANCE_PAYMENT_TYPE_VALUES.FIXED_DATE ? (f(), S(p, {
199
+ key: 1,
200
+ span: 8
201
+ }, {
202
+ default: s(() => [
203
+ o(n, {
204
+ label: t.$t("goodsSpu.balancePaymentDate"),
205
+ prop: "balancePaymentDate"
206
+ }, {
207
+ default: s(() => [
208
+ o(U, {
209
+ class: "w-full",
210
+ modelValue: a(e).balancePaymentDate,
211
+ "onUpdate:modelValue": l[3] || (l[3] = (u) => a(e).balancePaymentDate = u),
212
+ placeholder: t.$t("goodsSpu.balancePaymentDateRequired"),
213
+ "show-word-limit": "",
214
+ type: "date",
215
+ format: "YYYY-MM-DD",
216
+ "value-format": "YYYY-MM-DD",
217
+ clearable: "",
218
+ "value-on-clear": ""
219
+ }, null, 8, ["modelValue", "placeholder"])
220
+ ]),
221
+ _: 1
222
+ }, 8, ["label"])
223
+ ]),
224
+ _: 1
225
+ })) : P("", !0)
226
+ ], 64)) : P("", !0),
227
+ o(p, { span: 8 }, {
228
+ default: s(() => [
229
+ o(n, {
230
+ label: t.$t("goodsSpu.isPointsGift"),
231
+ prop: "isPointsGift"
232
+ }, {
233
+ default: s(() => [
234
+ o(r, {
235
+ modelValue: a(e).isPointsGift,
236
+ "onUpdate:modelValue": l[4] || (l[4] = (u) => a(e).isPointsGift = u),
237
+ data: a(c).yesOrNoEnum.values
238
+ }, null, 8, ["modelValue", "data"])
239
+ ]),
240
+ _: 1
241
+ }, 8, ["label"])
242
+ ]),
243
+ _: 1
244
+ }),
245
+ o(p, { span: 8 }, {
246
+ default: s(() => [
247
+ o(n, {
248
+ label: t.$t("goodsSpu.isPointsDeduct"),
249
+ prop: "isPointsDeduct"
250
+ }, {
251
+ default: s(() => [
252
+ o(r, {
253
+ modelValue: a(e).isPointsDeduct,
254
+ "onUpdate:modelValue": l[5] || (l[5] = (u) => a(e).isPointsDeduct = u),
255
+ data: a(c).yesOrNoEnum.values
256
+ }, null, 8, ["modelValue", "data"])
257
+ ]),
258
+ _: 1
259
+ }, 8, ["label"])
260
+ ]),
261
+ _: 1
262
+ }),
263
+ o(p, { span: 8 }, {
264
+ default: s(() => [
265
+ o(n, {
266
+ label: t.$t("goodsSpu.purchaseLimit"),
267
+ prop: "purchaseLimit"
268
+ }, {
269
+ default: s(() => [
270
+ o(m, {
271
+ class: "w-full",
272
+ modelValue: a(e).purchaseLimit,
273
+ "onUpdate:modelValue": l[6] || (l[6] = (u) => a(e).purchaseLimit = u),
274
+ placeholder: t.$t("goodsSpu.purchaseLimitRequired"),
275
+ min: 0,
276
+ step: 1,
277
+ "controls-position": "right",
278
+ clearable: ""
279
+ }, null, 8, ["modelValue", "placeholder"])
280
+ ]),
281
+ _: 1
282
+ }, 8, ["label"])
283
+ ]),
284
+ _: 1
285
+ }),
286
+ o(p, { span: 8 }, {
287
+ default: s(() => [
288
+ o(n, {
289
+ label: t.$t("goodsSpu.specType"),
290
+ prop: "specType"
291
+ }, {
292
+ default: s(() => [
293
+ o(r, {
294
+ modelValue: a(e).specType,
295
+ "onUpdate:modelValue": l[7] || (l[7] = (u) => a(e).specType = u),
296
+ data: a(c).specTypeEnum.values
297
+ }, null, 8, ["modelValue", "data"])
298
+ ]),
299
+ _: 1
300
+ }, 8, ["label"])
301
+ ]),
302
+ _: 1
303
+ }),
304
+ a(e).specType === a(y).SPEC_TYPE_VALUES.UNIFIED_SPEC ? (f(), S(X, {
305
+ key: 1,
306
+ ref_key: "formRef",
307
+ ref: b,
308
+ modelValue: a(e),
309
+ "onUpdate:modelValue": l[8] || (l[8] = (u) => v(e) ? e.value = u : e = u),
310
+ "goods-spu-model": t.goodsSpuModel
311
+ }, null, 8, ["modelValue", "goods-spu-model"])) : P("", !0),
312
+ a(e).specType === a(y).SPEC_TYPE_VALUES.MULTI_SPEC ? (f(), S(J, {
313
+ key: 2,
314
+ ref_key: "formRef",
315
+ ref: b,
316
+ form: a(e),
317
+ "goods-spu-model": t.goodsSpuModel,
318
+ onGetGoodsSku: N,
319
+ onGetFormData: R
320
+ }, null, 8, ["form", "goods-spu-model"])) : P("", !0)
321
+ ]),
322
+ _: 1
323
+ }),
324
+ o(n, null, {
325
+ default: s(() => [
326
+ o(C, {
327
+ type: "primary",
328
+ onClick: q
329
+ }, {
330
+ default: s(() => l[9] || (l[9] = [
331
+ w("保存", -1)
332
+ ])),
333
+ _: 1,
334
+ __: [9]
335
+ })
336
+ ]),
337
+ _: 1
338
+ })
339
+ ]),
340
+ _: 1
341
+ }, 8, ["model", "rules"]);
342
+ };
343
+ }
344
+ });
345
+ export {
346
+ se as _
347
+ };