Commit 0e2423c2 by 孙美琪

隐藏商城系统-商品中心-商品列表编辑中的字段

parent 711b434c
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<el-table-column align="center" label="商品条码" min-width="168"> <!-- <el-table-column align="center" label="商品条码" min-width="168">-->
<template #default="{ row }"> <!-- <template #default="{ row }">-->
<el-input v-model="row.barCode" class="w-100%" /> <!-- <el-input v-model="row.barCode" class="w-100%" />-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
<el-table-column align="center" label="销售价" min-width="168"> <el-table-column align="center" label="销售价" min-width="168">
<template #default="{ row }"> <template #default="{ row }">
<el-input-number <el-input-number
...@@ -75,30 +75,30 @@ ...@@ -75,30 +75,30 @@
<el-input-number v-model="row.stock" :min="0" class="w-100%" controls-position="right" /> <el-input-number v-model="row.stock" :min="0" class="w-100%" controls-position="right" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="重量(kg)" min-width="168"> <!-- <el-table-column align="center" label="重量(kg)" min-width="168">-->
<template #default="{ row }"> <!-- <template #default="{ row }">-->
<el-input-number <!-- <el-input-number-->
v-model="row.weight" <!-- v-model="row.weight"-->
:min="0" <!-- :min="0"-->
:precision="2" <!-- :precision="2"-->
:step="0.1" <!-- :step="0.1"-->
class="w-100%" <!-- class="w-100%"-->
controls-position="right" <!-- controls-position="right"-->
/> <!-- />-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
<el-table-column align="center" label="体积(m^3)" min-width="168"> <!-- <el-table-column align="center" label="体积(m^3)" min-width="168">-->
<template #default="{ row }"> <!-- <template #default="{ row }">-->
<el-input-number <!-- <el-input-number-->
v-model="row.volume" <!-- v-model="row.volume"-->
:min="0" <!-- :min="0"-->
:precision="2" <!-- :precision="2"-->
:step="0.1" <!-- :step="0.1"-->
class="w-100%" <!-- class="w-100%"-->
controls-position="right" <!-- controls-position="right"-->
/> <!-- />-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
<template v-if="formData!.subCommissionType"> <template v-if="formData!.subCommissionType">
<el-table-column align="center" label="一级返佣(元)" min-width="168"> <el-table-column align="center" label="一级返佣(元)" min-width="168">
<template #default="{ row }"> <template #default="{ row }">
...@@ -173,11 +173,11 @@ ...@@ -173,11 +173,11 @@
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<el-table-column align="center" label="商品条码" min-width="100"> <!-- <el-table-column align="center" label="商品条码" min-width="100">-->
<template #default="{ row }"> <!-- <template #default="{ row }">-->
{{ row.barCode }} <!-- {{ row.barCode }}-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
<el-table-column align="center" label="销售价(元)" min-width="80"> <el-table-column align="center" label="销售价(元)" min-width="80">
<template #default="{ row }"> <template #default="{ row }">
{{ row.price }} {{ row.price }}
...@@ -198,16 +198,16 @@ ...@@ -198,16 +198,16 @@
{{ row.stock }} {{ row.stock }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="重量(kg)" min-width="80"> <!-- <el-table-column align="center" label="重量(kg)" min-width="80">-->
<template #default="{ row }"> <!-- <template #default="{ row }">-->
{{ row.weight }} <!-- {{ row.weight }}-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
<el-table-column align="center" label="体积(m^3)" min-width="80"> <!-- <el-table-column align="center" label="体积(m^3)" min-width="80">-->
<template #default="{ row }"> <!-- <template #default="{ row }">-->
{{ row.volume }} <!-- {{ row.volume }}-->
</template> <!-- </template>-->
</el-table-column> <!-- </el-table-column>-->
<template v-if="formData!.subCommissionType"> <template v-if="formData!.subCommissionType">
<el-table-column align="center" label="一级返佣(元)" min-width="80"> <el-table-column align="center" label="一级返佣(元)" min-width="80">
<template #default="{ row }"> <template #default="{ row }">
......
...@@ -17,30 +17,6 @@ ...@@ -17,30 +17,6 @@
:propFormData="formData" :propFormData="formData"
/> />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="物流设置" name="delivery">
<DeliveryForm
ref="deliveryRef"
v-model:activeName="activeName"
:is-detail="isDetail"
:propFormData="formData"
/>
</el-tab-pane>
<el-tab-pane label="商品详情" name="description">
<DescriptionForm
ref="descriptionRef"
v-model:activeName="activeName"
:is-detail="isDetail"
:propFormData="formData"
/>
</el-tab-pane>
<el-tab-pane label="其它设置" name="other">
<OtherForm
ref="otherRef"
v-model:activeName="activeName"
:is-detail="isDetail"
:propFormData="formData"
/>
</el-tab-pane>
</el-tabs> </el-tabs>
<el-form> <el-form>
<el-form-item style="float: right"> <el-form-item style="float: right">
......
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
/> />
<el-table-column align="center" fixed="right" label="操作" min-width="200"> <el-table-column align="center" fixed="right" label="操作" min-width="200">
<template #default="{ row }"> <template #default="{ row }">
<el-button link type="primary" @click="openDetail(row.id)"> 详情 </el-button> <el-button link type="primary" @click="openDetail(row.id)"> 详情</el-button>
<el-button <el-button
v-hasPermi="['product:spu:update']" v-hasPermi="['product:spu:update']"
link link
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment