作者 xudada

进港,理货,分拨,发送,理货,分拨报

@@ -6,3 +6,8 @@ export const addAllocatImport=params=>{return http.post(`${baseUrl}/addAllocatIm @@ -6,3 +6,8 @@ export const addAllocatImport=params=>{return http.post(`${baseUrl}/addAllocatIm
6 export const addAllocatArrive=params=>{return http.post(`${baseUrl}/addAllocatArrive`, params);}; 6 export const addAllocatArrive=params=>{return http.post(`${baseUrl}/addAllocatArrive`, params);};
7 export const QueryData=params=>{return http.get(`${baseUrl}/QueryData`, params);}; 7 export const QueryData=params=>{return http.get(`${baseUrl}/QueryData`, params);};
8 export const ediAllocat=params=>{return http.put(`${baseUrl}/ediAllocat`, params);}; 8 export const ediAllocat=params=>{return http.put(`${baseUrl}/ediAllocat`, params);};
  9 +
  10 +export const sendCreateMt6202=params=>{return http.post(`${baseUrl}/sendCreateMt6202`, params);};
  11 +export const sendRemoveMt6202=params=>{return http.post(`${baseUrl}/sendRemoveMt6202`, params);};
  12 +export const sendCreateMt3202=params=>{return http.post(`${baseUrl}/sendCreateMt3202`, params);};
  13 +export const sendRemoveMt3202=params=>{return http.post(`${baseUrl}/sendRemoveMt3202`, params);};
@@ -9,3 +9,7 @@ export const ediMt1201=params=>{return http.put(`${baseUrl}/ediMt1201`, params) @@ -9,3 +9,7 @@ export const ediMt1201=params=>{return http.put(`${baseUrl}/ediMt1201`, params)
9 export const selectAirport=params=>{return http.get(`${baseUrl}/selectList`, params);}; 9 export const selectAirport=params=>{return http.get(`${baseUrl}/selectList`, params);};
10 export const getCountryCode=params=>{return http.get(`${baseUrl}/getCountryCode`, params);}; 10 export const getCountryCode=params=>{return http.get(`${baseUrl}/getCountryCode`, params);};
11 export const selectCustomcode=params=>{return http.get(`${baseUrl}/selectCustomcode`, params);}; 11 export const selectCustomcode=params=>{return http.get(`${baseUrl}/selectCustomcode`, params);};
  12 +
  13 +export const sendCreateMt1201=params=>{return http.post(`${baseUrl}/sendCreateMt1201`, params);};
  14 +export const sendEditeMt1201=params=>{return http.post(`${baseUrl}/sendEditeMt1201`, params);};
  15 +export const sendRemoveMt1201=params=>{return http.post(`${baseUrl}/sendRemoveMt1201`, params);};
1 import http from './http.js' 1 import http from './http.js'
2 let baseUrl = 'nmms-server-import/nmms/mt5201' 2 let baseUrl = 'nmms-server-import/nmms/mt5201'
  3 +let baseUrl2='nmms-server-import/nmms/mt1201'
3 4
4 export const getMt5201List=params=>{return http.get(`${baseUrl}/getMt5201List`, params);}; 5 export const getMt5201List=params=>{return http.get(`${baseUrl}/getMt5201List`, params);};
5 export const addMt5201=params=>{return http.post(`${baseUrl}/addMt5201`, params);}; 6 export const addMt5201=params=>{return http.post(`${baseUrl}/addMt5201`, params);};
6 export const ediMt5201=params=>{return http.put(`${baseUrl}/ediMt5201`, params);}; 7 export const ediMt5201=params=>{return http.put(`${baseUrl}/ediMt5201`, params);};
7 export const delMt5201 = params => { return http.del(`${baseUrl}/delMt5201`,params)}; 8 export const delMt5201 = params => { return http.del(`${baseUrl}/delMt5201`,params)};
8 9
  10 +export const sendCreateMt520x=params=>{return http.post(`${baseUrl}/sendCreateMt520x`, params);};
  11 +export const sendRemoveMt520x=params=>{return http.post(`${baseUrl}/sendRemoveMt520x`, params);};
  12 +export const selectCustomcode=params=>{return http.get(`${baseUrl2}/selectCustomcode`, params);};
  13 +
  14 +
@@ -182,7 +182,7 @@ @@ -182,7 +182,7 @@
182 v-if="scope.row.turntype=='MT6202'" 182 v-if="scope.row.turntype=='MT6202'"
183 size="mini" 183 size="mini"
184 type="primary" 184 type="primary"
185 - @click="arriveDel(scope.$index, scope.row)">申请分拨删除 185 + @click="importDel(scope.$index, scope.row)">申请分拨删除
186 </el-button> 186 </el-button>
187 <el-button 187 <el-button
188 v-else 188 v-else
@@ -424,6 +424,26 @@ @@ -424,6 +424,26 @@
424 </div> 424 </div>
425 </el-form-item> 425 </el-form-item>
426 </el-col> 426 </el-col>
  427 + <el-col :span="5">
  428 + <el-form-item label="卸货地" prop="ext2">
  429 + <div v-if="dialogStatus === 'update'">
  430 + <el-input v-model="IruleForm.ext2"></el-input>
  431 + </div>
  432 + <div v-else>
  433 + <el-input disabled="" v-model="IruleForm.ext2"></el-input>
  434 + </div>
  435 + </el-form-item>
  436 + </el-col>
  437 + <el-col :span="5">
  438 + <el-form-item label="车辆所属" prop="ext1">
  439 + <div v-if="dialogStatus === 'update'">
  440 + <el-input v-model="IruleForm.ext1"></el-input>
  441 + </div>
  442 + <div v-else>
  443 + <el-input disabled="" v-model="IruleForm.ext1"></el-input>
  444 + </div>
  445 + </el-form-item>
  446 + </el-col>
427 </el-row> 447 </el-row>
428 </el-form> 448 </el-form>
429 </el-dialog> 449 </el-dialog>
@@ -441,6 +461,26 @@ @@ -441,6 +461,26 @@
441 </span> 461 </span>
442 </el-dialog> 462 </el-dialog>
443 </el-row> 463 </el-row>
  464 + <!--发送删除报修改报提示框-->
  465 + <el-row>
  466 + <el-dialog :title="'提交'+Reason[udStatus]+'信息'" :visible.sync="dialogFormVisible">
  467 + <el-form :model="Udform" :rules="udrules" ref="Udform" class="demo-ruleForm">
  468 + <el-form-item label="操作原因" prop="operreason">
  469 + <el-input type="textarea" v-model="Udform.operreason"></el-input>
  470 + </el-form-item>
  471 + <el-form-item label="操作人" prop="operperson">
  472 + <el-input v-model="Udform.operperson"></el-input>
  473 + </el-form-item>
  474 + <el-form-item label="联系电话" prop="opertel">
  475 + <el-input v-model="Udform.opertel"></el-input>
  476 + </el-form-item>
  477 + </el-form>
  478 + <div slot="footer" class="dialog-footer">
  479 + <el-button @click="dialogFormVisible = false">取 消</el-button>
  480 + <el-button type="primary" @click="deleteIdForm('Udform')">确 定</el-button>
  481 + </div>
  482 + </el-dialog>
  483 + </el-row>
444 </el-main> 484 </el-main>
445 </el-container> 485 </el-container>
446 </template> 486 </template>
@@ -454,7 +494,7 @@ @@ -454,7 +494,7 @@
454 .bg{height:24px;text-align: center;line-height:24px;min-height: 24px} 494 .bg{height:24px;text-align: center;line-height:24px;min-height: 24px}
455 </style> 495 </style>
456 <script> 496 <script>
457 - import { QueryData,ediAllocat } from '../../api/Allocat' 497 + import { QueryData,ediAllocat,sendCreateMt6202,sendRemoveMt6202,sendCreateMt3202,sendRemoveMt3202 } from '../../api/Allocat'
458 export default{ 498 export default{
459 data(){ 499 data(){
460 return{ 500 return{
@@ -542,7 +582,9 @@ @@ -542,7 +582,9 @@
542 turnpiece:'', 582 turnpiece:'',
543 turnweight:'', 583 turnweight:'',
544 turnunloading:'', 584 turnunloading:'',
545 - goodsname:'' 585 + goodsname:'',
  586 + ext2:'',
  587 + ext1:''
546 }, 588 },
547 Arules: { 589 Arules: {
548 awba: [ 590 awba: [
@@ -582,7 +624,9 @@ @@ -582,7 +624,9 @@
582 turnpiece:undefined, 624 turnpiece:undefined,
583 turnweight:undefined, 625 turnweight:undefined,
584 turnunloading:undefined, 626 turnunloading:undefined,
585 - pno:undefined 627 + pno:undefined,
  628 + ext1:undefined,
  629 + ext2:undefined
586 }, 630 },
587 Irules: { 631 Irules: {
588 awba: [ 632 awba: [
@@ -612,10 +656,178 @@ @@ -612,10 +656,178 @@
612 turnunLoading: [ 656 turnunLoading: [
613 { required: true, message: '请选择分拨到达地', trigger: 'change' } 657 { required: true, message: '请选择分拨到达地', trigger: 'change' }
614 ], 658 ],
  659 + ext2: [
  660 + { required: true, message: '请输入卸货地代码', trigger: 'change' }
  661 + ],
  662 + ext1: [
  663 + { required: true, message: '请输入车辆所属承运人代码', trigger: 'change' }
  664 + ],
  665 + },
  666 + Udform:{
  667 + operreason:'',
  668 + operperson:'',
  669 + opertel:'',
  670 + flightdate:'',
  671 + flightno:'',
  672 + carrier:'',
  673 + awbano:'',
  674 + awbhno:'',
  675 + bustype:'',
  676 + busdate:'',
  677 + busweight:'',
  678 + buspiece:'',
  679 + opertype:'',
615 }, 680 },
  681 + udrules:{
  682 + operreason: [{required: true, message: '请输入操作原因', trigger: 'blur'}],
  683 + operperson: [{required: true, message: '请输入操作人', trigger: 'blur'}],
  684 + opertel: [{required: true, message: '请输入操作人联系电话', trigger: 'blur'}],
  685 + },
  686 + Reason:{
  687 + update: '修改',
  688 + delete: '删除'
  689 + },
  690 + udStatus:'',
  691 + dialogFormVisible: false,
  692 + rows:{},
  693 + loading:false,
616 } 694 }
617 }, 695 },
618 methods:{ 696 methods:{
  697 + //发送分拨申请报
  698 + importSend(index,row){
  699 + const map = {'mt6202':row}
  700 + sendCreateMt6202(map).then(res=>{
  701 + let response=res.data;
  702 + //console.log(res);
  703 + this.code=response.code;
  704 + if(this.code=='200'){
  705 + this.outerVisible = false;
  706 + this.centerDialogVisible=true;
  707 + this.msg=response.msg;
  708 + }else{
  709 + this.outerVisible = false;
  710 + this.centerDialogVisible=true;
  711 + this.msg=response.msg;
  712 + }
  713 + });
  714 + },
  715 + //发送分拨申请删除报
  716 + importDel(index,row){
  717 + this.dialogFormVisible=true;
  718 + this.udStatus='delete';
  719 + this.Udform.awbano=row.awba;
  720 + this.Udform.awbhno=row.awbh;
  721 + this.Udform.carrier=row.carrier;
  722 + this.Udform.flightno=row.flightno.substring(2);
  723 + this.Udform.flightdate=row.flightdate;
  724 + this.Udform.bustype='MT5201';
  725 + this.Udform.busdate=Date.parse(new Date());
  726 + this.Udform.busweight=row.weight;
  727 + this.Udform.buspiece=row.piece;
  728 + this.Udform.opertype='发送分拨申请删除报';
  729 + if(row.flightno.length>4){
  730 + row.flightno=row.flightno;
  731 + }else{
  732 + row.flightno=row.carrier+row.flightno;
  733 + };
  734 + if(row.awbh==null){
  735 + row.awbh="";
  736 + }
  737 + this.rows=row;
  738 + },
  739 + //发送分拨申请删除报表单
  740 + deleteIdForm(formName){
  741 + this.$refs[formName].validate((valid) => {
  742 + const map = {'flightNo':this.rows.flightno,
  743 + 'flightDate':this.rows.flightdate,
  744 + 'awba':this.rows.awba,
  745 + 'content':'',
  746 + 'customCode':this.rows.customcode,
  747 + 'reason' :this.Udform.operreason,
  748 + 'contactName':this.Udform.operperson,
  749 + 'contactTel':this.Udform.opertel,
  750 + 'carrier':this.rows.carrier}
  751 + if(this.rows.turntype=='MT6202'){
  752 + sendRemoveMt6202(map).then(res=>{
  753 + let response=res.data;
  754 + //console.log(res);
  755 + this.code=response.code;
  756 + if(this.code=='200'){
  757 + this.dialogFormVisible=false;
  758 + this.outerVisible = false;
  759 + this.centerDialogVisible=true;
  760 + this.msg=response.msg;
  761 + }else{
  762 + this.dialogFormVisible=false;
  763 + this.outerVisible = false;
  764 + this.centerDialogVisible=true;
  765 + this.msg=response.msg;
  766 + }
  767 + });
  768 + }else{
  769 + sendRemoveMt3202(map).then(res=>{
  770 + let response=res.data;
  771 + //console.log(res);
  772 + this.code=response.code;
  773 + if(this.code=='200'){
  774 + this.dialogFormVisible=false;
  775 + this.outerVisible = false;
  776 + this.centerDialogVisible=true;
  777 + this.msg=response.msg;
  778 + }else{
  779 + this.dialogFormVisible=false;
  780 + this.outerVisible = false;
  781 + this.centerDialogVisible=true;
  782 + this.msg=response.msg;
  783 + }
  784 + });
  785 + }
  786 + });
  787 +
  788 + },
  789 + //发送分拨运抵报
  790 + arriveSend(index,row){
  791 + const map = {'mt3202':row}
  792 + sendCreateMt3202(map).then(res=>{
  793 + let response=res.data;
  794 + //console.log(res);
  795 + this.code=response.code;
  796 + if(this.code=='200'){
  797 + this.outerVisible = false;
  798 + this.centerDialogVisible=true;
  799 + this.msg=response.msg;
  800 + }else{
  801 + this.outerVisible = false;
  802 + this.centerDialogVisible=true;
  803 + this.msg=response.msg;
  804 + }
  805 + });
  806 + },
  807 + //发送分拨返抵删除报
  808 + arriveDel(index,row){
  809 + this.dialogFormVisible=true;
  810 + this.udStatus='delete';
  811 + this.Udform.awbano=row.awba;
  812 + this.Udform.awbhno=row.awbh;
  813 + this.Udform.carrier=row.carrier;
  814 + this.Udform.flightno=row.flightno.substring(2);
  815 + this.Udform.flightdate=row.flightdate;
  816 + this.Udform.bustype='MT5201';
  817 + this.Udform.busdate=Date.parse(new Date());
  818 + this.Udform.busweight=row.weight;
  819 + this.Udform.buspiece=row.piece;
  820 + this.Udform.opertype='发送分拨运抵删除报';
  821 + if(row.flightno.length>4){
  822 + row.flightno=row.flightno;
  823 + }else{
  824 + row.flightno=row.carrier+row.flightno;
  825 + };
  826 + if(row.awbh==null){
  827 + row.awbh="";
  828 + }
  829 + this.rows=row;
  830 + },
619 handleClick(row) { 831 handleClick(row) {
620 console.log(row); 832 console.log(row);
621 }, 833 },
@@ -91,7 +91,7 @@ @@ -91,7 +91,7 @@
91 turnweight:'', 91 turnweight:'',
92 customcode:'', 92 customcode:'',
93 turnunloading:'', 93 turnunloading:'',
94 - goodsname:'' 94 + goodsname:'',
95 }, 95 },
96 rules: { 96 rules: {
97 awba: [ 97 awba: [
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <el-row type="flex" class="row-bg" justify="center"> 12 <el-row type="flex" class="row-bg" justify="center">
13 <el-col :span="5"> 13 <el-col :span="5">
14 <el-form-item label="航班号" prop="flightno"> 14 <el-form-item label="航班号" prop="flightno">
15 - <el-input placeholder="" v-model="ruleForm.flightno" style="width:100%"></el-input> 15 + <el-input placeholder="" v-model="flightno" style="width:100%"></el-input>
16 </el-form-item> 16 </el-form-item>
17 </el-col> 17 </el-col>
18 <el-col :span="5"> 18 <el-col :span="5">
@@ -26,7 +26,7 @@ @@ -26,7 +26,7 @@
26 </el-col> 26 </el-col>
27 <el-col :span="5"> 27 <el-col :span="5">
28 <el-form-item label="始发站" prop="originstation"> 28 <el-form-item label="始发站" prop="originstation">
29 - <el-select v-model="ruleForm.originstation" 29 + <el-select v-model="originstation"
30 filterable 30 filterable
31 allow-create 31 allow-create
32 default-first-option 32 default-first-option
@@ -47,7 +47,7 @@ @@ -47,7 +47,7 @@
47 </el-col> 47 </el-col>
48 <el-col :span="5"> 48 <el-col :span="5">
49 <el-form-item label="目的站" prop="destinationstation"> 49 <el-form-item label="目的站" prop="destinationstation">
50 - <el-select v-model="ruleForm.destinationstation" filterable 50 + <el-select v-model="destinationstation" filterable
51 allow-create 51 allow-create
52 default-first-option 52 default-first-option
53 remote 53 remote
@@ -109,11 +109,11 @@ @@ -109,11 +109,11 @@
109 ], 109 ],
110 originstation: [ 110 originstation: [
111 {required: true, message: '请输入航班起始站', trigger: 'blur'}, 111 {required: true, message: '请输入航班起始站', trigger: 'blur'},
112 - {min: 3, max: 5, message: '长度为 3 ', trigger: 'blur'} 112 + {min: 3, max: 3, message: '长度为 3 ', trigger: 'blur'}
113 ], 113 ],
114 destinationstation: [ 114 destinationstation: [
115 {required: true, message: '请输入目的站', trigger: 'blur'}, 115 {required: true, message: '请输入目的站', trigger: 'blur'},
116 - {min: 3, max: 5, message: '长度为 3 ', trigger: 'blur'} 116 + {min: 3, max: 3, message: '长度为 3 ', trigger: 'blur'}
117 ], 117 ],
118 flightdate: [ 118 flightdate: [
119 { required: true, message: '请选择日期', trigger: 'blur' } 119 { required: true, message: '请选择日期', trigger: 'blur' }
@@ -169,10 +169,36 @@ @@ -169,10 +169,36 @@
169 } 169 }
170 } 170 }
171 }, 171 },
  172 + computed:{
  173 + originstation:{
  174 + get:function () {
  175 + return this.ruleForm.originstation;
  176 + },
  177 + set:function (val) {
  178 + this.ruleForm.originstation=val.toUpperCase();
  179 + }
  180 + },
  181 + destinationstation:{
  182 + get:function () {
  183 + return this.ruleForm.destinationstation;
  184 + },
  185 + set:function (val) {
  186 + this.ruleForm.destinationstation=val.toUpperCase();
  187 + }
  188 + },
  189 + flightno:{
  190 + get:function () {
  191 + return this.ruleForm.flightno;
  192 + },
  193 + set:function (val) {
  194 + this.ruleForm.flightno=val.toUpperCase();
  195 + }
  196 + }
  197 + },
172 /*渲染方法*/ 198 /*渲染方法*/
173 mounted(){ 199 mounted(){
174 this.getDefaultData(); 200 this.getDefaultData();
175 //this.getFlightList(); 201 //this.getFlightList();
176 - } 202 + },
177 }; 203 };
178 </script> 204 </script>
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <el-row type="flex" class="row-bg" justify="center"> 12 <el-row type="flex" class="row-bg" justify="center">
13 <el-col :span="5"> 13 <el-col :span="5">
14 <el-form-item label="航班号" prop="flightno"> 14 <el-form-item label="航班号" prop="flightno">
15 - <el-input placeholder="" v-model="ruleForm.flightno" style="width:100%"></el-input> 15 + <el-input onkeyup="value=value.replace(/[\u4e00-\u9fa5]/ig,'')" placeholder="" v-model="flightno" style="width:100%"></el-input>
16 </el-form-item> 16 </el-form-item>
17 </el-col> 17 </el-col>
18 <el-col :span="5"> 18 <el-col :span="5">
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 <el-input placeholder="" v-model="ruleForm.originstation"></el-input> 29 <el-input placeholder="" v-model="ruleForm.originstation"></el-input>
30 </el-form-item>--> 30 </el-form-item>-->
31 <el-form-item label="始发站" prop="originstation"> 31 <el-form-item label="始发站" prop="originstation">
32 - <el-select v-model="ruleForm.originstation" filterable 32 + <el-select v-model="originstation" filterable
33 allow-create 33 allow-create
34 default-first-option 34 default-first-option
35 remote 35 remote
@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 <el-input placeholder="" v-model="ruleForm.destinationstation" :disabled="true"></el-input> 52 <el-input placeholder="" v-model="ruleForm.destinationstation" :disabled="true"></el-input>
53 </el-form-item>--> 53 </el-form-item>-->
54 <el-form-item label="目的站" prop="destinationstation"> 54 <el-form-item label="目的站" prop="destinationstation">
55 - <el-select v-model="ruleForm.destinationstation" 55 + <el-select v-model="destinationstation"
56 filterable 56 filterable
57 allow-create 57 allow-create
58 default-first-option 58 default-first-option
@@ -106,6 +106,7 @@ @@ -106,6 +106,7 @@
106 }, 106 },
107 options: [], 107 options: [],
108 airportid:'', 108 airportid:'',
  109 + loading: false,
109 /*表单验证方法*/ 110 /*表单验证方法*/
110 rules: { 111 rules: {
111 flightno: [ 112 flightno: [
@@ -114,11 +115,11 @@ @@ -114,11 +115,11 @@
114 ], 115 ],
115 originstation: [ 116 originstation: [
116 {required: true, message: '请输入航班起始站', trigger: 'blur'}, 117 {required: true, message: '请输入航班起始站', trigger: 'blur'},
117 - {min: 3, max: 5, message: '长度为 3 ', trigger: 'blur'} 118 + {min: 3, max: 3, message: '长度为 3 ', trigger: 'blur'}
118 ], 119 ],
119 destinationstation: [ 120 destinationstation: [
120 {required: true, message: '请输入目的站', trigger: 'blur'}, 121 {required: true, message: '请输入目的站', trigger: 'blur'},
121 - {min: 3, max: 5, message: '长度为 3 ', trigger: 'blur'} 122 + {min: 3, max: 3, message: '长度为 3 ', trigger: 'blur'}
122 ], 123 ],
123 flightdate: [ 124 flightdate: [
124 { required: true, message: '请选择日期', trigger: 'change' } 125 { required: true, message: '请选择日期', trigger: 'change' }
@@ -126,6 +127,32 @@ @@ -126,6 +127,32 @@
126 } 127 }
127 }; 128 };
128 }, 129 },
  130 + computed:{
  131 + originstation:{
  132 + get:function () {
  133 + return this.ruleForm.originstation;
  134 + },
  135 + set:function (val) {
  136 + this.ruleForm.originstation=val.toUpperCase();
  137 + }
  138 + },
  139 + destinationstation:{
  140 + get:function () {
  141 + return this.ruleForm.destinationstation;
  142 + },
  143 + set:function (val) {
  144 + this.ruleForm.destinationstation=val.toUpperCase();
  145 + }
  146 + },
  147 + flightno:{
  148 + get:function () {
  149 + return this.ruleForm.flightno;
  150 + },
  151 + set:function (val) {
  152 + this.ruleForm.flightno=val.toUpperCase();
  153 + }
  154 + }
  155 + },
