数量设备
This commit is contained in:
parent
a9f7adc541
commit
52f11697b9
|
|
@ -86,6 +86,7 @@
|
|||
|
||||
<van-stepper
|
||||
button-size="16"
|
||||
:min="goods.num"
|
||||
:max="goods.deviceCount"
|
||||
v-model="goods.num"
|
||||
v-if="!isCartManage"
|
||||
|
|
@ -459,7 +460,7 @@ const getDeviceDetailsData = async () => {
|
|||
e.devInfoVoList.forEach((j) => {
|
||||
e.isChecked = false
|
||||
j.days = 0
|
||||
j.num = 1
|
||||
j.num = j.deviceCount ? j.deviceCount: 1
|
||||
j.costs = 0
|
||||
j.rentBeginTime = ''
|
||||
j.rentEndTime = ''
|
||||
|
|
|
|||
|
|
@ -161,6 +161,7 @@ const goodsLabel = ref([
|
|||
{ goods_label: '装备型号:', label_content: 'typeName' },
|
||||
{ goods_label: '规格:', label_content: '' },
|
||||
{ goods_label: '品牌:', label_content: 'brand' },
|
||||
{ goods_label: '上架数量:', label_content: 'deviceCount' },
|
||||
{ goods_label: '出厂日期:', label_content: 'productionDate' },
|
||||
{ goods_label: '功能特点:', label_content: '' },
|
||||
])
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@
|
|||
</text>
|
||||
<van-stepper
|
||||
button-size="16"
|
||||
:min="item.num"
|
||||
:max="item.deviceCount"
|
||||
v-model="item.num"
|
||||
/>
|
||||
|
|
@ -293,7 +294,7 @@ const getDeviceDetailsData = async (id) => {
|
|||
rentBeginTime: '',
|
||||
rentEndTime: '',
|
||||
days: 0,
|
||||
num: 1,
|
||||
num: res.deviceCount ? res.deviceCount : 1,
|
||||
checked: false,
|
||||
...res,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue