整车入库状态修改

This commit is contained in:
小朱 2025-05-26 09:09:11 +08:00
parent 7afdd5cdec
commit 5c08a690a4

View File

@ -19,11 +19,12 @@
<checkbox-group @change="checkboxGroupChange">
<view v-for="(item, index) in listdata" :key="index" class="list-item">
<view class="flex list-title" @click="opendetail(item.bikeId)">
<view v-if="item.state==4" class="title-xz">
<view v-if="item.state==0" class="title-xz">
<checkbox :value="item.bikeCode" @click.stop></checkbox>
<!-- <checkbox disabled="true" :value="item.bikeId" @click.stop></checkbox> -->
</view>
<view v-else class="title-xz">
<checkbox :value="item.bikeCode" @click.stop></checkbox>
<!-- <checkbox :value="item.bikeCode" @click.stop></checkbox> -->
</view>
<view class="title-wz">
{{item.bikeCode}}
@ -34,6 +35,9 @@
<view v-else-if="item.state==4" class="title-zt">
<view class="cu-tag bg-yellow sm ">待维修</view>
</view>
<view v-else-if="item.state==5" class="title-zt">
<view class="cu-tag bg-yellow sm ">维修中</view>
</view>
</view>
<view class="flex row">
<view class="list-name">
@ -106,7 +110,7 @@
</uni-forms-item>
</uni-section>
</uni-forms>
<view class="button-group">
<view class="button-group">
<button style="width: 100%;" type="primary" @click="submit" size="mini">提交</button>
</view>
</view>
@ -169,17 +173,20 @@
//
const bikeCodeValue = ref(""); //
const enterTime = ref(null); //
const statevalue = ref('0,4'); //
const statevalue = ref('0,4,5'); //
const statusZT = ref(0);
const sjztlist = ref([{
text: '全部',
value: '0,4'
}, {
text: '待出库',
value: 0
}, {
text: '待维修',
value: 4
}, {
text: '待出库',
value: 0
text: '维修中',
value: 5
}])
const status = ref('more'); //,more,loadingnoMore
const selectedItems = ref([]);
@ -240,7 +247,7 @@
const params = {
"bikeCode": customFormData.value.deviceValues, //
"status": statusZT.value, // 2025-03-21
"reginId":customFormData.value.reginvalue
"reginId": customFormData.value.reginvalue
}
api.callEbikeInfo("vehicleLeaveWarehouse", params).then((res) => {
if (res.code == 200) {