Commit e39dc95b authored by zhengyi's avatar zhengyi

报价单增值服务参数bug修复

parent 48dd125a
...@@ -74,10 +74,10 @@ ...@@ -74,10 +74,10 @@
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item v-if="getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, list.transportId).cssClass == 'channel'" :label="$t('出货渠道')">{{ list.channelName }}</el-descriptions-item> <el-descriptions-item v-if="getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, list.transportId).cssClass == 'channel'" :label="$t('出货渠道')">{{ list.channelName }}</el-descriptions-item>
<el-descriptions-item :label="$t('服务')"> <el-descriptions-item :label="$t('服务')">
<el-tag v-if="list.type && list.type.indexOf('1') > -1"> <el-tag v-if="list.serviceType && list.serviceType.indexOf('1') > -1">
{{ $t("集运") }} {{ $t("集运") }}
</el-tag> </el-tag>
<el-tag v-if="list.type && list.type.indexOf('2') > -1"> <el-tag v-if="list.serviceType && list.serviceType.indexOf('2') > -1">
{{ $t("海外仓") }} {{ $t("海外仓") }}
</el-tag> </el-tag>
</el-descriptions-item> </el-descriptions-item>
......
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
</div> </div>
<div class="form-section"> <div class="form-section">
<el-form-item :label="$t('增值服务')" v-if="routeOtherServices.indexOf('1') > -1 || routeOtherServices.indexOf('4') > -1"> <el-form-item :label="$t('增值服务')" v-if="routeOtherServices.indexOf('1') > -1 || routeOtherServices.indexOf('4') > -1">
<el-checkbox-group v-model="form.type"> <el-checkbox-group v-model="form.serviceType">
<el-checkbox label="1" v-if="routeOtherServices.indexOf('1') > -1">{{ $t("集运服务") }}</el-checkbox> <el-checkbox label="1" v-if="routeOtherServices.indexOf('1') > -1">{{ $t("集运服务") }}</el-checkbox>
<el-checkbox label="2" v-if="routeOtherServices.indexOf('4') > -1">{{ $t("海外仓") }}</el-checkbox> <el-checkbox label="2" v-if="routeOtherServices.indexOf('4') > -1">{{ $t("海外仓") }}</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
......
...@@ -307,9 +307,8 @@ export default { ...@@ -307,9 +307,8 @@ export default {
}, },
submit() { submit() {
// 判断费用申请是否有未填项 // 判断费用申请是否有未填项
console.log("提交的费用信息列表", this.feeList) // console.log("提交的费用信息列表", this.feeList)
const errList = this.feeList.filter((item) => { const errList = this.feeList.filter((item) => {
console.log("金额值", item["applicationFee"])
return ( return (
!item["feeType"] || !item["feeType"] ||
item.applicationFee == null || item.applicationFee == undefined || item.applicationFee == null || item.applicationFee == undefined ||
...@@ -317,7 +316,6 @@ export default { ...@@ -317,7 +316,6 @@ export default {
!item["payType"] !item["payType"]
); );
}); });
console.log("错误值信息", errList)
if (errList.length) { if (errList.length) {
return this.$message.error("请填写完整费用申请信息"); return this.$message.error("请填写完整费用申请信息");
} }
......
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