Commit 71fb5f61 authored by knight's avatar knight Committed by wux

bug209 【订单列表-修改货值】截图中的校验去掉

parent f56a663f
...@@ -1886,17 +1886,19 @@ export default { ...@@ -1886,17 +1886,19 @@ export default {
} }
// 付款人=发货人提示 // 付款人=发货人提示
if (+this.form.drawee === 1 && !this.updateChannel) { if (+this.form.drawee === 1 && !(this.updateChannel || this.updateWorth)) {
await this.$confirm(this.$t('请再次确认运费由您支付还是收货人支付?')) await this.$confirm(this.$t('请再次确认运费由您支付还是收货人支付?'))
} }
// 24-02-08 新需求 当付款人=发货人且提单显示价格,需要弹出提示,付款人=发货人,请再次确认提单是否显示价格明细,是则允许提交订单,否则留在当前页面 // 24-02-08 新需求 当付款人=发货人且提单显示价格,需要弹出提示,付款人=发货人,请再次确认提单是否显示价格明细,是则允许提交订单,否则留在当前页面
// https://zentao.test.jdshangmen.com/task-view-3442.html // https://zentao.test.jdshangmen.com/task-view-3442.html
if (+this.form.drawee === 1 && this.form.displayBillLadingPrice && !this.updateChannel) { if (+this.form.drawee === 1 && this.form.displayBillLadingPrice && !(this.updateChannel || this.updateWorth)) {
await this.$confirm(this.$t('付款人=发货人,请再次确认提单是否显示价格明细')) await this.$confirm(this.$t('付款人=发货人,请再次确认提单是否显示价格明细'))
} }
// 校验手机号跟目的国是否匹配 // 校验手机号跟目的国是否匹配
if (this.hasConsignee && this.form.consigneeCountryCode && this.form.consigneePhone) { if (this.updateWorth){
// 如果是修改货值跳过检验
}else if (this.hasConsignee && this.form.consigneeCountryCode && this.form.consigneePhone) {
// if (this.form.consigneeCountryCode == "86" || this.form.consigneeCountryCode == "+86") { // if (this.form.consigneeCountryCode == "86" || this.form.consigneeCountryCode == "+86") {
// this.$message.error(this.$t("控货订单的收货人手机号不能是国内号码")) // this.$message.error(this.$t("控货订单的收货人手机号不能是国内号码"))
// return // return
......
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