Browse Source

商家端商品管理前端处理商品上架与平台上架主次业务关系

master
dy-hu 1 year ago
parent
commit
e53c0a059f
  1. 2
      src/views/commodity/commoditySystem/addCommodity.vue
  2. 2
      src/views/commodity/commoditySystem/index.vue

2
src/views/commodity/commoditySystem/addCommodity.vue

@ -223,7 +223,7 @@
</el-form-item>
<el-form-item :label="$t('product.platshelvestate')" prop="platShelveState">
<el-radio-group v-model="form.platShelveState">
<el-radio-group v-model="form.platShelveState" :disabled="form.shelveState != 1">
<el-radio :label="1">{{ $t('product.shelveson') }}</el-radio>
<el-radio :label="0">{{ $t('product.shelvesoff') }}</el-radio>
</el-radio-group>

2
src/views/commodity/commoditySystem/index.vue

@ -94,7 +94,7 @@
<el-button type="text" @click="edit(scope.row)">{{ $t('common.edit') }}</el-button>
<el-button v-if="scope.row.shelveState==0" type="text" @click="down(scope.row)">{{ $t('product.shelveson') }}</el-button>
<el-button v-if="scope.row.shelveState==1" type="text" @click="down(scope.row)">{{ $t('product.shelvesoff') }}</el-button>
<el-button v-if="scope.row.platShelveState==0" type="text" @click="platDown(scope.row)">{{ $t('product.platshelveson') }}</el-button>
<el-button v-if="scope.row.shelveState==1 && scope.row.platShelveState==0" type="text" @click="platDown(scope.row)">{{ $t('product.platshelveson') }}</el-button>
<el-button v-if="scope.row.platShelveState==1" type="text" @click="platDown(scope.row)">{{ $t('product.platshelvesoff') }}</el-button>
<el-button v-if="scope.row.shelveState==1" type="text" @click="setVipPrice(scope.row)">{{ $t('product.setmemberprice') }}</el-button>
<el-button v-if="scope.row.shelveState!=1" type="text" @click="del(scope.row)">{{ $t('common.delete') }}</el-button>

Loading…
Cancel
Save