正在显示
1 个修改的文件
包含
11 行增加
和
13 行删除
@@ -42,7 +42,7 @@ | @@ -42,7 +42,7 @@ | ||
42 | <el-col style="width: 40%;margin-left:5px"> | 42 | <el-col style="width: 40%;margin-left:5px"> |
43 | <el-form-item> | 43 | <el-form-item> |
44 | <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" | 44 | <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" |
45 | - @keyup.native="shp_contact.contact_number.replace(/[^0-9-_\s]/g,'')" v-model="shp_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input> | 45 | + @keyup.native="shp_contact.contact_number.replace(/[^0-9]/g,'')" v-model="shp_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input> |
46 | <!-- <el-select v-model="form.shp.shp_detail_number" placeholder="电话/传真">--> | 46 | <!-- <el-select v-model="form.shp.shp_detail_number" placeholder="电话/传真">--> |
47 | <!-- <el-option label="电话" value="2"></el-option>--> | 47 | <!-- <el-option label="电话" value="2"></el-option>--> |
48 | <!-- <el-option label="传真" value="3"></el-option>--> | 48 | <!-- <el-option label="传真" value="3"></el-option>--> |
@@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
74 | <el-row> | 74 | <el-row> |
75 | <el-col style="width: 80%"> | 75 | <el-col style="width: 80%"> |
76 | <el-form-item> | 76 | <el-form-item> |
77 | - <el-input minlength="1" maxlength="9" onkeyup="this.value=this.value.toUpperCase()" | 77 | + <el-input minlength="1" maxlength="35" onkeyup="this.value=this.value.toUpperCase()" |
78 | @keyup.native="form.shp.shp_adr=form.shp.shp_adr.replace(/[^A-Za-z0-9_\s]/g,'')" | 78 | @keyup.native="form.shp.shp_adr=form.shp.shp_adr.replace(/[^A-Za-z0-9_\s]/g,'')" |
79 | v-model="form.shp.shp_adr" auto-complete="off" placeholder="地址"></el-input> | 79 | v-model="form.shp.shp_adr" auto-complete="off" placeholder="地址"></el-input> |
80 | </el-form-item> | 80 | </el-form-item> |
@@ -136,7 +136,7 @@ | @@ -136,7 +136,7 @@ | ||
136 | <el-col style="width: 40%;margin-left: 5px"> | 136 | <el-col style="width: 40%;margin-left: 5px"> |
137 | <el-form-item> | 137 | <el-form-item> |
138 | <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" | 138 | <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" |
139 | - @keyup.native="cne_contact.contact_number=cne_contact.contact_number.replace(/[^0-9-_\s]/g,'')" | 139 | + @keyup.native="cne_contact.contact_number=cne_contact.contact_number.replace(/[^0-9]/g,'')" |
140 | v-model="cne_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input> | 140 | v-model="cne_contact.contact_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input> |
141 | </el-form-item> | 141 | </el-form-item> |
142 | </el-col> | 142 | </el-col> |
@@ -970,7 +970,7 @@ Handling Information | @@ -970,7 +970,7 @@ Handling Information | ||
970 | <el-col style="width: 40%;margin-left:5px"> | 970 | <el-col style="width: 40%;margin-left:5px"> |
971 | <el-form-item> | 971 | <el-form-item> |
972 | <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" | 972 | <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" |
973 | - @keyup.native="addForm.shp.shp_detail_number=addForm.shp.shp_detail_number.replace(/[^0-9-_\s]/g,'')" v-model="addForm.shp.shp_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input> | 973 | + @keyup.native="addForm.shp.shp_detail_number=addForm.shp.shp_detail_number.replace(/[^0-9]/g,'')" v-model="addForm.shp.shp_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input> |
974 | <!-- <el-select v-model="addForm.shp.shp_detail_number" placeholder="电话/传真">--> | 974 | <!-- <el-select v-model="addForm.shp.shp_detail_number" placeholder="电话/传真">--> |
975 | <!-- <el-option label="电话" value="2"></el-option>--> | 975 | <!-- <el-option label="电话" value="2"></el-option>--> |
976 | <!-- <el-option label="传真" value="3"></el-option>--> | 976 | <!-- <el-option label="传真" value="3"></el-option>--> |
@@ -1065,7 +1065,7 @@ Handling Information | @@ -1065,7 +1065,7 @@ Handling Information | ||
1065 | <el-col style="width: 40%;margin-left: 5px"> | 1065 | <el-col style="width: 40%;margin-left: 5px"> |
1066 | <el-form-item> | 1066 | <el-form-item> |
1067 | <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" | 1067 | <el-input minlength="1" maxlength="25" onkeyup="this.value=this.value.toUpperCase()" |
1068 | - @keyup.native="addForm.cne.cne_detail_number=addForm.cne.cne_detail_number.replace(/[^0-9-_\s]/g,'')" v-model="addForm.cne.cne_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input> | 1068 | + @keyup.native="addForm.cne.cne_detail_number=addForm.cne.cne_detail_number.replace(/[^0-9]/g,'')" v-model="addForm.cne.cne_detail_number" auto-complete="off" placeholder="电话/传真" size="mini"></el-input> |
1069 | <!-- <el-select v-model="addForm.cne.cne_detail_number" placeholder="电话/传真">--> | 1069 | <!-- <el-select v-model="addForm.cne.cne_detail_number" placeholder="电话/传真">--> |
1070 | <!-- <el-option label="电话" value="2"></el-option>--> | 1070 | <!-- <el-option label="电话" value="2"></el-option>--> |
1071 | <!-- <el-option label="传真" value="3"></el-option>--> | 1071 | <!-- <el-option label="传真" value="3"></el-option>--> |
@@ -2097,6 +2097,7 @@ Handling Information | @@ -2097,6 +2097,7 @@ Handling Information | ||
2097 | }, | 2097 | }, |
2098 | // 分单 | 2098 | // 分单 |
2099 | addForm:{ | 2099 | addForm:{ |
2100 | + companyName1:'', | ||
2100 | fhl:{ | 2101 | fhl:{ |
2101 | waybillNum:'', | 2102 | waybillNum:'', |
2102 | quantity_weight_code:'', | 2103 | quantity_weight_code:'', |
@@ -2175,10 +2176,7 @@ Handling Information | @@ -2175,10 +2176,7 @@ Handling Information | ||
2175 | { required: true, message: '请输入分运单号', trigger: 'blur' }, | 2176 | { required: true, message: '请输入分运单号', trigger: 'blur' }, |
2176 | { min: 1, max: 12, message: '长度是1-13个字符', trigger: 'blur' } | 2177 | { min: 1, max: 12, message: '长度是1-13个字符', trigger: 'blur' } |
2177 | ], | 2178 | ], |
2178 | - hbs_origin: [ | ||
2179 | - { required: true, message: '请输入起始站', trigger: 'blur' }, | ||
2180 | - { min: 3, max: 3, message: '长度是3个字符', trigger: 'blur' } | ||
2181 | - ], | 2179 | + |
2182 | }, | 2180 | }, |
2183 | }, | 2181 | }, |
2184 | dialogTableVisible:false, | 2182 | dialogTableVisible:false, |
@@ -2357,9 +2355,9 @@ Handling Information | @@ -2357,9 +2355,9 @@ Handling Information | ||
2357 | let res = response.data; | 2355 | let res = response.data; |
2358 | //添加调度记录信息,失败 | 2356 | //添加调度记录信息,失败 |
2359 | if (res.code !== '200'){ | 2357 | if (res.code !== '200'){ |
2360 | - return this.$message.error('新增分运单,失败'); | 2358 | + return this.$message.error(res.msg); |
2361 | } | 2359 | } |
2362 | - this.$message.success('新增分运单,成功'); | 2360 | + this.$message.success(res.msg); |
2363 | Object.assign(this.$data, this.$options.data()); | 2361 | Object.assign(this.$data, this.$options.data()); |
2364 | // this.addForm = { | 2362 | // this.addForm = { |
2365 | // fhl:{ | 2363 | // fhl:{ |
@@ -2449,7 +2447,7 @@ Handling Information | @@ -2449,7 +2447,7 @@ Handling Information | ||
2449 | let res = response.data; | 2447 | let res = response.data; |
2450 | //添加调度记录信息,失败 | 2448 | //添加调度记录信息,失败 |
2451 | if (res.code !== '200'){ | 2449 | if (res.code !== '200'){ |
2452 | - return this.$message.error('新增主运单,失败'); | 2450 | + return this.$message.error(res.msg); |
2453 | } | 2451 | } |
2454 | this.$message.success(res.msg); | 2452 | this.$message.success(res.msg); |
2455 | Object.assign(this.$data, this.$options.data()); | 2453 | Object.assign(this.$data, this.$options.data()); |
@@ -2600,7 +2598,7 @@ Handling Information | @@ -2600,7 +2598,7 @@ Handling Information | ||
2600 | this.addForm.fhl.destination = res.data.data.destination; | 2598 | this.addForm.fhl.destination = res.data.data.destination; |
2601 | this.addForm.fhl.quantity_weight_code = res.data.data.quantity_weight_code; | 2599 | this.addForm.fhl.quantity_weight_code = res.data.data.quantity_weight_code; |
2602 | } | 2600 | } |
2603 | - return this.$message.success(res.msg); | 2601 | + return this.$message.success(res.data.msg); |
2604 | } | 2602 | } |
2605 | }).catch((error) => { | 2603 | }).catch((error) => { |
2606 | alert(error); | 2604 | alert(error); |
-
请 注册 或 登录 后发表评论