整车入库状态修改
This commit is contained in:
parent
7afdd5cdec
commit
5c08a690a4
@ -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,loading,noMore
|
||||
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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user