fix: 修复善品测试发现的问题

pull/159/head
puhui999 2023-06-01 11:54:39 +08:00
parent 6a10a81f58
commit 7fb6258bed
2 changed files with 6 additions and 5 deletions

View File

@ -63,7 +63,7 @@ const formData = ref<ProductSpuApi.Spu>({
keyword: '', //
unit: null, //
picUrl: '', //
sliderPicUrls: [''], //
sliderPicUrls: [], //
introduction: '', //
deliveryTemplateId: null, //
brandId: null, //

View File

@ -74,7 +74,8 @@
:value="item.id"
/>
</el-select>
<el-button class="ml-20px">运费模板</el-button>
<!-- TODO 可能情况善品录入后选择运费发现下拉选择中没有对应的模版 这里需不需要做添加运费模版后选择的功能 -->
<!-- <el-button class="ml-20px">运费模板</el-button>-->
</el-form-item>
</el-col>
<el-col :span="12">
@ -107,6 +108,9 @@
</el-col>
<!-- 多规格添加-->
<el-col :span="24">
<el-form-item v-if="!formData.specType">
<SkuList ref="skuListRef" :prop-form-data="formData" :propertyList="propertyList" />
</el-form-item>
<el-form-item v-if="formData.specType" label="商品属性">
<el-button class="mr-15px mb-10px" @click="attributesAddFormRef.open"></el-button>
<ProductAttributes :propertyList="propertyList" @success="generateSkus" />
@ -119,9 +123,6 @@
<SkuList ref="skuListRef" :prop-form-data="formData" :propertyList="propertyList" />
</el-form-item>
</template>
<el-form-item v-if="!formData.specType">
<SkuList :prop-form-data="formData" :propertyList="propertyList" />
</el-form-item>
</el-col>
</el-row>
</el-form>