修改
This commit is contained in:
1 parent
49c9da6217
commit
af32ec78bd
3 files changed
+4
-4
No files matched your search
@@ -15,7 +15,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="24" class="mb20">
|
<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>
|
<upload-img v-model:imageUrl="form.sliderPicUrls"></upload-img>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ const baseDataForm = reactive<any>({
|
|||||||
checkTime: "",
|
checkTime: "",
|
||||||
supplierId: "",
|
supplierId: "",
|
||||||
remark: "",
|
remark: "",
|
||||||
orderType: "1",
|
orderType: "2",
|
||||||
totalAmount: "",
|
totalAmount: "",
|
||||||
memberNumber: "",
|
memberNumber: "",
|
||||||
})
|
})
|
||||||
@@ -312,7 +312,7 @@ const getInitData = async () => {
|
|||||||
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
|
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
|
||||||
getErpSpuSimpleAll(),
|
getErpSpuSimpleAll(),
|
||||||
getSupplierTypeOptions(),
|
getSupplierTypeOptions(),
|
||||||
getPlanCode({ type: 3 }),
|
getPlanCode({ type: 6 }),
|
||||||
]).then((results) => results.map((result) => (result.status === "fulfilled" ? result.value : null)))
|
]).then((results) => results.map((result) => (result.status === "fulfilled" ? result.value : null)))
|
||||||
erpSpuSimpleAll && erpSpuSimpleAll.code === 0 && (state.erpSpuSimpleAll = erpSpuSimpleAll.data)
|
erpSpuSimpleAll && erpSpuSimpleAll.code === 0 && (state.erpSpuSimpleAll = erpSpuSimpleAll.data)
|
||||||
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)
|
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)
|
||||||
|
|||||||
@@ -312,7 +312,7 @@ const getInitData = async () => {
|
|||||||
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
|
const [erpSpuSimpleAll, supplierTypeOptions, planCode] = await Promise.allSettled([
|
||||||
getErpSpuSimpleAll(),
|
getErpSpuSimpleAll(),
|
||||||
getSupplierTypeOptions(),
|
getSupplierTypeOptions(),
|
||||||
getPlanCode({ type: 3 }),
|
getPlanCode({ type: 5 }),
|
||||||
]).then((results) => results.map((result) => (result.status === "fulfilled" ? result.value : null)))
|
]).then((results) => results.map((result) => (result.status === "fulfilled" ? result.value : null)))
|
||||||
erpSpuSimpleAll && erpSpuSimpleAll.code === 0 && (state.erpSpuSimpleAll = erpSpuSimpleAll.data)
|
erpSpuSimpleAll && erpSpuSimpleAll.code === 0 && (state.erpSpuSimpleAll = erpSpuSimpleAll.data)
|
||||||
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)
|
supplierTypeOptions && supplierTypeOptions.code === 0 && (supplierTypeDict.value = supplierTypeOptions.data)
|
||||||
|
|||||||
Reference in new issue
Block a user