|
|
<template>
|
|
|
<el-container>
|
|
|
<el-main>
|
|
|
<el-row class="row-bg">
|
|
|
<el-col :span="24">
|
|
|
<div class="grid-content content">总申报单</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-form :model="bill" :rules="rules" ref="bill" label-width="100%" class="demo-ruleForm">
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="航空器注册编号" prop="aircraftNo" label-width="120px">
|
|
|
<el-input v-model="bill.aircraftNo"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="航班号" prop="flightNo" label-width="120px">
|
|
|
<el-input v-model="bill.flightNo"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="航班时间" prop="flightDate" label-width="120px">
|
|
|
<el-input v-model="bill.flightDate"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="进出港标识" prop="accessFlag" label-width="120px">
|
|
|
<el-input v-model="bill.accessFlag"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="机组人数" prop="aircrewSum" label-width="120px">
|
|
|
<el-input v-model="bill.aircrewSum"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="国际旅客人数" prop="interPassengerSum" label-width="120px">
|
|
|
<el-input v-model="bill.interPassengerSum"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="国内旅客人数" prop="localePassengerSum" label-width="120px">
|
|
|
<el-input v-model="bill.localePassengerSum"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="国际行李件数" prop="interBaggageNum" label-width="120px">
|
|
|
<el-input v-model="bill.interBaggageNum"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="国内行李件数" prop="localeBaggageNum" label-width="120px">
|
|
|
<el-input v-model="bill.localeBaggageNum"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="货邮件数" prop="goodsNum" label-width="120px">
|
|
|
<el-input v-model="bill.goodsNum"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="货邮重量(KG)" prop="goodsQuantity" label-width="120px">
|
|
|
<el-input v-model="bill.goodsQuantity"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="抵达港口" prop="arrivalAirport" label-width="120px">
|
|
|
<el-input v-model="bill.arrivalAirport"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="关区代码" prop="arrivalno" label-width="120px">
|
|
|
<el-input v-model="bill.arrivalno"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="抵达时间" prop="arrivaldatetime" label-width="120px">
|
|
|
<el-input v-model="bill.arrivaldatetime"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="驶离港口" prop="departureAirport" label-width="120px">
|
|
|
<el-input v-model="bill.departureAirport"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="关区代码" prop="departureno" label-width="120px">
|
|
|
<el-input v-model="bill.departureno"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="驶离时间" prop="departuredatetime" label-width="120px">
|
|
|
<el-input v-model="bill.departuredatetime"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="货物申报单份数" prop="cargoBillNum" label-width="120px">
|
|
|
<el-input v-model="bill.cargoBillNum"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="旅客名单份数" prop="passengerPage" label-width="120px">
|
|
|
<el-input v-model="bill.passengerPage"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="机组名单份数" prop="aircrewBillNum" label-width="120px">
|
|
|
<el-input v-model="bill.aircrewBillNum"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="机组物品申报单份数" prop="aircrewCargoBillNum" label-width="140px">
|
|
|
<el-input v-model="bill.aircrewCargoBillNum"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="停靠机位" prop="arrivalPosition" label-width="120px">
|
|
|
<el-input v-model="bill.arrivalPosition"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="18">
|
|
|
<el-form-item label="选项" label-width="120px">
|
|
|
<el-checkbox v-model="bill.remark">是否有健康异常</el-checkbox>
|
|
|
<el-checkbox v-model="bill.remark1">是否发现病媒生物</el-checkbox>
|
|
|
<el-checkbox v-model="bill.remark2">是否发现外来有害生物</el-checkbox>
|
|
|
<el-checkbox v-model="bill.remark3">是否有有效灭蚊证明</el-checkbox>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="备注" prop="meno" label-width="120px">
|
|
|
<el-input v-model="bill.meno"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-form>
|
|
|
</el-row>
|
|
|
<el-row style="margin-left: 120px">
|
|
|
<el-col :span="24"> <el-button type="primary" @click="submitForm('bill')">保 存</el-button>
|
|
|
<el-button type="success">保存并发送</el-button></el-col>
|
|
|
</el-row>
|
|
|
<el-row class="row-bg">
|
|
|
<el-col :span="24">
|
|
|
<div class="grid-content content">机组名单<el-button type="primary" size="mini" @click="dialogTableVisible = true" style="margin-left:50px">添加机组人员</el-button></div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-dialog title="机组人员添加" :visible.sync="dialogTableVisible">
|
|
|
<el-form :model="billperson" :rules="brules" ref="billperson" label-width="100px" class="demo-ruleForm">
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="姓名" prop="name">
|
|
|
<el-input v-model="billperson.name"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="性别" prop="gender">
|
|
|
<el-input v-model="billperson.gender"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="证件类型" prop="certType">
|
|
|
<el-input v-model="billperson.certType"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="证件号码" prop="ceterNo">
|
|
|
<el-input v-model="billperson.ceterNo"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="国籍" prop="nationality">
|
|
|
<el-input v-model="billperson.nationality"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="职务" prop="gareer">
|
|
|
<el-input v-model="billperson.gareer"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="备注" prop="meno">
|
|
|
<el-input v-model="billperson.meno"></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24"> <el-button type="primary" @click="submitPerson('billperson')" style="float: right">提 交</el-button></el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-table
|
|
|
:data="tableData"
|
|
|
border
|
|
|
style="width: 100%;margin-bottom: 10px">
|
|
|
<el-table-column
|
|
|
fixed="left"
|
|
|
label="操作"
|
|
|
width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="primary"
|
|
|
@click="handleEdit(scope.$index, scope.row)">选择</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
fixed
|
|
|
prop="name"
|
|
|
label="姓名"
|
|
|
width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
fixed
|
|
|
prop="gender"
|
|
|
label="性别"
|
|
|
width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
fixed
|
|
|
prop="nationality"
|
|
|
label="国籍"
|
|
|
width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
fixed
|
|
|
prop="certType"
|
|
|
label="证件类型"
|
|
|
width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
fixed
|
|
|
prop="ceterNo"
|
|
|
label="证件编辑"
|
|
|
width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
fixed
|
|
|
prop="gareer"
|
|
|
label="职务"
|
|
|
width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
fixed
|
|
|
prop="meno"
|
|
|
label="备注"
|
|
|
width="350">
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</el-row>
|
|
|
</el-main>
|
|
|
</el-container>
|
|
|
</template>
|
|
|
<style scoped>
|
|
|
.grid-content {
|
|
|
height: 36px;
|
|
|
line-height: 36px;
|
|
|
}
|
|
|
.el-dialog__body{text-align: center}
|
|
|
.content {
|
|
|
border-left: 4px #409EFF solid;
|
|
|
padding-left: 10px;
|
|
|
background-color: #f9fafc;
|
|
|
margin-bottom: 2px
|
|
|
}
|
|
|
|
|
|
.row-bg{
|
|
|
background-color: white;
|
|
|
}
|
|
|
.el-col{margin-right: 0px;}
|
|
|
</style>
|
|
|
<script>
|
|
|
export default {
|
|
|
data(){
|
|
|
return{
|
|
|
bill:{
|
|
|
uuid:undefined,
|
|
|
aircraftNo:undefined,
|
|
|
flightNo:undefined,
|
|
|
flightDate:undefined,
|
|
|
accessFlag:undefined,
|
|
|
departureAirport:undefined,
|
|
|
departuredatetime:undefined,
|
|
|
departureno:undefined,
|
|
|
arrivalAirport:undefined,
|
|
|
arrivaldatetime:undefined,
|
|
|
arrivalno:undefined,
|
|
|
aircrewSum:undefined,
|
|
|
interPassengerSum:undefined,
|
|
|
localePassengerSum:undefined,
|
|
|
interBaggageNum:undefined,
|
|
|
localeBaggageNum:undefined,
|
|
|
goodsNum:undefined,
|
|
|
goodsQuantity:undefined,
|
|
|
cargoBillNum:undefined,
|
|
|
passengerPage:undefined,
|
|
|
aircrewBillNum:undefined,
|
|
|
aircrewCargoBillNum:undefined,
|
|
|
arrivalPosition:undefined,
|
|
|
bussinessType:undefined,
|
|
|
messageid:undefined,
|
|
|
status:undefined,
|
|
|
statusMsg:undefined,
|
|
|
meno:undefined,
|
|
|
createTime:undefined,
|
|
|
createBy:undefined,
|
|
|
updateTime:undefined,
|
|
|
updateBy:undefined,
|
|
|
isDelete:undefined,
|
|
|
remark:undefined,
|
|
|
remark1:undefined,
|
|
|
remark2:undefined,
|
|
|
remark3:undefined
|
|
|
},
|
|
|
rules: {
|
|
|
aircraftNo: [
|
|
|
{required: true, message: '请输入', trigger: 'blur'}
|
|
|
],
|
|
|
flightNo: [
|
|
|
{required: true, message: '请输入', trigger: 'blur'}
|
|
|
],
|
|
|
flightDate: [
|
|
|
{required: true, message: '请选择', trigger: 'blur'}
|
|
|
],
|
|
|
},
|
|
|
dialogTableVisible:false,
|
|
|
billperson:{
|
|
|
autoId:undefined,
|
|
|
name:undefined,
|
|
|
gender:undefined,
|
|
|
gareer:undefined,
|
|
|
nationality:undefined,
|
|
|
certType:undefined,
|
|
|
ceterNo:undefined,
|
|
|
createTime:undefined,
|
|
|
createBy:undefined,
|
|
|
updateTime:undefined,
|
|
|
updateBy:undefined,
|
|
|
meno:undefined,
|
|
|
isDelete:undefined,
|
|
|
billsId:undefined
|
|
|
},
|
|
|
brules:{
|
|
|
name: [
|
|
|
{required: true, message: '请输入', trigger: 'blur'}
|
|
|
],
|
|
|
gender: [
|
|
|
{required: true, message: '请输入', trigger: 'blur'}
|
|
|
],
|
|
|
certType: [
|
|
|
{required: true, message: '请输入', trigger: 'blur'}
|
|
|
],
|
|
|
ceterNo: [
|
|
|
{required: true, message: '请输入', trigger: 'blur'}
|
|
|
],
|
|
|
nationality: [
|
|
|
{required: true, message: '请输入', trigger: 'blur'}
|
|
|
],
|
|
|
gareer: [
|
|
|
{required: true, message: '请输入', trigger: 'blur'}
|
|
|
],
|
|
|
},
|
|
|
tableData:[]
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
submitForm(formName) {
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
|
alert('submit!');
|
|
|
} else {
|
|
|
console.log('error submit!!');
|
|
|
return false;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
submitPerson(formName){
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
|
alert('submit!');
|
|
|
} else {
|
|
|
console.log('error submit!!');
|
|
|
return false;
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
handleSizeChange(val) {
|
|
|
console.log(`每页 ${val} 条`);
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
console.log(`当前页: ${val}`);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</script> |
|
|
\ No newline at end of file |
...
|
...
|
|