|
@@ -234,6 +234,19 @@ export default {
|
|
|
userId: getCookie("userId"),
|
|
|
// resultMemo: this.form1.resultMemo,
|
|
|
};
|
|
|
+ //校验下游港口,不能为万州港
|
|
|
+ try {
|
|
|
+ let downSwim=this.carriers.find(e=>{
|
|
|
+ return e.id==this.downSwimPortId
|
|
|
+ })
|
|
|
+ if(downSwim.label=='万州港'){
|
|
|
+ this.$message.warning("提货单位不能是万州港!");
|
|
|
+ this.isLoading=false;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ } catch (error) {
|
|
|
+
|
|
|
+ }
|
|
|
console.log(AmsshipDeliveryAttorney);
|
|
|
//身份证校验
|
|
|
function checkCardNo() {
|