一期修改
This commit is contained in:
@@ -100,10 +100,11 @@
|
||||
</view>
|
||||
<view class="more_btns_wraper" :class="btn_active ? 'popshow' : 'pophide'">
|
||||
<view class="more_btns_items">
|
||||
<button class="more-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn">{{$t('button.empty-shaft-return')}}</button>
|
||||
<button class="more-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('2')">{{$t('button.full-shaft-return')}}</button>
|
||||
<button class="more-button" :class="{'btn-disabled': !val1}" :disabled="disabled2" @tap="_feedingVehicleReturn('1')">{{$t('button.empty-shaft-return')}}</button>
|
||||
<button class="more-button" @tap="handleSure">{{$t('button.manual-call')}}</button>
|
||||
</view>
|
||||
<view class="more_btns_cancle" @tap="btn_active = false">取消</view>
|
||||
<view class="more_btns_cancle" @tap="btn_active = false">{{$t('button.cancel')}}</view>
|
||||
</view>
|
||||
<view v-if="btn_active" class="msg_mask"></view>
|
||||
<view v-if="active" class="msg_wrapper msg_wrapper_1">
|
||||
@@ -320,7 +321,7 @@
|
||||
}
|
||||
},
|
||||
/** 空轴送回 */
|
||||
async _feedingVehicleReturn () {
|
||||
async _feedingVehicleReturn (type) {
|
||||
this.disabled2 = true
|
||||
if (!this.val1) {
|
||||
this.disabled2 = false
|
||||
@@ -332,7 +333,7 @@
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await feedingVehicleReturn(this.val1)
|
||||
let res = await feedingVehicleReturn(this.val1, type)
|
||||
this.disabled2 = false
|
||||
this.active = false
|
||||
this.val1 = ''
|
||||
|
||||
Reference in New Issue
Block a user