no message

This commit is contained in:
蔡玲
2024-11-01 15:19:23 +08:00
parent 5be0ac7016
commit 49e9417672
3 changed files with 26 additions and 6 deletions

View File

@@ -39,7 +39,7 @@
<input v-model="val3" type="number" class="filter_input">
</view>
</view>
<view class="zd-row">
<view class="zd-row border-bottom">
<view class="zd-col-7">
<span class="filter_label">呼叫收卷辊</span>
</view>
@@ -48,6 +48,22 @@
<text @tap="setWStatus" style="position: absolute;display: inline-block;width: 52px; height: 32px;left: 0;"></text>
</view>
</view>
<view class="zd-row border-bottom">
<view class="zd-col-7">
<span class="filter_label">长度</span>
</view>
<view class="zd-col-17">
<input v-model="val4" type="number" class="filter_input">
</view>
</view>
<view class="zd-row">
<view class="zd-col-7">
<span class="filter_label">重量</span>
</view>
<view class="zd-col-17">
<input v-model="val5" type="number" class="filter_input">
</view>
</view>
</view>
</view>
<view class="zd-row submit-bar">
@@ -72,6 +88,8 @@
val1: '',
val2: '',
val3: '',
val4: '',
val5: '',
isChecked: false,
disabled: false
};
@@ -89,6 +107,8 @@
this.val3 = ''
this.isChecked = false
this.disabled = false
this.val4 = ''
this.val5 = ''
},
async _needEmptyVehicle () {
this.disabled = true
@@ -132,7 +152,7 @@
}
try {
let checked = this.isChecked ? '1' : '0'
let res = await needEmptyAxisv2(this.val1, this.val2, checked, this.val3)
let res = await needEmptyAxisv2(this.val1, this.val2, checked, this.val3, this.val4, this.val5)
this.clearUp()
uni.showToast({
title: res.message,