库存替换为销售量
This commit is contained in:
@ -220,7 +220,7 @@
|
|||||||
<view class="flex items-center mb-20rpx w-[100%]">
|
<view class="flex items-center mb-20rpx w-[100%]">
|
||||||
<view class="flex items-center justify-between w-[100%]">
|
<view class="flex items-center justify-between w-[100%]">
|
||||||
<view class="flex items-center">
|
<view class="flex items-center">
|
||||||
<view class="text-30rpx leading-44rpx text-#303133 mr-10rpx font-bold">库存</view>
|
<view class="text-30rpx leading-44rpx text-#303133 mr-10rpx font-bold">销售量</view>
|
||||||
<view class="flex items-center">
|
<view class="flex items-center">
|
||||||
<wd-img width="16rpx" height="16rpx"
|
<wd-img width="16rpx" height="16rpx"
|
||||||
:src="`${OSS}icon/icon_validate.png`"></wd-img>
|
:src="`${OSS}icon/icon_validate.png`"></wd-img>
|
||||||
@ -229,7 +229,7 @@
|
|||||||
<view class="font-400 text-24rpx leading-34rpx text-[#9CA3AF]">输入范围1~999</view>
|
<view class="font-400 text-24rpx leading-34rpx text-[#9CA3AF]">输入范围1~999</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<wd-input v-model="form.number" no-border placeholder="请输入库存"
|
<wd-input v-model="form.sold" no-border placeholder="请输入销售量"
|
||||||
custom-class="!bg-[#F6F7F8] !rounded-16rpx !px-28rpx !py-20rpx"></wd-input>
|
custom-class="!bg-[#F6F7F8] !rounded-16rpx !px-28rpx !py-20rpx"></wd-input>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -394,7 +394,7 @@
|
|||||||
img: '', // 团购图片
|
img: '', // 团购图片
|
||||||
price: '', //门市价
|
price: '', //门市价
|
||||||
discount_price: '', // 团购价
|
discount_price: '', // 团购价
|
||||||
number: '', // 库存
|
sold: '', // 销售量
|
||||||
introduce: '', // 套餐介绍
|
introduce: '', // 套餐介绍
|
||||||
rests_introduce: '', // 其他说明
|
rests_introduce: '', // 其他说明
|
||||||
room_id: '', // 适用包间
|
room_id: '', // 适用包间
|
||||||
@ -463,7 +463,7 @@
|
|||||||
img: res.img, // 团购图片
|
img: res.img, // 团购图片
|
||||||
price: res.price, //门市价
|
price: res.price, //门市价
|
||||||
discount_price: res.discount_price, // 团购价
|
discount_price: res.discount_price, // 团购价
|
||||||
number: res.number, // 库存
|
sold: res.sold, // 销售量
|
||||||
introduce: res.introduce, // 套餐介绍
|
introduce: res.introduce, // 套餐介绍
|
||||||
rests_introduce: res.rests_introduce, // 其他说明
|
rests_introduce: res.rests_introduce, // 其他说明
|
||||||
room_id: res.room_id, // 适用包间
|
room_id: res.room_id, // 适用包间
|
||||||
@ -576,8 +576,6 @@
|
|||||||
if (formData.type == 2 && !formData.sku_id) {
|
if (formData.type == 2 && !formData.sku_id) {
|
||||||
toast.info('请输入抖音skuid')
|
toast.info('请输入抖音skuid')
|
||||||
return
|
return
|
||||||
} else {
|
|
||||||
formData.sku_id = '0'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 团购套餐
|
// 团购套餐
|
||||||
@ -610,9 +608,9 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 库存
|
// 销售量
|
||||||
if (!formData.number) {
|
if (!formData.sold) {
|
||||||
toast.info('请输入库存')
|
toast.info('请输入销售量')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user