129 methods:{ 156 methods:{
130 remoteMethod:function(query) { 157 remoteMethod:function(query) {
131 this.options = []; 158 this.options = [];
@@ -173,7 +200,6 @@ @@ -173,7 +200,6 @@
173 /*渲染方法*/ 200 /*渲染方法*/
174 mounted(){ 201 mounted(){
175 this.getDefaultData(); 202 this.getDefaultData();
176 - this.getFlightList();  
177 } 203 }
178 }; 204 };
179 205
@@ -48,6 +48,12 @@ @@ -48,6 +48,12 @@
48 </el-select> 48 </el-select>
49 </el-col> 49 </el-col>
50 </el-form-item> 50 </el-form-item>
  51 + <el-form-item label="卸货地" prop="ext2">
  52 + <el-input v-model="ruleForm.ext2"></el-input>
  53 + </el-form-item>
  54 + <el-form-item label="车辆所发属" prop="ext1">
  55 + <el-input v-model="ruleForm.ext1"></el-input>
  56 + </el-form-item>
51 </el-form> 57 </el-form>
52 </el-col> 58 </el-col>
53 <el-col :span="12"> 59 <el-col :span="12">
@@ -91,7 +97,9 @@ @@ -91,7 +97,9 @@
91 turnweight:'', 97 turnweight:'',
92 customcode:'', 98 customcode:'',
93 turnunloading:'', 99 turnunloading:'',
94 - pno:'' 100 + pno:'',
  101 + ext2:'',
  102 + ext1:''
95 }, 103 },
96 rules: { 104 rules: {
97 awba: [ 105 awba: [
@@ -117,6 +125,12 @@ @@ -117,6 +125,12 @@
117 ], 125 ],
118 turnunloading: [ 126 turnunloading: [
119 { required: true, message: '请选择分拨到达地', trigger: 'change' } 127 { required: true, message: '请选择分拨到达地', trigger: 'change' }
  128 + ],
  129 + ext2: [
  130 + { required: true, message: '请输入卸货地', trigger: 'change' }
  131 + ],
  132 + ext1: [
  133 + { required: true, message: '请输入运输车辆所属承运人代码', trigger: 'change' }
120 ] 134 ]
121 }, 135 },
122 options2: [ 136 options2: [
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 <el-row> 5 <el-row>
6 <el-col :span="4"> 6 <el-col :span="4">
7 <div> 7 <div>
8 - <el-input v-model="carrier" placeholder=""> 8 + <el-input v-model="vcarrier" placeholder="">
9 <template slot="prepend">航班号</template> 9 <template slot="prepend">航班号</template>
10 </el-input> 10 </el-input>
11 </div> 11 </div>
@@ -97,7 +97,7 @@ @@ -97,7 +97,7 @@
97 data() { 97 data() {
98 /*初始化值*/ 98 /*初始化值*/
99 return { 99 return {
100 - carrier:undefined, 100 + carrier:'',
101 tableData: [], 101 tableData: [],
102 flighttime: undefined, 102 flighttime: undefined,
103 currentPage:1, 103 currentPage:1,
@@ -139,6 +139,16 @@ @@ -139,6 +139,16 @@
139 this.$router.push({name:'进港理货',params:{index,row}}) 139 this.$router.push({name:'进港理货',params:{index,row}})
140 } 140 }
141 }, 141 },
  142 + computed:{
  143 + vcarrier:{
  144 + get:function () {
  145 + return this.carrier;
  146 + },
  147 + set:function (val) {
  148 + this.carrier=val.toUpperCase();
  149 + }
  150 + }
  151 + },
142 /*渲染方法*/ 152 /*渲染方法*/
143 mounted() { 153 mounted() {
144 let that=this; 154 let that=this;
@@ -352,8 +352,8 @@ @@ -352,8 +352,8 @@
352 </el-form-item> 352 </el-form-item>
353 </el-col> 353 </el-col>
354 <el-col :span="6"> 354 <el-col :span="6">
355 - <el-form-item label="海关状态" prop="ext5">  
356 - <el-select v-model="ruleForm.ext5" placeholder="" style="display:inline"> 355 + <el-form-item label="海关状态" prop="awbinfo.awbtype">
  356 + <el-select v-model="ruleForm.awbinfo.awbtype" placeholder="" style="display:inline">
357 <el-option v-for="(item,index) in customext5" :key="index" :label="item.label" 357 <el-option v-for="(item,index) in customext5" :key="index" :label="item.label"
358 :value="item.value"></el-option> 358 :value="item.value"></el-option>
359 </el-select> 359 </el-select>
@@ -589,7 +589,7 @@ @@ -589,7 +589,7 @@
589 </el-row> 589 </el-row>
590 <!--发送删除报修改报提示框--> 590 <!--发送删除报修改报提示框-->
591 <el-row> 591 <el-row>
592 - <el-dialog title="提交修改信息" :visible.sync="dialogFormVisible"> 592 + <el-dialog :title="'提交'+Reason[udStatus]+'信息'" :visible.sync="dialogFormVisible">
593 <el-form :model="Udform" :rules="udrules" ref="Udform" class="demo-ruleForm"> 593 <el-form :model="Udform" :rules="udrules" ref="Udform" class="demo-ruleForm">
594 <el-form-item label="操作原因" prop="operreason"> 594 <el-form-item label="操作原因" prop="operreason">
595 <el-input type="textarea" v-model="Udform.operreason"></el-input> 595 <el-input type="textarea" v-model="Udform.operreason"></el-input>
@@ -603,7 +603,7 @@ @@ -603,7 +603,7 @@
603 </el-form> 603 </el-form>
604 <div slot="footer" class="dialog-footer"> 604 <div slot="footer" class="dialog-footer">
605 <el-button @click="dialogFormVisible = false">取 消</el-button> 605 <el-button @click="dialogFormVisible = false">取 消</el-button>
606 - <el-button type="primary" @click="submitUdForm('Udform')">确 定</el-button> 606 + <el-button type="primary" @click="udStatus==='delete'?deleteUdForm('Udform'):updateUdForm('Udform')">确 定</el-button>
607 </div> 607 </div>
608 </el-dialog> 608 </el-dialog>
609 </el-row> 609 </el-row>
@@ -663,7 +663,7 @@ @@ -663,7 +663,7 @@
663 </style> 663 </style>
664 664
665 <script> 665 <script>
666 - import { getMt1201List,addMt1201,ediMt1201,getFenList,getCountryCode,selectCustomcode } from '../../api/mt1201' 666 + import { getMt1201List,addMt1201,ediMt1201,getFenList,getCountryCode,selectCustomcode,sendCreateMt1201,sendEditeMt1201,sendRemoveMt1201 } from '../../api/mt1201'
667 import{addResponse} from "../../api/InResponse"; 667 import{addResponse} from "../../api/InResponse";
668 668
669 export default { 669 export default {
@@ -694,6 +694,10 @@ @@ -694,6 +694,10 @@
694 update: '编辑', 694 update: '编辑',
695 create: '添加' 695 create: '添加'
696 }, 696 },
  697 + Reason:{
  698 + update: '修改',
  699 + delete: '删除'
  700 + },
697 ruleForm: { 701 ruleForm: {
698 awba: undefined, 702 awba: undefined,
699 awbh: undefined, 703 awbh: undefined,
@@ -710,7 +714,6 @@ @@ -710,7 +714,6 @@
710 uldType: undefined, 714 uldType: undefined,
711 uldNo: undefined, 715 uldNo: undefined,
712 status: undefined, 716 status: undefined,
713 - ext5:'-1',  
714 awbinfo: { 717 awbinfo: {
715 specopeid: undefined, 718 specopeid: undefined,
716 shprname: undefined, 719 shprname: undefined,
@@ -742,41 +745,18 @@ @@ -742,41 +745,18 @@
742 csgcustomerid: undefined, 745 csgcustomerid: undefined,
743 paymodel: 'PP', 746 paymodel: 'PP',
744 pcs: undefined, 747 pcs: undefined,
745 - weight: undefined 748 + weight: undefined,
  749 + awbtype:'001',
746 }, 750 },
747 waybill:undefined 751 waybill:undefined
748 }, 752 },
749 paymodel:[{value:'PP',label:'预付'},{value:'DP',label:'到付'}], 753 paymodel:[{value:'PP',label:'预付'},{value:'DP',label:'到付'}],
750 customext5: [ 754 customext5: [
751 - {  
752 - value: '-1',  
753 - label: '请选择'  
754 - },  
755 - {  
756 - value: '001',  
757 - label: '进出口货物'  
758 - },  
759 - {  
760 - value: '002',  
761 - label: '国际转运货物'  
762 - },  
763 - {  
764 - value: '003',  
765 - label: '过境货物'  
766 - },  
767 - {  
768 - value: '004',  
769 - label: '暂时进出境集装箱'  
770 - },  
771 - {  
772 - value: '007',  
773 - label: '互市贸易'  
774 - },  
775 - {  
776 - value: '008',  
777 - label: '惰性物料'  
778 - }  
779 - ], 755 + {value:'001',label:'普通货物'},
  756 + {value:'002',label:'国际转运货物'},
  757 + {value:'003',label:'国内转关'},
  758 + {value:'004',label:'空箱'},
  759 + {value:'005',label:'快件'}],
780 customcodes:[], 760 customcodes:[],
781 customcode:'', 761 customcode:'',
782 rules: { 762 rules: {
@@ -802,6 +782,7 @@ @@ -802,6 +782,7 @@
802 'awbinfo.cnsnaddress': [{required: true, message: '收获地址不能为空', trigger: 'blur'}], 782 'awbinfo.cnsnaddress': [{required: true, message: '收获地址不能为空', trigger: 'blur'}],
803 'awbinfo.cnscountyr': [{required: true, message: '国家代码不能为空', trigger: 'change'}], 783 'awbinfo.cnscountyr': [{required: true, message: '国家代码不能为空', trigger: 'change'}],
804 'awbinfo.paymodel':[{required: true, message: '付费方式必须选择', trigger: 'change'}], 784 'awbinfo.paymodel':[{required: true, message: '付费方式必须选择', trigger: 'change'}],
  785 + 'awbinfo.awbtype':[{required: true, message: '海关状态必须选择', trigger: 'change'}],
805 customcode:[{required: true, message: '海关关区必须选择', trigger: 'change'}], 786 customcode:[{required: true, message: '海关关区必须选择', trigger: 'change'}],
806 goodsname:[{required: true, message: '货物描述必须填写', trigger: 'blur'}] 787 goodsname:[{required: true, message: '货物描述必须填写', trigger: 'blur'}]
807 }, 788 },
@@ -839,6 +820,9 @@ @@ -839,6 +820,9 @@
839 operperson: [{required: true, message: '请输入操作人', trigger: 'blur'}], 820 operperson: [{required: true, message: '请输入操作人', trigger: 'blur'}],
840 opertel: [{required: true, message: '请输入操作人联系电话', trigger: 'blur'}], 821 opertel: [{required: true, message: '请输入操作人联系电话', trigger: 'blur'}],
841 }, 822 },
  823 + udStatus:'',
  824 + loading:false,
  825 + rows:{}
842 } 826 }
843 }, 827 },
844 methods: { 828 methods: {
@@ -859,8 +843,6 @@ @@ -859,8 +843,6 @@
859 this.FenQuery.originstation=this.defaultQuery.originstation; 843 this.FenQuery.originstation=this.defaultQuery.originstation;
860 this.FenQuery.destinationstation=row.destinationstation; 844 this.FenQuery.destinationstation=row.destinationstation;
861 this.getFenList(this.FenQuery); 845 this.getFenList(this.FenQuery);
862 - this.getCountryCode();  
863 - this.selectCustomcode();  
864 }, 846 },
865 /*编辑分单信息*/ 847 /*编辑分单信息*/
866 handleFen(index,row){ 848 handleFen(index,row){
@@ -873,11 +855,81 @@ @@ -873,11 +855,81 @@
873 855
874 }, 856 },
875 //发送舱单报 857 //发送舱单报
876 - handleSend(index,row){}, 858 + handleSend(index,row){
  859 + if(row.flightno.length>4){
  860 + row.flightno=row.flightno.substring(2)
  861 + }else{
  862 + row.flightno=row.flightno;
  863 + }
  864 + const map = {'mt1201':row}
  865 + sendCreateMt1201(map).then(res=>{
  866 + let response=res.data;
  867 + //console.log(res);
  868 + this.code=response.code;
  869 + if(this.code=='200'){
  870 + this.outerVisible = false;
  871 + this.centerDialogVisible=true;
  872 + this.msg=response.msg;
  873 + }else{
  874 + this.outerVisible = false;
  875 + this.centerDialogVisible=true;
  876 + this.msg=response.msg;
  877 + }
  878 + });
  879 + },
  880 + //发送舱单删除报
  881 + handleDelete(index,row){
  882 + this.udStatus='delete';
  883 + this.dialogFormVisible=true;
  884 + this.Udform.awbano=row.awba;
  885 + this.Udform.awbhno=row.awbh;
  886 + this.Udform.carrier=row.carrier;
  887 + this.Udform.flightno=row.flightno.substring(2);
  888 + this.Udform.flightdate=row.flightdate;
  889 + this.Udform.bustype='MT1201';
  890 + this.Udform.busdate=Date.parse(new Date());
  891 + this.Udform.busweight=row.weight;
  892 + this.Udform.buspiece=row.piece;
  893 + this.Udform.opertype='发送舱单删除报';
  894 + if(row.flightno.length>4){
  895 + row.flightno=row.flightno;
  896 + }else{
  897 + row.flightno=row.carrier+row.flightno;
  898 + };
  899 + this.rows=row;
  900 + },
  901 + //提交发送舱单删除报表单
  902 + deleteUdForm(formName){
  903 + const map = {'flightNo':this.rows.flightno,
  904 + 'flightDate':this.rows.flightdate,
  905 + 'awba':this.rows.awba,
  906 + 'content':'',
  907 + 'customCode':this.rows.customcode,
  908 + 'awbh':this.rows.awbh,
  909 + 'reason' :this.Udform.operreason,
  910 + 'contactName':this.Udform.operperson,
  911 + 'contactTel':this.Udform.opertel}
  912 + sendRemoveMt1201(map).then(res=>{
  913 + let response=res.data;
  914 + //console.log(res);
  915 + this.code=response.code;
  916 + if(this.code=='200'){
  917 + this.dialogFormVisible=false;
  918 + this.outerVisible = false;
  919 + this.centerDialogVisible=true;
  920 + this.msg=response.msg;
  921 + }else{
  922 + this.dialogFormVisible=false;
  923 + this.outerVisible = false;
  924 + this.centerDialogVisible=true;
  925 + this.msg=response.msg;
  926 + }
  927 + });
  928 + },
