|
|
@@ -501,6 +501,9 @@
|
|
|
<th colspan="2">
|
|
|
<div>留点比例</div>
|
|
|
</th>
|
|
|
+ <th colspan="2">
|
|
|
+ <div>出口留点比例</div>
|
|
|
+ </th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
@@ -514,7 +517,7 @@
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <el-input v-model="detailData.costRatio.jqInletRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
<div v-else>{{ detailData?.costRatio?.jqInletRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
@@ -522,43 +525,51 @@
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jqExportRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jqCommissionRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jqCommissionRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
<div>¥{{ detailData?.insFeeOrders?.jqPayablePremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jqCommissionRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jqFollowRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jqFollowRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.jqCommissionPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jqFollowPremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jqFollowRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jqAdditionalRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jqAdditionalRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.jqFollowPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jqAdditionalPremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jqAdditionalRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jqExportRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jqExportRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.jqAdditionalPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jqExportPremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jqAdditionalRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jqKeepPointRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jqKeepPointRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.jqAdditionalPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jqKeepPointPremium }}</div>
|
|
|
+ </th>
|
|
|
+
|
|
|
+ <th>
|
|
|
+ <el-input v-model="detailData.costRatio.jqExportKeepPointRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jqExportKeepPointRatio }}%</div>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jqExportKeepPointPremium }}</div>
|
|
|
</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -570,7 +581,7 @@
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <el-input v-model="detailData.costRatio.syInletRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
<div v-else>{{ detailData?.costRatio?.syInletRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
@@ -578,43 +589,51 @@
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.syExportRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.syCommissionRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.syCommissionRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
<div>¥{{ detailData?.insFeeOrders?.syPayablePremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.syCommissionRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.syFollowRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.syFollowRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.syCommissionPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.syFollowPremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.syFollowRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.syAdditionalRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.syAdditionalRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.syFollowPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.syAdditionalPremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.syAdditionalRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.syExportRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.syExportRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.syAdditionalPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.syExportPremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.syAdditionalRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.syKeepPointRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.syKeepPointRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.syAdditionalPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.syKeepPointPremium }}</div>
|
|
|
+ </th>
|
|
|
+
|
|
|
+ <th>
|
|
|
+ <el-input v-model="detailData.costRatio.syExportKeepPointRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.syExportKeepPointRatio }}%</div>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.syExportKeepPointPremium }}</div>
|
|
|
</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -626,7 +645,7 @@
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <el-input v-model="detailData.costRatio.jyInletRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
<div v-else>{{ detailData?.costRatio?.jyInletRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
@@ -634,43 +653,51 @@
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jyExportRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jyCommissionRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jyCommissionRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
<div>¥{{ detailData?.insFeeOrders?.jyPayablePremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jyCommissionRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jyFollowRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jyFollowRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.jyCommissionPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jyFollowPremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jyFollowRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jyAdditionalRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jyAdditionalRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.jyFollowPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jyAdditionalPremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jyAdditionalRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jyExportRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jyExportRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.jyAdditionalPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jyExportPremium }}</div>
|
|
|
</th>
|
|
|
|
|
|
<th>
|
|
|
- <el-input v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
- <div v-else>{{ detailData?.costRatio?.jyAdditionalRatio }}%</div>
|
|
|
+ <el-input v-model="detailData.costRatio.jyKeepPointRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jyKeepPointRatio }}%</div>
|
|
|
</th>
|
|
|
<th>
|
|
|
- <div>¥{{ detailData?.insFeeOrders?.jyAdditionalPremium }}</div>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jyKeepPointPremium }}</div>
|
|
|
+ </th>
|
|
|
+
|
|
|
+ <th>
|
|
|
+ <el-input v-model="detailData.costRatio.jyExportKeepPointRatio" v-if="costShow" placeholder="请输入" style="width: 100px"></el-input>
|
|
|
+ <div v-else>{{ detailData?.costRatio?.jyExportKeepPointRatio }}%</div>
|
|
|
+ </th>
|
|
|
+ <th>
|
|
|
+ <div>¥{{ detailData?.insFeeOrders?.jyExportKeepPointPremium }}</div>
|
|
|
</th>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
@@ -683,9 +710,6 @@
|
|
|
<th colspan="2">
|
|
|
<div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqPayablePremium) + Number(detailData?.insFeeOrders?.syPayablePremium) + Number(detailData?.insFeeOrders?.jyPayablePremium)).toFixed(5) }}</div>
|
|
|
</th>
|
|
|
- <th colspan="2">
|
|
|
- <div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqCommissionPremium) + Number(detailData?.insFeeOrders?.syCommissionPremium) + Number(detailData?.insFeeOrders?.jyCommissionPremium)).toFixed(5) }}</div>
|
|
|
- </th>
|
|
|
<th colspan="2">
|
|
|
<div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqFollowPremium) + Number(detailData?.insFeeOrders?.syFollowPremium) + Number(detailData?.insFeeOrders?.jyFollowPremium)).toFixed(5) }}</div>
|
|
|
</th>
|
|
|
@@ -693,7 +717,13 @@
|
|
|
<div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqAdditionalPremium) + Number(detailData?.insFeeOrders?.syAdditionalPremium) + Number(detailData?.insFeeOrders?.jyAdditionalPremium)).toFixed(5) }}</div>
|
|
|
</th>
|
|
|
<th colspan="2">
|
|
|
- <div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqAdditionalPremium) + Number(detailData?.insFeeOrders?.syAdditionalPremium) + Number(detailData?.insFeeOrders?.jyAdditionalPremium)).toFixed(5) }}</div>
|
|
|
+ <div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqExportPremium) + Number(detailData?.insFeeOrders?.syExportPremium) + Number(detailData?.insFeeOrders?.jyExportPremium)).toFixed(5) }}</div>
|
|
|
+ </th>
|
|
|
+ <th colspan="2">
|
|
|
+ <div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqKeepPointPremium) + Number(detailData?.insFeeOrders?.syKeepPointPremium) + Number(detailData?.insFeeOrders?.jyKeepPointPremium)).toFixed(5) }}</div>
|
|
|
+ </th>
|
|
|
+ <th colspan="2">
|
|
|
+ <div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqExportKeepPointtPremium) + Number(detailData?.insFeeOrders?.syExportKeepPointPremium) + Number(detailData?.insFeeOrders?.jyExportKeepPointPremium)).toFixed(5) }}</div>
|
|
|
</th>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
@@ -934,9 +964,22 @@ const handleCostChange = () => {
|
|
|
}
|
|
|
const handleSaveCostChange = () => {
|
|
|
api.financeApi.saveCostInfo({
|
|
|
-
|
|
|
+ ...detailData.value.costRatio,
|
|
|
+ orderNo: myRoute.query.id
|
|
|
}).then((res: any) => {
|
|
|
-
|
|
|
+ if(res.code == 200) {
|
|
|
+ ElMessage({
|
|
|
+ message: res.msg,
|
|
|
+ type: 'success'
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ ElMessage({
|
|
|
+ message: res.msg,
|
|
|
+ type: 'warning'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ costShow.value = false
|
|
|
+ initDetail();
|
|
|
} )
|
|
|
}
|
|
|
|