This commit is contained in:
zjf committed 2025-02-25 11:29:25 +08:00
1 parent 49c9da6217
commit af32ec78bd
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@
</el-col>
<el-col :span="24" class="mb20">
<el-form-item label="商品封面图" prop="sliderPicUrls">
<el-form-item label="商品轮播图" prop="sliderPicUrls">
<upload-img v-model:imageUrl="form.sliderPicUrls"></upload-img>
</el-form-item>
</el-col>
@@ -239,7 +239,7 @@ const baseDataForm = reactive<any>({
checkTime: "",
supplierId: "",
remark: "",
orderType: "1",
orderType: "2",
totalAmount: "",
memberNumber: "",
})
@@ -312,7 +312,7 @@ const getInitData = async () => {
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
getErpSpuSimpleAll(),
getSupplierTypeOptions(),
getPlanCode({ type: 3 }),
getPlanCode({ type: 6 }),
]).then((results) => results.map((result) => (result.status === "fulfilled" ? result.value : null)))
erpSpuSimpleAll && erpSpuSimpleAll.code === 0 && (state.erpSpuSimpleAll = erpSpuSimpleAll.data)
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)
@@ -312,7 +312,7 @@ const getInitData = async () => {
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
getErpSpuSimpleAll(),
getSupplierTypeOptions(),
getPlanCode({ type: 3 }),
getPlanCode({ type: 5 }),
]).then((results) => results.map((result) => (result.status === "fulfilled" ? result.value : null)))
erpSpuSimpleAll && erpSpuSimpleAll.code === 0 && (state.erpSpuSimpleAll = erpSpuSimpleAll.data)
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)