877 /*发送舱单修改报*/ 929 /*发送舱单修改报*/
878 handleUpdate(index,row){ 930 handleUpdate(index,row){
  931 + this.udStatus='update';
879 this.dialogFormVisible=true; 932 this.dialogFormVisible=true;
880 - //console.log(row);  
881 this.Udform.awbano=row.awba; 933 this.Udform.awbano=row.awba;
882 this.Udform.awbhno=row.awbh; 934 this.Udform.awbhno=row.awbh;
883 this.Udform.carrier=row.carrier; 935 this.Udform.carrier=row.carrier;
@@ -888,32 +940,37 @@ @@ -888,32 +940,37 @@
888 this.Udform.busweight=row.weight; 940 this.Udform.busweight=row.weight;
889 this.Udform.buspiece=row.piece; 941 this.Udform.buspiece=row.piece;
890 this.Udform.opertype='发送舱单修改报'; 942 this.Udform.opertype='发送舱单修改报';
  943 + if(row.flightno.length>4){
  944 + row.flightno=row.flightno.substring(2);
  945 + }else{
  946 + row.flightno=row.flightno;
  947 + };
  948 + this.rows=row;
891 }, 949 },
892 //提交发送舱单修改报表单 950 //提交发送舱单修改报表单
893 - submitUdForm(formName){ 951 + updateUdForm(formName){
894 this.$refs[formName].validate((valid) => { 952 this.$refs[formName].validate((valid) => {
895 - if (valid) {  
896 - console.log(this.Udform)  
897 - addResponse(this.Udform).then(res=>{ 953 +
  954 + const map = {'mt1201':this.rows,
  955 + 'reason' :this.Udform.operreason,
  956 + 'contactName':this.Udform.operperson,
  957 + 'contactTel':this.Udform.opertel}
  958 + sendEditeMt1201(map).then(res=>{
898 let response=res.data; 959 let response=res.data;
  960 + //console.log(res);
899 this.code=response.code; 961 this.code=response.code;
900 if(this.code=='200'){ 962 if(this.code=='200'){
  963 + this.dialogFormVisible=false;
901 this.outerVisible = false; 964 this.outerVisible = false;
902 - this.$refs[formName].resetFields();  
903 this.centerDialogVisible=true; 965 this.centerDialogVisible=true;
904 this.msg=response.msg; 966 this.msg=response.msg;
905 - this.dialogFormVisible=false;  
906 }else{ 967 }else{
  968 + this.dialogFormVisible=false;
907 this.outerVisible = false; 969 this.outerVisible = false;
908 this.centerDialogVisible=true; 970 this.centerDialogVisible=true;
909 - this.$refs[formName].resetFields();  
910 this.msg=response.msg; 971 this.msg=response.msg;
911 } 972 }
912 }); 973 });
913 - } else {  
914 - console.log('error submit!!');  
915 - return false;  
916 - }  
917 }); 974 });
918 }, 975 },
919 /*编辑分单列表信息*/ 976 /*编辑分单列表信息*/
@@ -121,11 +121,11 @@ @@ -121,11 +121,11 @@
121 <el-button 121 <el-button
122 size="mini" 122 size="mini"
123 type="primary" 123 type="primary"
124 - @click="handleDelete(scope.$index, scope.row)">发送理货报</el-button> 124 + @click="handleCreate(scope.$index, scope.row)">发送理货报</el-button>
125 <el-button 125 <el-button
126 size="mini" 126 size="mini"
127 type="primary" 127 type="primary"
128 - @click="handleDelete(scope.$index, scope.row)">发送舱单删除报</el-button> 128 + @click="handleDelete(scope.$index, scope.row)">发送理货删除报</el-button>
129 </template> 129 </template>
130 </el-table-column> 130 </el-table-column>
131 </el-table> 131 </el-table>
@@ -230,9 +230,21 @@ @@ -230,9 +230,21 @@
230 <el-row class="flightInfo"> 230 <el-row class="flightInfo">
231 <el-col :span="6"> 231 <el-col :span="6">
232 <el-form-item label="海关关区" prop="customcode"> 232 <el-form-item label="海关关区" prop="customcode">
233 - <el-select v-model="ruleForm.customcode" placeholder="" style="display:inline">  
234 - <el-option v-for="(item,index) in customcodes" :key="index" :label="item.label"  
235 - :value="item.value"></el-option> 233 + <el-select v-model="ruleForm.customcode"
  234 + filterable
  235 + allow-create
  236 + default-first-option
  237 + remote
  238 + :remote-method="remoteMethod2"
  239 + :loading="loading" placeholder="请选择" style="display:inline">
  240 + <el-option
  241 + v-for="item in customcodes"
  242 + :key="item.customcode"
  243 + :label="item.customcode"
  244 + :value="item.customcode">
  245 + <span style="float: left">{{ item.customcode }}</span>
  246 + <span style="float: right; color: #8492a6; font-size: 13px">{{ item.customname }}</span>
  247 + </el-option>
