Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2023-05-08 15:50:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
aec9568c03bc15c32bf25d038c5d500ba435966b
aec9568c
1 parent
096352e4
字段长度扩展,显示长度修改
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
15 deletions
src/settings.js
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/systemConfig/superAllocation/dialog.vue
src/views/systemConfig/superAllocation/index.vue
src/settings.js
View file @
aec9568
...
...
@@ -43,7 +43,7 @@ module.exports = {
* logout
*/
loginURL
:
'https://test-myapps.secure.fedex.com/L2/iMAC/'
,
logoutURL
:
'https://test-myapps.secure.fedex.com/logout
/
'
,
logoutURL
:
'https://test-myapps.secure.fedex.com/logout'
,
/**
* 后端接口
...
...
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
aec9568
This diff is collapsed. Click to expand it.
src/views/systemConfig/superAllocation/dialog.vue
View file @
aec9568
<template>
<div>
<el-dialog :title="title" :visible.sync="dialogVisible" width="60%" top="8vh" :before-close="close"
append-to-body
:close-on-click-modal="false" @submit.native.prevent @close="close">
<el-dialog :title="title" :visible.sync="dialogVisible" width="60%" top="8vh" :before-close="close"
append-to-body
:close-on-click-modal="false" @submit.native.prevent @close="close">
<el-form class="form-header" ref="superAllocationForm" :model="formData" label-width="auto"
label-position="left" style="margin-bottom:10px" @submit.native.prevent size="small" :rules="rules">
<el-row>
<el-col :span="22">
<el-form-item label="发件人账号" prop="shipperAccount">
<el-input type="textarea" v-model="formData.shipperAccount" placeholder="请输入发件人账号,多个以“;”分割"
maxlength="
5
0" rows="4" :disabled="disabled" />
maxlength="
300
0" rows="4" :disabled="disabled" />
</el-form-item>
</el-col>
<el-col :span="12">
...
...
@@ -20,8 +20,8 @@
</el-col>
<el-col :span="12">
<el-form-item label="航班日期" prop="flightDate">
<el-date-picker class="formItem" v-model="formData.flightDate" type="date"
placeholder="选择日期"
value-format="yyyy-MM-dd" @change="getRoute" :disabled="disabled">
<el-date-picker class="formItem" v-model="formData.flightDate" type="date"
placeholder="选择日期"
value-format="yyyy-MM-dd" @change="getRoute" :disabled="disabled">
</el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -30,8 +30,7 @@
<el-col :span="12">
<el-form-item label="航线" prop="flightRoute">
<el-select class="formItem" v-model="formData.flightRoute" placeholder="未设置"
:loading="routeLoading" :disabled="routeList.length == 0 || disabled"
@change="routeChange">
:loading="routeLoading" :disabled="routeList.length == 0 || disabled" @change="routeChange">
<el-option v-for="(item, index) in routeList" :label="item.route" :value="item.route"
:key="item.id">
<Tooltips :content="item.route" :refName="item.route"></Tooltips>
...
...
@@ -50,8 +49,8 @@
<el-row>
<el-col :span="12">
<el-form-item label="URSA包含" prop="includeUrsa">
<el-input class="formItem" v-model="formData.includeUrsa"
placeholder="URSA之间用分号分隔,例:F2;F3;P_"
type="textarea" rows="3" maxlength="100">
<el-input class="formItem" v-model="formData.includeUrsa"
placeholder="URSA之间用分号分隔,例:F2;F3;P_"
type="textarea" rows="3" maxlength="100">
</el-input>
</el-form-item>
</el-col>
...
...
@@ -287,7 +286,8 @@ export default {
})
},
routeChange() {
this.$forceUpdate()
// this.$forceUpdate()
this.$refs['superAllocationForm'].clearValidate('flightRoute')
},
close() {
this.formData = {
...
...
@@ -305,6 +305,4 @@ export default {
}
</script>
<style lang="scss" scoped>
</style>
\ No newline at end of file
<style lang="scss" scoped></style>
\ No newline at end of file
...
...
src/views/systemConfig/superAllocation/index.vue
View file @
aec9568
...
...
@@ -6,7 +6,7 @@
<el-col :span="6">
<el-form-item label="发件人账号">
<el-input type="textarea" v-model="selectionData.shipperAccount" placeholder="请输入发件人账号,多个以“;”分割"
maxlength="
5
0" rows="4" />
maxlength="
300
0" rows="4" />
</el-form-item>
</el-col>
</el-row>
...
...
Please
register
or
login
to post a comment