作者 小范

新增区分进出港数据功能

... ... @@ -191,7 +191,7 @@
dischargecompleteddatetime:undefined,
arrivaldatetime:undefined,
meno:undefined,
accessFlag:'0',
accessFlag: '0',
createBy:loginUserInfo.username,
updateBy:loginUserInfo.username,
},
... ...
... ... @@ -21,6 +21,16 @@
</el-select>
</el-form-item>
</el-col>
<!-- <el-col :span="8">-->
<!-- <el-form-item label="国籍" prop="country" label-width="120px">-->
<!-- <Nationality v-on:tellFarther="fromCountry"></Nationality>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="8">-->
<!-- <el-form-item label="证件" prop="certType" label-width="120px">-->
<!-- <Document v-on:tellFa="fromDocument"></Document>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="24">
<el-form-item label="备注" prop="reamrk" label-width="120px">
<el-input v-model="configure.reamrk"></el-input>
... ... @@ -69,18 +79,25 @@
</style>
<script>
import { addSchedule} from "../../api/transport";
import loginUserInfo from '../../api/base'
import loginUserInfo from '../../api/base';
import Nationality from './Nationality'
import Document from './Document'
export default {
components: { Nationality, Document },
data(){
return{
//国籍数据
// countryOptions:[],
configure:{
username:loginUserInfo.username,
flightNo:undefined,
ietype:undefined,
ietype:'0',
reamrk:undefined,
accessFlag:'1',
// accessFlag:'1',
country:'',
certType:'',
createBy:loginUserInfo.username,
updateBy:loginUserInfo.username,
},
... ... @@ -104,6 +121,16 @@
}
},
methods:{
//从子组件获取国籍数据
fromCountry:function(val){
console.log("来自子组件的值:"+val)
this.configure.country = val;
},
//从子组件获取证件数据
fromDocument:function(val){
console.log("来自子组件的值:"+val)
this.configure.certType = val;
},
//新增进港确报申报(保存按钮)
submitForm(formName) {
let _this = this;
... ...
... ... @@ -172,7 +172,7 @@
arrivaldatetime:undefined,
stayid:undefined,
meno:undefined,
accessFlag:'0',
accessFlag: '0',
createBy:loginUserInfo.username,
updateBy:loginUserInfo.username,
},
... ...
... ... @@ -156,7 +156,7 @@
departuredatetime:undefined,
customDistrictNo:undefined,
meno:undefined,
accessFlag:'1',
accessFlag: '1',
createBy:loginUserInfo.username,
updateBy:loginUserInfo.username,
},
... ...
... ... @@ -170,7 +170,7 @@
stayid:undefined,
departuredatetime:undefined,
meno:undefined,
accessFlag:'1',
accessFlag: '1',
createBy:loginUserInfo.username,
updateBy:loginUserInfo.username,
},
... ...
... ... @@ -78,9 +78,9 @@
outConfigure:{
username:loginUserInfo.username,
flightNo:undefined,
ietype:undefined,
ietype:'1',
reamrk:undefined,
accessFlag:'2',
// accessFlag:'2',
createBy:loginUserInfo.username,
updateBy:loginUserInfo.username,
},
... ...
... ... @@ -286,7 +286,7 @@
submitForm() {
let params = {
pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryArrival.flightNo,
flightDate: this.queryArrival.flightDate
flightDate: this.queryArrival.flightDate,accessFlag:'0'
};
this.tableloading = true;
selectPrediction(params).then(res => {
... ...
... ... @@ -174,7 +174,7 @@
//获取进港航班配置查询列表
submitForm() {
let params = {
pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryConfigure.flightNo,
pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryConfigure.flightNo,ietype:'0'
};
this.tableloading = true;
selectSchedule(params).then(res => {
... ...
... ... @@ -221,7 +221,7 @@
submitForm() {
let params = {
pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryConfirmatory.flightNo,
flightDate: this.queryConfirmatory.flightDate
flightDate: this.queryConfirmatory.flightDate,accessFlag:'0'
};
this.tableloading = true;
selectConfirm(params).then(res => {
... ...
... ... @@ -229,7 +229,8 @@
submitForm() {
let params = {
pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryDeclare.flightNo,
flightDate: this.queryDeclare.flightDate
flightDate: this.queryDeclare.flightDate,accessFlag:'1'
};
this.tableloading = true;
selectConfirm(params).then(res => {
... ...
... ... @@ -253,7 +253,7 @@
submitForm() {
let params = {
pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryDeparture.flightNo,
flightDate: this.queryDeparture.flightDate
flightDate: this.queryDeparture.flightDate,accessFlag:'1'
};
this.tableloading = true;
selectPrediction(params).then(res => {
... ...
... ... @@ -174,7 +174,7 @@
//获取出港航班配置查询列表
submitForm() {
let params = {
pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryFlightConfigure.flightNo,
pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryFlightConfigure.flightNo,ietype:'1'
};
this.tableloading = true;
selectSchedule(params).then(res => {
... ...