uu
This commit is contained in:
parent
59d22e7296
commit
0a5200bde4
@ -48,4 +48,15 @@ export const getCaculteDestSite = (data = {})=> {
|
|||||||
return coreRequest(url.getCaculteDestSite, data, {}, "GET")
|
return coreRequest(url.getCaculteDestSite, data, {}, "GET")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 计算运费
|
||||||
|
export const calcWaybillFee = (data = {})=> {
|
||||||
|
return coreRequest(url.calcWaybillFee, data, {}, "GET")
|
||||||
|
}
|
||||||
|
|
||||||
|
// 下单-进仓列表
|
||||||
|
export const warehouseInList = (data = {})=> {
|
||||||
|
return coreRequest(url.warehouseInList, data, {}, "GET")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -19,6 +19,8 @@ export default {
|
|||||||
getMonthpayAccountList: `/emis/emisMonthpayAccount/listSimple`, // 月结账号列表
|
getMonthpayAccountList: `/emis/emisMonthpayAccount/listSimple`, // 月结账号列表
|
||||||
getDestPositionList: `/emis/emisDestination/listSimple`, // 目的地 列表
|
getDestPositionList: `/emis/emisDestination/listSimple`, // 目的地 列表
|
||||||
getCaculteDestSite: `/emis/emisDestination/getDestSite`, // 自动计算目的地
|
getCaculteDestSite: `/emis/emisDestination/getDestSite`, // 自动计算目的地
|
||||||
|
calcWaybillFee: `/emis/emisQuotePrice/calcWaybillFee`, // 计算运费
|
||||||
|
warehouseInList: `/emis/emisWarehouseIn/listSimple`, // 下单-进仓单列表
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -56,7 +56,7 @@
|
|||||||
}
|
}
|
||||||
if(totalVolume && totalVolume.toFixed) {
|
if(totalVolume && totalVolume.toFixed) {
|
||||||
totalVolume = totalVolume.toFixed(2)
|
totalVolume = totalVolume.toFixed(2)
|
||||||
this.modelInfo.totalVolume = totalVolume
|
this.calcuOther({ totalVolume })
|
||||||
}
|
}
|
||||||
return totalVolume
|
return totalVolume
|
||||||
}
|
}
|
||||||
@ -82,7 +82,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
calcuOther({ totalVolume }) {
|
||||||
|
this.modelInfo.totalVolume = totalVolume
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -105,7 +105,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="yunf-input-item">
|
<view v-if="submitParam.paymentType == 2 || submitParam.paymentType == 4 || submitParam.paymentType == 5" class="yunf-input-item">
|
||||||
<tpx-select v-model:value="submitParam.custNo" v-model:resObject="yuejieRes" :getListFun="getMonthpayAccountList" :transKeyVal="{valKey: 'custNo',titleKey: 'custName'}" :customInput="true"
|
<tpx-select v-model:value="submitParam.custNo" v-model:resObject="yuejieRes" :getListFun="getMonthpayAccountList" :transKeyVal="{valKey: 'custNo',titleKey: 'custName'}" :customInput="true"
|
||||||
@onChange="handleYueJieSelect"
|
@onChange="handleYueJieSelect"
|
||||||
>
|
>
|
||||||
@ -140,16 +140,10 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="yunf-input-item">
|
<view class="yunf-input-item">
|
||||||
<tpx-select v-model:value="submitParam.type2" :list="[]"
|
<tpx-select v-model:value="submitParam.inNo" v-model:resObject="wareRes" :getListFun="getWarehouseInList" :transKeyVal="{valKey: 'inNo',titleKey: 'inNo'}" :isWhite="true" :customInput="true"
|
||||||
mode="drop" customInput="true"
|
searchParam=""
|
||||||
>
|
>
|
||||||
<u-row justify="between">
|
<tpx-text-item label="进仓单" :value="submitParam.inNo" :list="wareRes.list"></tpx-text-item>
|
||||||
<text class="font-26 font-weight">进仓单</text>
|
|
||||||
<u-row justify="end" align="center">
|
|
||||||
<u-text align="right" margin="0 12rpx 0 0" size="26" text="请选择"></u-text>
|
|
||||||
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
|
|
||||||
</u-row>
|
|
||||||
</u-row>
|
|
||||||
</tpx-select>
|
</tpx-select>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -285,6 +279,7 @@
|
|||||||
shoupaiRes: { list: [] },
|
shoupaiRes: { list: [] },
|
||||||
yuejieRes: { list: [] },
|
yuejieRes: { list: [] },
|
||||||
destPostRes: { list: [] },
|
destPostRes: { list: [] },
|
||||||
|
wareRes: { list: [] },
|
||||||
goodChooseModal: {
|
goodChooseModal: {
|
||||||
show: false,
|
show: false,
|
||||||
},
|
},
|
||||||
@ -315,6 +310,8 @@
|
|||||||
getMonthpayAccountList: apiService.getMonthpayAccountList,
|
getMonthpayAccountList: apiService.getMonthpayAccountList,
|
||||||
getDestPositionList: apiService.getDestPositionList,
|
getDestPositionList: apiService.getDestPositionList,
|
||||||
getCaculteDestSite: apiService.getCaculteDestSite,
|
getCaculteDestSite: apiService.getCaculteDestSite,
|
||||||
|
getWarehouseInList: apiService.warehouseInList,
|
||||||
|
|
||||||
async initData() {
|
async initData() {
|
||||||
// uni.showLoading({
|
// uni.showLoading({
|
||||||
// title: '加载中'
|
// title: '加载中'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user