fix(jcsz): 秒杀配置位置调整
This commit is contained in:
parent
4c1dadd8ba
commit
c0d841df0d
|
@ -280,6 +280,7 @@ export default {
|
|||
})
|
||||
.then((res) => {
|
||||
this.hierarchyList = res.data
|
||||
this.$set(this.form, 'pkAreaClassifys', [])
|
||||
})
|
||||
},
|
||||
// 运输方式
|
||||
|
|
|
@ -139,39 +139,6 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<template v-if="form.specialArea === 14">
|
||||
<el-col :span="8">
|
||||
<el-form-item label="库存数量" prop="inventory">
|
||||
<el-input-number v-model="form.inventory" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="已用库存数量" prop="inventoryUse">
|
||||
<el-input v-model="form.inventoryUse" readonly>
|
||||
<el-button slot="append" style="background-color: #409EFF; color: #fff; border-color: #409EFF" type="primary" @click="resetInventoryUse">
|
||||
重置
|
||||
</el-button>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="库存倒计时比例" prop="inventoryRatio">
|
||||
<el-input v-model="form.inventoryRatio" style="width: 100%">
|
||||
<template slot="append">%</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="会员总限购" prop="memberLimit">
|
||||
<el-input-number v-model="form.memberLimit" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="会员月限购" prop="memberMonthLimit">
|
||||
<el-input-number v-model="form.memberMonthLimit" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</template>
|
||||
<el-col :span="8">
|
||||
<el-form-item
|
||||
:label="'商品分类'"
|
||||
|
@ -591,7 +558,49 @@
|
|||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
</el-row>
|
||||
<template v-if="form.specialArea === 14">
|
||||
<el-row style="margin-bottom: 18px;">
|
||||
<el-col :span="24" class="extra-wrapper">
|
||||
<el-col :span="24">
|
||||
<div class="extra-title">秒杀配置</div>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="库存数量" prop="inventory">
|
||||
<el-input-number v-model="form.inventory" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="库存倒计时比例" prop="inventoryRatio">
|
||||
<el-input v-model="form.inventoryRatio" style="width: 100%">
|
||||
<template slot="append">%</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="会员总限购" prop="memberLimit">
|
||||
<el-input-number v-model="form.memberLimit" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="会员月限购" prop="memberMonthLimit">
|
||||
<el-input-number v-model="form.memberMonthLimit" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="已用库存数量" prop="inventoryUse">
|
||||
<el-input v-model="form.inventoryUse" readonly>
|
||||
<el-button slot="append" style="background-color: #409EFF; color: #fff; border-color: #409EFF" type="primary" @click="resetInventoryUse">
|
||||
重置
|
||||
</el-button>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<el-row>
|
||||
<!-- <el-col :span="8">
|
||||
<el-form-item
|
||||
|
@ -1386,4 +1395,19 @@ export default {
|
|||
// ::v-deep .el-select .el-input__suffix {
|
||||
// top: 5px;
|
||||
// }
|
||||
.extra-title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 10px;
|
||||
text-indent: 40px;
|
||||
|
||||
}
|
||||
.extra-wrapper {
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
border: 1px dashed #cccccc;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -134,36 +134,6 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<template v-if="form.specialArea === 14">
|
||||
<el-col :span="8">
|
||||
<el-form-item label="库存数量" prop="inventory">
|
||||
<el-input-number v-model="form.inventory" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="8">
|
||||
<el-form-item label="已用库存数量" prop="inventoryUse">
|
||||
<el-input-number v-model="form.inventoryUse" readonly :min="0" style="width: 100%" :max="form.inventory || 9999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col> -->
|
||||
<el-col :span="8">
|
||||
<el-form-item label="库存倒计时比例" prop="inventoryRatio">
|
||||
<el-input v-model="form.inventoryRatio" style="width: 100%">
|
||||
<template slot="append">%</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="会员总限购" prop="memberLimit">
|
||||
<el-input-number v-model="form.memberLimit" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="会员月限购" prop="memberMonthLimit">
|
||||
<el-input-number v-model="form.memberMonthLimit" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</template>
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item
|
||||
:label="'商品分类'"
|
||||
|
@ -580,6 +550,47 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<template v-if="form.specialArea === 14">
|
||||
<el-row style="margin-bottom: 18px;">
|
||||
<el-col :span="24" class="extra-wrapper">
|
||||
<el-col :span="24">
|
||||
<div class="extra-title">秒杀配置</div>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="库存数量" prop="inventory">
|
||||
<el-input-number v-model="form.inventory" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="库存倒计时比例" prop="inventoryRatio">
|
||||
<el-input v-model="form.inventoryRatio" style="width: 100%">
|
||||
<template slot="append">%</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="会员总限购" prop="memberLimit">
|
||||
<el-input-number v-model="form.memberLimit" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="会员月限购" prop="memberMonthLimit">
|
||||
<el-input-number v-model="form.memberMonthLimit" style="width: 100%" :min="0" :max="999999999" :controls="false" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="已用库存数量" prop="inventoryUse">
|
||||
<el-input v-model="form.inventoryUse" readonly>
|
||||
<el-button slot="append" style="background-color: #409EFF; color: #fff; border-color: #409EFF" type="primary" @click="resetInventoryUse">
|
||||
重置
|
||||
</el-button>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<el-row style="margin-top: 10px; margin-bottom: 10px;">
|
||||
<el-col :span="8">
|
||||
<el-form-item
|
||||
|
|
Loading…
Reference in New Issue