236 </el-select> 248 </el-select>
237 </el-form-item> 249 </el-form-item>
238 </el-col> 250 </el-col>
@@ -329,6 +341,26 @@ @@ -329,6 +341,26 @@
329 </span> 341 </span>
330 </el-dialog> 342 </el-dialog>
331 </el-row> 343 </el-row>
  344 + <!--发送删除报修改报提示框-->
  345 + <el-row>
  346 + <el-dialog :title="'提交'+Reason[udStatus]+'信息'" :visible.sync="dialogFormVisible">
  347 + <el-form :model="Udform" :rules="udrules" ref="Udform" class="demo-ruleForm">
  348 + <el-form-item label="操作原因" prop="operreason">
  349 + <el-input type="textarea" v-model="Udform.operreason"></el-input>
  350 + </el-form-item>
  351 + <el-form-item label="操作人" prop="operperson">
  352 + <el-input v-model="Udform.operperson"></el-input>
  353 + </el-form-item>
  354 + <el-form-item label="联系电话" prop="opertel">
  355 + <el-input v-model="Udform.opertel"></el-input>
  356 + </el-form-item>
  357 + </el-form>
  358 + <div slot="footer" class="dialog-footer">
  359 + <el-button @click="dialogFormVisible = false">取 消</el-button>
  360 + <el-button type="primary" @click="deleteUdForm('Udform')">确 定</el-button>
  361 + </div>
  362 + </el-dialog>
  363 + </el-row>
