...
|
...
|
@@ -234,15 +234,14 @@ |
|
|
</el-row>
|
|
|
<!--编辑主单-->
|
|
|
<el-dialog :title="'原始舱单信息'+textMap[dialogStatus]" :visible.sync="outerVisible" width="90%">
|
|
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="labelPosition"
|
|
|
label-width="78px" size="mini">
|
|
|
<el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="labelPosition" size="mini">
|
|
|
<!--航班信息部分-->
|
|
|
<el-row class="flightInfo">
|
|
|
<el-col :span="24">
|
|
|
<div class="grid-content content">航班信息</div>
|
|
|
</el-col>
|
|
|
<el-row class="flightInfo">
|
|
|
<el-col :span="5" style="margin-left: -40px">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item prop="awba">
|
|
|
<div v-if="dialogStatus === 'update'">
|
|
|
<el-input disabled="" v-model="ruleForm.awba" style="width: 200px">
|
...
|
...
|
@@ -254,7 +253,7 @@ |
|
|
</div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="5">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item prop="flightno">
|
|
|
<el-input disabled="" v-model="ruleForm.flightno" style="width: 200px">
|
|
|
<template slot="prepend">航班号</template>
|
...
|
...
|
@@ -268,7 +267,7 @@ |
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="7">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="" required>
|
|
|
<el-form-item prop="flightdate">
|
|
|
<div class="ip">
|
...
|
...
|
@@ -276,7 +275,7 @@ |
|
|
</div>
|
|
|
<el-date-picker disabled="" type="date" placeholder="选择日期" :clearable="false"
|
|
|
v-model="ruleForm.flightdate"
|
|
|
style="width: 125px">
|
|
|
style="width: 145px">
|
|
|
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
...
|
...
|
@@ -284,7 +283,7 @@ |
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="flightInfo">
|
|
|
<el-col :span="18" style="margin-left: -40px">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item prop="splitcode">
|
|
|
<div class="ip">
|
|
|
是否分批
|
...
|
...
|
@@ -295,14 +294,14 @@ |
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="2">
|
|
|
<el-col :span="1.5">
|
|
|
<el-form-item prop="splitcode">
|
|
|
<el-button size="mini" type="primary" @click="dialogStatus==='create'?createData('ruleForm'):updateData('ruleForm')" style="float: right">保存</el-button>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="flightInfo">
|
|
|
<el-col :span="6" style="margin-left: -40px">
|
|
|
<el-col :span="6">
|
|
|
<div v-if="FenStatus === 'addAwbh'">
|
|
|
<el-form-item prop="awbh">
|
|
|
<el-input v-model="ruleForm.awbh" style="width: 200px">
|
...
|
...
|
@@ -333,7 +332,7 @@ |
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row style="margin-bottom: 0px;">
|
|
|
<el-col :span="6" style="margin-left: -40px">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item prop="awbinfo.sairportid" >
|
|
|
<el-input v-model="ruleForm.awbinfo.sairportid" onkeyup="this.value=this.value.toUpperCase()" style="width: 200px">
|
|
|
<template slot="prepend">起始站</template>
|
...
|
...
|
@@ -365,7 +364,7 @@ |
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="6" style="margin-left: -40px">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item prop="awbinfo.dest2">
|
|
|
<el-input v-model="ruleForm.awbinfo.dest2" onkeyup="this.value=this.value.toUpperCase()" style="width: 200px">
|
|
|
<template slot="prepend">到达站2</template>
|
...
|
...
|
@@ -402,7 +401,7 @@ |
|
|
</el-row>
|
|
|
<el-row style="margin-bottom: 0px;">
|
|
|
<el-row class="product">
|
|
|
<el-col :span="6" style="margin-left: -40px">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="" prop="awbinfo.pcs">
|
|
|
<el-input type="number" v-model="ruleForm.awbinfo.pcs" style="width: 200px">
|
|
|
<template slot="prepend">总件数</template>
|
...
|
...
|
@@ -432,14 +431,14 @@ |
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="product">
|
|
|
<el-col :span="6" style="margin-left: -40px">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="" prop="specopeid">
|
|
|
<el-input v-model="ruleForm.awbinfo.specopeid" style="width: 200px">
|
|
|
<template slot="prepend">特货代码</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="9">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="" prop="customcode">
|
|
|
<div class="ip">
|
|
|
海关关区
|
...
|
...
|
@@ -462,33 +461,33 @@ |
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="9" style="margin-left: -135px">
|
|
|
<el-form-item label="" prop="paymodel">
|
|
|
<el-col :span="6" >
|
|
|
<el-form-item label="" prop="awbinfo.awbtype">
|
|
|
<div class="ip">
|
|
|
付费方式
|
|
|
海关状态
|
|
|
</div>
|
|
|
<el-select v-model="ruleForm.awbinfo.paymodel" placeholder="" style="width: 110px">
|
|
|
<el-option v-for="item in paymodel" :key="item.value" :label="item.label"
|
|
|
<el-select v-model="ruleForm.awbinfo.awbtype" placeholder="" style="width: 110px">
|
|
|
<el-option v-for="(item,index) in customext5" :key="index" :label="item.label"
|
|
|
:value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row class="product">
|
|
|
<el-col :span="12" style="margin-left: -40px" >
|
|
|
<el-form-item label="" prop="awbinfo.awbtype">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="" prop="paymodel">
|
|
|
<div class="ip">
|
|
|
海关状态
|
|
|
付费方式
|
|
|
</div>
|
|
|
<el-select v-model="ruleForm.awbinfo.awbtype" placeholder="" style="width: 110px">
|
|
|
<el-option v-for="(item,index) in customext5" :key="index" :label="item.label"
|
|
|
<el-select v-model="ruleForm.awbinfo.paymodel" placeholder="" style="width: 120px">
|
|
|
<el-option v-for="item in paymodel" :key="item.value" :label="item.label"
|
|
|
:value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
</el-row>
|
|
|
<el-row class="product">
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="" prop="goodsname">
|
|
|
<el-input v-model="ruleForm.goodsname" style="width: 250px">
|
|
|
<el-input v-model="ruleForm.goodsname" style="width: 100%">
|
|
|
<template slot="prepend">货物描述</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
...
|
...
|
@@ -502,7 +501,7 @@ |
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row style="margin-bottom: 0px;">
|
|
|
<el-col :span="6" style="margin-left: -40px">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="" prop="awbinfo.shprname">
|
|
|
<el-input v-model="ruleForm.awbinfo.shprname" style="width: 200px">
|
|
|
<template slot="prepend">发货人称</template>
|
...
|
...
|
@@ -555,7 +554,7 @@ |
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row style="margin-bottom: 5px">
|
|
|
<el-col :span="6" style="margin-left: -40px">
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="" prop="awbinfo.cnsnname">
|
|
|
<el-input v-model="ruleForm.awbinfo.cnsnname" style="width: 200px">
|
|
|
<template slot="prepend">收货人称</template>
|
...
|
...
|
@@ -671,7 +670,7 @@ |
|
|
<el-row style="margin-top: 20px">
|
|
|
<el-col :span="2.5" class="pub">
|
|
|
<div class="grid-content">
|
|
|
<el-button type="primary" size="mini" v-on:click="addOrig">新增原始舱单</el-button>
|
|
|
<el-button type="primary" size="mini" v-on:click="addOrig()">新增原始舱单</el-button>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
<el-col :span="2.5" class="pub">
|
...
|
...
|
@@ -1169,6 +1168,9 @@ |
|
|
this.FenQuery.originstation=this.defaultQuery.originstation;
|
|
|
this.FenQuery.destinationstation=row.destinationstation;
|
|
|
this.getFenList(this.FenQuery);
|
|
|
// this.$nextTick(function () {
|
|
|
// this.$refs.formName.resetFields();
|
|
|
// });
|
|
|
},
|
|
|
/*编辑分单信息*/
|
|
|
handleFen(index,row){
|
...
|
...
|
@@ -1178,7 +1180,6 @@ |
|
|
this.ruleForm=row;
|
|
|
this.ruleForm.flightno=row.carrier+row.flightno;
|
|
|
this.ruleForm.originstation=row.originstation+"-"+row.destinationstation;
|
|
|
|
|
|
},
|
|
|
//发送舱单报
|
|
|
handleSend(index,row){
|
...
|
...
|
|