This commit is contained in:
aihe 2024-06-21 11:07:37 +08:00
parent 0ab05782ff
commit d092b62e14
4 changed files with 19 additions and 9 deletions

View File

@ -171,4 +171,9 @@ export const uploadWaybillAttach = (data = {})=> {
// 生成合包号
export const getPackNo = (data = {})=> {
return coreRequest(url.getPackNo, data, {})
}
}
// 获取车牌号列表
export const getCarNoList = (data = {})=> {
return coreRequest(url.getCarNoList, data, {})
}

View File

@ -55,6 +55,7 @@ export default {
queryScanWaybillList: `/emis/emisWaybill/queryScanWaybillList`, // 1-发件清单 2-到件清单 3-派件清单
uploadWaybillAttach: `/emis/emisWaybillAttachment/uploadWaybillAttach`, // 运单附件上传
getPackNo: `/emis/common/getPackNo`, // 生成合包号
getCarNoList: `/emis/emisTmsCar/listSimple`, // 获取车牌号列表
}

View File

@ -15,7 +15,13 @@
</u-row>
<u-row custom-style="margin-top:20rpx;">
<view style="flex: 1;">
<tpx-input v-model:value="submitParam.carNo" placeholder="车牌号" :isWhite="true"></tpx-input>
<tpx-select v-model:value="submitParam.carNo" v-model:resObject="carRes"
:getListFun="getCarNoList" :transKeyVal="{valKey: 'carNo',titleKey: 'carNo'}"
mode="drop"
>
<tpx-input v-model:value="submitParam.carNo" placeholder="车牌号" :isWhite="true"></tpx-input>
</tpx-select>
</view>
</u-row>
<view class="mt-20">
@ -96,12 +102,9 @@
billCode: { required: true, requiredMsg: '运单号不能为空' },
},
pageLoading: true,
resData: {
list: []
},
siteRes: {
list: []
},
resData: { list: [] },
siteRes: { list: [] },
carRes: { list: [] },
curScanItem: {},
}
},
@ -110,6 +113,7 @@
},
methods: {
getNextStationList: apiService.getNextStationList,
getCarNoList: apiService.getCarNoList,
initData() {
this.submitParam.billCode = this.queryOption.billCode
},

View File

@ -20,7 +20,7 @@
<text class="clr-sub pr-10">尺寸</text>
{{item.length || '0'}}cm<text class="clr-sub pl-10 pr-10">*</text>
{{item.width || '0'}}cm<text class="clr-sub pl-10 pr-10 ">*</text>
{{item.length || '0'}}cm
{{item.height || '0'}}cm
</view>
</u-col>
<u-col v-if="item.nationArea" span="6">