Commit ea8a1f79 authored by 邓春圆's avatar 邓春圆

Merge remote-tracking branch 'origin/dev' into dev

parents b5027f37 54083f27
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<selector :disabled="approval" v-model="form.freightUnitId" :options="unitList" :label-field="$l('title')" value-field="id" defaultable class="w-100 ml-10" /> <selector :disabled="approval" v-model="form.freightUnitId" :options="unitList" :label-field="$l('title')" value-field="id" defaultable class="w-100 ml-10" />
</div> </div>
<div class="mt-10"> <div class="mt-10">
{{$t('清关费加价')}} {{$t('清关费加价')}}
<!--货币--> <!--货币-->
<selector :disabled="approval" v-model="form.clearanceCurrencyId" :options="currencyList" :label-field="$l('title')" value-field="id" defaultable class="w-100 ml-10" /> <selector :disabled="approval" v-model="form.clearanceCurrencyId" :options="currencyList" :label-field="$l('title')" value-field="id" defaultable class="w-100 ml-10" />
<!--金额--> <!--金额-->
...@@ -273,9 +273,8 @@ export default { ...@@ -273,9 +273,8 @@ export default {
methods:{ methods:{
// 检查正数 // 检查正数
checkPositive(object, field){ checkPositive(object, field){
object[field] = parseInt(object[field]) object[field] = parseFloat(object[field])
if(isNaN(object[field]) || object[field] < 0) object[field] = '' object[field] = isNaN(object[field]) ? '' : object[field].toString()
else object[field] = object[field].toString()
}, },
// 表格多选 // 表格多选
handleSelectionChange(selection) { handleSelectionChange(selection) {
......
...@@ -511,7 +511,7 @@ export default { ...@@ -511,7 +511,7 @@ export default {
case "editLadingBill": case "editLadingBill":
const cabinetLabel = this.getCabinetName(row.cabinetId); const cabinetLabel = this.getCabinetName(row.cabinetId);
const title = this.$t( const title = this.$t(
"查看提单 {selfNo} 柜号:{cubNo} 柜型:{cabinetLabel}", "查看提单 {selfNo}",
{ {
selfNo: row.selfNo, selfNo: row.selfNo,
cubNo: row.cubNo, cubNo: row.cubNo,
......
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<el-row> <el-row>
<el-col class="totle-info"> <el-col class="totle-info">
<div>{{$t('总计')}}:{{getSumData}}</div> <div>{{$t('总计')}}:{{getSumData}}</div>
<div>{{$t('容量')}}:{{calcCapacity}}</div> <!--<div>{{$t('容量')}}:{{calcCapacity}}</div>-->
</el-col> </el-col>
</el-row> </el-row>
...@@ -172,7 +172,7 @@ export default { ...@@ -172,7 +172,7 @@ export default {
this.shipmentObj.cubNo ?? "" this.shipmentObj.cubNo ?? ""
} 柜型:${cabinetLabel}`; */ } 柜型:${cabinetLabel}`; */
const title = this.$t( const title = this.$t(
"查看提单 {selfNo} 柜号:{cubNo} 柜型:{cabinetLabel}", "查看提单 {selfNo}",
{ {
selfNo: this.shipmentObj.selfNo, selfNo: this.shipmentObj.selfNo,
cubNo: this.shipmentObj.cubNo, cubNo: this.shipmentObj.cubNo,
......
...@@ -318,7 +318,7 @@ ...@@ -318,7 +318,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('预付商品货值占订单总运费+清关费比例')+':'" label-width="320px"> <el-form-item :label="$t('货值三分之一占运费和清关费总和比例')+':'" label-width="320px">
{{orderFee.needWorthScale}}% {{orderFee.needWorthScale}}%
</el-form-item> </el-form-item>
</el-col> </el-col>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment