This commit is contained in:
aihe 2024-10-29 22:56:45 +08:00
parent b3bfcc9b5b
commit 1cbe62ee50
4 changed files with 9 additions and 6 deletions

View File

@ -179,12 +179,12 @@
if(JSON.stringify(newVal) == JSON.stringify(oldVal || {})) { if(JSON.stringify(newVal) == JSON.stringify(oldVal || {})) {
return false return false
} }
let mustObj = JSON.parse(JSON.stringify(newVal)) let mustObj = Object.assign({}, newVal)
notMustKey.map(key=> { delete mustObj[key] }) notMustKey.map(key=> { delete mustObj[key] })
let mustVals = Object.values(mustObj) let mustVals = Object.values(mustObj)
// 所有关联入参都有值或者为0再 执行自动计算,数据未变化不做计算 // 所有关联入参都有值或者为0再 执行自动计算,数据未变化不做计算
if(mustVals.length == mustVals.filter(v => (v==0 || !!v)).length) { if(mustVals.length == mustVals.filter(v => (v==0 || !!v)).length) {
console.log("====watch cost calcWaybillFee===") console.log("====watch cost calcWaybillFee===", newVal)
this.calcWaybillFee(newVal); this.calcWaybillFee(newVal);
} }
}, },

View File

@ -3,7 +3,7 @@
"appid" : "__UNI__BCB0FB5", "appid" : "__UNI__BCB0FB5",
"description" : "探路国际速运", "description" : "探路国际速运",
"versionName" : "1.0.1", "versionName" : "1.0.1",
"versionCode" : "1050", "versionCode" : "1051",
"transformPx" : false, "transformPx" : false,
/* 5+App特有相关 */ /* 5+App特有相关 */
"app-plus" : { "app-plus" : {

View File

@ -430,6 +430,7 @@
if(this.queryOption.copyBillCode) { if(this.queryOption.copyBillCode) {
delete this.submitParam.billCode delete this.submitParam.billCode
delete this.submitParam.orderSn delete this.submitParam.orderSn
this.submitParam.sendDate = getOrderModels().sendDate
} }
} }
this.pageLoading = false this.pageLoading = false

View File

@ -1,5 +1,5 @@
<template> <template>
<tpx-page> <tpx-page v-if="!pageLoading">
<tpx-layout> <tpx-layout>
<template v-slot:header></template> <template v-slot:header></template>
<template v-slot:body> <template v-slot:body>
@ -44,7 +44,8 @@
</view> </view>
</view> </view>
<u-line margin="20rpx 0 20rpx"></u-line> <u-line margin="20rpx 0 20rpx"></u-line>
<view class="dt-item font-28"> <bpe-goodstatic-tmp v-model:value="postInfo"></bpe-goodstatic-tmp>
<!-- <view class="dt-item font-28">
<view> <view>
<text class="pr-20 clr-sub">总重量:</text> <text class="pr-20 clr-sub">总重量:</text>
<text class="">{{billInfo. totalWeight }} kg</text> <text class="">{{billInfo. totalWeight }} kg</text>
@ -57,7 +58,7 @@
<text class="pr-20 clr-sub">总件数:</text> <text class="pr-20 clr-sub">总件数:</text>
<text class="">{{billInfo.totalParcelQty}}</text> <text class="">{{billInfo.totalParcelQty}}</text>
</view> </view>
</view> </view> -->
</view> </view>
<view v-for="(item) in billInfo.stockInBatchList" class="dt-block" style="padding-bottom: 2rpx;"> <view v-for="(item) in billInfo.stockInBatchList" class="dt-block" style="padding-bottom: 2rpx;">
@ -199,6 +200,7 @@
<script> <script>
import BpeAddressjiamiTmp from "@/components/buns-post-edit-templates/bpe-addressjiami-tmp" import BpeAddressjiamiTmp from "@/components/buns-post-edit-templates/bpe-addressjiami-tmp"
import BpeGoodstaticTmp from "@/components/buns-post-edit-templates/bpe-goodstatic-tmp" import BpeGoodstaticTmp from "@/components/buns-post-edit-templates/bpe-goodstatic-tmp"
import * as apiService from "@/common/api" import * as apiService from "@/common/api"
import { saveNetFile } from "@/common/untool" import { saveNetFile } from "@/common/untool"