This commit is contained in:
aihe 2024-05-27 12:25:22 +08:00
parent 14dac79e54
commit f40f3c0b31
4 changed files with 6 additions and 5 deletions

View File

@ -194,11 +194,11 @@ const dealBtnMap = {
shouHuo: { title: '收货入库', subTitle: "", icon: getCdnUrl(`home/shhruku.png`), url: 'deliveryDeal/storage' },
faJianScan: { title: '发件扫描', subTitle: "", icon: getCdnUrl(`home/fajiansm.png`), url: 'deliveryDeal/qutgoingScanning', code: authCodeEnum.faJianScan },
daoJianScan: { title: '到件扫描', subTitle: "", icon: getCdnUrl(`home/daojsm.png`), url: 'deliveryDeal/arriveScanning', code: authCodeEnum.daoJianScan },
yunDanLuRu: { title: '运单录入', subTitle: "", icon: getCdnUrl(`home/ydluru.png`), url: 'post/openorder' },
yunDanLuRu: { title: '运单录入', subTitle: "", icon: getCdnUrl(`home/ydluru.png`), url: 'post/openorder?type=create' },
qianShouScan: { title: '签收扫描', subTitle: "", icon: getCdnUrl(`home/qianshsm.png`), url: 'deliveryDeal/signedScanning', code: authCodeEnum.qianShouScan },
fenBoScan: { title: '分拨发件', subTitle: "", icon: getCdnUrl(`home/fajiansm.png`), url: 'deliveryDeal/distributeOutgoing' },
paiJianScan: { title: '派件扫描', subTitle: "", icon: getCdnUrl(`home/paijsm.png`), url: 'deliveryDeal/deliveryScanning', code: authCodeEnum.paiJianScan },
yunDanXiuGai: { title: '运单修改', subTitle: "", icon: getCdnUrl(`home/ydxiugai.png`), url: 'post/openorder' },
yunDanXiuGai: { title: '运单修改', subTitle: "", icon: getCdnUrl(`home/ydxiugai.png`), url: 'post/openorder?type=edit' },
baoJiaShiSuan: { title: '报价试算', subTitle: "", icon: getCdnUrl(`home/baojshs.png`), url: 'post/freightCalculate' },
wenTiJian: { title: '问题件', subTitle: "", icon: getCdnUrl(`home/wentijian.png`), url: 'deliveryDeal/problemsRegisteScanning' },
daoPaiScan: { title: '到派扫描', subTitle: "", icon: getCdnUrl(`home/daohsm.png`), url: 'deliveryDeal/arriveDeliveryScanning' },

View File

@ -84,7 +84,7 @@
totalVolume += (+t.volume) || 0
})
this.modelInfo.parcelQty = parcelQty
this.modelInfo.totalVolume = totalVolume
this.modelInfo.totalVolume = totalVolume.toFixed(5)
},
async calceOther() {
let { totalVolume, productType, billWeight } = this.modelInfo

View File

@ -269,7 +269,7 @@
}
},
handleGoXiaDan() {
this.goto(`post/openorder?defaultSubParams=${encodeURIComponent(JSON.stringify(this.submitParam))}`)
this.goto(`post/openorder?defaultSubParams=${encodeURIComponent(JSON.stringify(this.submitParam))}&type=create`)
}
}
}

View File

@ -9,7 +9,7 @@
<view style="flex:1;">
<tpx-scan-input v-model:value="submitParam.billCode" @scanChange="handleScanChange"></tpx-scan-input>
</view>
<view class="pl-10">
<view class="pl-10" v-if="queryOption.type == 'create' || queryOption.copyBillCode">
<u-button @click="handleCreateOrderNo()"
custom-style="font-size: 28rpx;padding:0 10rpx;height: 74rpx;" :plain="true" >系统生成</u-button>
</view>
@ -326,6 +326,7 @@
pageLoading: true,
isEdit: false,
queryOption: {
type: '', // edit 修改
defaultSubParams: '', // 提交默认参数
billCode: '', // 运单id
orderSn: '', // 订单id