332 </el-main> 364 </el-main>
333 </el-container> 365 </el-container>
334 </template> 366 </template>
@@ -367,7 +399,7 @@ @@ -367,7 +399,7 @@
367 </style> 399 </style>
368 400
369 <script> 401 <script>
370 - import { getMt5201List,addMt5201,ediMt5201,delMt5201} from '../../api/mt5201' 402 + import { getMt5201List,addMt5201,ediMt5201,delMt5201,sendCreateMt520x,sendRemoveMt520x,selectCustomcode} from '../../api/mt5201'
371 export default { 403 export default {
372 data() { 404 data() {
373 return { 405 return {
@@ -388,26 +420,10 @@ @@ -388,26 +420,10 @@
388 update: '编辑', 420 update: '编辑',
389 create: '添加' 421 create: '添加'
390 }, 422 },
391 - customcodes:[  
392 - {  
393 - value: '-1',  
394 - label: '请选择'  
395 - },  
396 - {  
397 - value: '4604',  
398 - label: '4604'  
399 - },  
400 - {  
401 - value: '4620',  
402 - label: '4620'  
403 - },  
404 - {  
405 - value: '4613',  
406 - label: '4613'  
407 - }], 423 + customcodes:[],
408 ruleForm:{ 424 ruleForm:{
409 awba:undefined, 425 awba:undefined,
410 - awbh:undefined, 426 + awbh:'',
411 carrier:undefined, 427 carrier:undefined,
412 flightno:undefined, 428 flightno:undefined,
413 flightdate:undefined, 429 flightdate:undefined,
@@ -443,9 +459,134 @@ @@ -443,9 +459,134 @@
443 sumNmmsCount:0, 459 sumNmmsCount:0,
444 sumNmmsPrice:0, 460 sumNmmsPrice:0,
445 sumNmmsWeight:0, 461 sumNmmsWeight:0,
  462 + Udform:{
  463 + operreason:'',
  464 + operperson:'',
  465 + opertel:'',
  466 + flightdate:'',
  467 + flightno:'',
  468 + carrier:'',
  469 + awbano:'',
  470 + awbhno:'',
  471 + bustype:'',
  472 + busdate:'',
  473 + busweight:'',
  474 + buspiece:'',
  475 + opertype:'',
  476 + },
  477 + udrules:{
  478 + operreason: [{required: true, message: '请输入操作原因', trigger: 'blur'}],
  479 + operperson: [{required: true, message: '请输入操作人', trigger: 'blur'}],
  480 + opertel: [{required: true, message: '请输入操作人联系电话', trigger: 'blur'}],
  481 + },
  482 + Reason:{
  483 + update: '修改',
  484 + delete: '删除'
  485 + },
  486 + udStatus:'',
  487 + dialogFormVisible: false,
  488 + rows:{},
  489 + loading:false,
446 } 490 }
447 }, 491 },
448 methods: { 492 methods: {
  493 + //获取关区代码
  494 + //获取关区代码
  495 + remoteMethod2:function(query){
  496 + this.customcodes=[];
  497 + let params={customcode:query};
  498 + this.loading = true;
  499 + selectCustomcode(params).then(res =>{
  500 + if (res !== '') {
  501 + setTimeout(() => {
  502 + this.loading = false;
  503 + this.customcodes=res.data.data;
  504 + }, 200);
  505 + } else {
  506 + this.customcodes = [];
  507 + }
  508 +
  509 + });
  510 + },
  511 + //发送理货报
  512 + handleCreate(index,row){
  513 + if(row.flightno.length>4){
  514 + row.flightno=row.flightno.substring(2)
  515 + }else{
  516 + row.flightno=row.flightno;
  517 + }
  518 + if(row.awbh==null){
  519 + row.awbh="";
  520 + }
  521 + const map = {'mt520x':row}
  522 + sendCreateMt520x(map).then(res=>{
  523 + let response=res.data;
  524 + //console.log(res);
  525 + this.code=response.code;
  526 + if(this.code=='200'){
  527 + this.outerVisible = false;
  528 + this.centerDialogVisible=true;
  529 + this.msg=response.msg;
  530 + }else{
  531 + this.outerVisible = false;
  532 + this.centerDialogVisible=true;
  533 + this.msg=response.msg;
  534 + }
  535 + });
  536 + },
  537 + //发送理货删除报
  538 + handleDelete(index,row){
  539 + this.dialogFormVisible=true;
  540 + this.udStatus='delete';
  541 + this.Udform.awbano=row.awba;
  542 + this.Udform.awbhno=row.awbh;
  543 + this.Udform.carrier=row.carrier;
  544 + this.Udform.flightno=row.flightno.substring(2);
  545 + this.Udform.flightdate=row.flightdate;
  546 + this.Udform.bustype='MT5201';
  547 + this.Udform.busdate=Date.parse(new Date());
  548 + this.Udform.busweight=row.weight;
  549 + this.Udform.buspiece=row.piece;
  550 + this.Udform.opertype='发送理货删除报';
  551 + if(row.flightno.length>4){
  552 + row.flightno=row.flightno;
  553 + }else{
  554 + row.flightno=row.carrier+row.flightno;
  555 + };
  556 + if(row.awbh==null){
  557 + row.awbh="";
  558 + }
  559 + this.rows=row;
  560 + },
  561 + //发送理化删除报提交表单
  562 + deleteUdForm(){
  563 + const map = {'flightNo':this.rows.flightno,
  564 + 'flightDate':this.rows.flightdate,
  565 + 'awba':this.rows.awba,
  566 + 'content':'',
  567 + 'customCode':this.rows.customcode,
  568 + 'awbh':this.rows.awbh,
  569 + 'reason' :this.Udform.operreason,
  570 + 'contactName':this.Udform.operperson,
  571 + 'contactTel':this.Udform.opertel,
  572 + 'rcfdep':this.rows.rcfdep}
  573 + sendRemoveMt520x(map).then(res=>{
  574 + let response=res.data;
  575 + //console.log(res);
  576 + this.code=response.code;
  577 + if(this.code=='200'){
  578 + this.dialogFormVisible=false;
  579 + this.outerVisible = false;
  580 + this.centerDialogVisible=true;
  581 + this.msg=response.msg;
  582 + }else{
  583 + this.dialogFormVisible=false;
  584 + this.outerVisible = false;
  585 + this.centerDialogVisible=true;
  586 + this.msg=response.msg;
  587 + }
  588 + });
  589 + },
449 //批量选中事件 590 //批量选中事件
450 handleSelectionChange(val) { 591 handleSelectionChange(val) {
451 this.multipleSelection = val; 592 this.multipleSelection = val;