|
@@ -895,7 +895,8 @@ Handling Information |
|
@@ -895,7 +895,8 @@ Handling Information |
895
|
<el-row>
|
895
|
<el-row>
|
896
|
<el-col :span="4">
|
896
|
<el-col :span="4">
|
897
|
<el-form-item label-width="30px" label=" " prop="fhl.waybillNum">
|
897
|
<el-form-item label-width="30px" label=" " prop="fhl.waybillNum">
|
898
|
- <el-input v-model="addForm.fhl.waybillNum" auto-complete="off" placeholder="主运单号(必填)"></el-input>
|
898
|
+ <el-input v-model="addForm.fhl.waybillNum" auto-complete="off" placeholder="主运单号(必填)"
|
|
|
899
|
+ @blur="blur"></el-input>
|
899
|
</el-form-item>
|
900
|
</el-form-item>
|
900
|
</el-col>
|
901
|
</el-col>
|
901
|
<el-col :span="4">
|
902
|
<el-col :span="4">
|
|
@@ -1846,9 +1847,11 @@ Handling Information |
|
@@ -1846,9 +1847,11 @@ Handling Information |
1846
|
</template>
|
1847
|
</template>
|
1847
|
|
1848
|
|
1848
|
<script>
|
1849
|
<script>
|
1849
|
- import {fhl,fwb} from '../../api/remote_interface/byont_import';
|
1850
|
+ import {fhl,fwb,selectawabByid} from '../../api/remote_interface/byont_import';
|
1850
|
import Consigner from "../consigner/consigner"
|
1851
|
import Consigner from "../consigner/consigner"
|
1851
|
import Consignee from "../consigner/consignee"
|
1852
|
import Consignee from "../consigner/consignee"
|
|
|
1853
|
+ import {loginedUserInfo} from "../../api/user";
|
|
|
1854
|
+ import {getList} from "../../api/consigner/consigner";
|
1852
|
|
1855
|
|
1853
|
|
1856
|
|
1854
|
export default {
|
1857
|
export default {
|
|
@@ -2029,12 +2032,12 @@ Handling Information |
|
@@ -2029,12 +2032,12 @@ Handling Information |
2029
|
// 分单
|
2032
|
// 分单
|
2030
|
addForm:{
|
2033
|
addForm:{
|
2031
|
fhl:{
|
2034
|
fhl:{
|
2032
|
- waybillNum:'804-31118931',
|
|
|
2033
|
- quantity_weight_code:'K',
|
|
|
2034
|
- quantity_weight:'888',
|
|
|
2035
|
- quantity_picecs:'888',
|
|
|
2036
|
- origin:'LUX',
|
|
|
2037
|
- destination:'CGO',
|
2035
|
+ waybillNum:'',
|
|
|
2036
|
+ quantity_weight_code:'',
|
|
|
2037
|
+ quantity_weight:'',
|
|
|
2038
|
+ quantity_picecs:'',
|
|
|
2039
|
+ origin:'',
|
|
|
2040
|
+ destination:'',
|
2038
|
},
|
2041
|
},
|
2039
|
shp:{
|
2042
|
shp:{
|
2040
|
shp_detail_identifier:'TE',
|
2043
|
shp_detail_identifier:'TE',
|
|
@@ -2082,7 +2085,6 @@ Handling Information |
|
@@ -2082,7 +2085,6 @@ Handling Information |
2082
|
hts_commodity_code:''
|
2085
|
hts_commodity_code:''
|
2083
|
},
|
2086
|
},
|
2084
|
oci:[],
|
2087
|
oci:[],
|
2085
|
-
|
|
|
2086
|
},
|
2088
|
},
|
2087
|
shp_aeo:{
|
2089
|
shp_aeo:{
|
2088
|
oci_country_code: "",
|
2090
|
oci_country_code: "",
|
|
@@ -2112,7 +2114,6 @@ Handling Information |
|
@@ -2112,7 +2114,6 @@ Handling Information |
2112
|
gridData:[],
|
2114
|
gridData:[],
|
2113
|
dialogVisible:false,
|
2115
|
dialogVisible:false,
|
2114
|
dialogVisible1:false,
|
2116
|
dialogVisible1:false,
|
2115
|
-
|
|
|
2116
|
}
|
2117
|
}
|
2117
|
},
|
2118
|
},
|
2118
|
methods:{
|
2119
|
methods:{
|
|
@@ -2283,12 +2284,12 @@ Handling Information |
|
@@ -2283,12 +2284,12 @@ Handling Information |
2283
|
this.$message.success('新增分运单,成功');
|
2284
|
this.$message.success('新增分运单,成功');
|
2284
|
this.addForm = {
|
2285
|
this.addForm = {
|
2285
|
fhl:{
|
2286
|
fhl:{
|
2286
|
- waybillNum:'804-31118931',
|
|
|
2287
|
- quantity_weight_code:'K',
|
|
|
2288
|
- quantity_weight:'888',
|
|
|
2289
|
- quantity_picecs:'888',
|
|
|
2290
|
- origin:'LUX',
|
|
|
2291
|
- destination:'CGO',
|
2287
|
+ waybillNum:'',
|
|
|
2288
|
+ quantity_weight_code:'',
|
|
|
2289
|
+ quantity_weight:'',
|
|
|
2290
|
+ quantity_picecs:'',
|
|
|
2291
|
+ origin:'',
|
|
|
2292
|
+ destination:'',
|
2292
|
},
|
2293
|
},
|
2293
|
shp:{
|
2294
|
shp:{
|
2294
|
shp_detail_identifier:'TE',
|
2295
|
shp_detail_identifier:'TE',
|
|
@@ -2367,7 +2368,26 @@ Handling Information |
|
@@ -2367,7 +2368,26 @@ Handling Information |
2367
|
});
|
2368
|
});
|
2368
|
})
|
2369
|
})
|
2369
|
},
|
2370
|
},
|
2370
|
- }
|
2371
|
+ //获取主运单信息
|
|
|
2372
|
+ blur(){
|
|
|
2373
|
+ selectawabByid({id: this.addForm.fhl.waybillNum}).then((res) => {
|
|
|
2374
|
+ if (res.data.code == '200'){
|
|
|
2375
|
+ console.log(res)
|
|
|
2376
|
+
|
|
|
2377
|
+ if(res.data.data != null&& res.data.data !=''){
|
|
|
2378
|
+ this.addForm.fhl.quantity_weight = res.data.data.quantity_weight;
|
|
|
2379
|
+ this.addForm.fhl.quantity_picecs = res.data.data.quantity_picecs;
|
|
|
2380
|
+ this.addForm.fhl.origin = res.data.data.origin;
|
|
|
2381
|
+ this.addForm.fhl.destination = res.data.data.destination;
|
|
|
2382
|
+ this.addForm.fhl.quantity_weight_code = res.data.data.quantity_weight_code;
|
|
|
2383
|
+ }
|
|
|
2384
|
+ return this.$message.success(res.msg);
|
|
|
2385
|
+ }
|
|
|
2386
|
+ }).catch((error) => {
|
|
|
2387
|
+ alert(error);
|
|
|
2388
|
+ });
|
|
|
2389
|
+ },
|
|
|
2390
|
+ },
|
2371
|
}
|
2391
|
}
|
2372
|
</script>
|
2392
|
</script>
|
2373
|
|
2393
|
|