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
2022-09-26 11:45:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fec704c36b4aeba3760564836eb9541abce039bb
fec704c3
1 parent
8855465c
图标增加,序号增加,样式修正
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
10 deletions
src/assets/icons/svg/drag-text.svg
src/assets/languages/tableHeaders.js
src/components/Drag/index.vue
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/basicInformation/goodsStation/dialog.vue
src/views/basicInformation/goodsStationFlight/dialog.vue
src/assets/icons/svg/drag-text.svg
0 → 100644
View file @
fec704c
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1660113358419"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2396"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><defs><style
type=
"text/css"
>
@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff2?t=1630033759944") format("woff2"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.woff?t=1630033759944") format("woff"), url("//at.alicdn.com/t/font_1031158_u69w8yhxdu.ttf?t=1630033759944") format("truetype"); }
</style></defs><path
d=
"M393.846154 78.769231c43.323077 0 78.769231 35.446154 78.769231 78.769231s-35.446154 78.769231-78.769231 78.76923-78.769231-35.446154-78.769231-78.76923 35.446154-78.769231 78.769231-78.769231z m236.307692 0c43.323077 0 78.769231 35.446154 78.769231 78.769231s-35.446154 78.769231-78.769231 78.76923-78.769231-35.446154-78.769231-78.76923 35.446154-78.769231 78.769231-78.769231zM393.846154 315.076923c43.323077 0 78.769231 35.446154 78.769231 78.769231s-35.446154 78.769231-78.769231 78.769231-78.769231-35.446154-78.769231-78.769231 35.446154-78.769231 78.769231-78.769231z m236.307692 0c43.323077 0 78.769231 35.446154 78.769231 78.769231s-35.446154 78.769231-78.769231 78.769231-78.769231-35.446154-78.769231-78.769231 35.446154-78.769231 78.769231-78.769231zM393.846154 551.384615c43.323077 0 78.769231 35.446154 78.769231 78.769231s-35.446154 78.769231-78.769231 78.769231-78.769231-35.446154-78.769231-78.769231 35.446154-78.769231 78.769231-78.769231z m236.307692 0c43.323077 0 78.769231 35.446154 78.769231 78.769231s-35.446154 78.769231-78.769231 78.769231-78.769231-35.446154-78.769231-78.769231 35.446154-78.769231 78.769231-78.769231zM393.846154 787.692308c43.323077 0 78.769231 35.446154 78.769231 78.76923s-35.446154 78.769231-78.769231 78.769231-78.769231-35.446154-78.769231-78.769231 35.446154-78.769231 78.769231-78.76923z m236.307692 0c43.323077 0 78.769231 35.446154 78.769231 78.76923s-35.446154 78.769231-78.769231 78.769231-78.769231-35.446154-78.769231-78.769231 35.446154-78.769231 78.769231-78.76923z"
p-id=
"2397"
></path></svg>
\ No newline at end of file
src/assets/languages/tableHeaders.js
View file @
fec704c
...
...
@@ -994,7 +994,7 @@ let tableHeaders = {
status
:
1
},
{
columnChineseName
:
"航线
优先级
"
,
columnChineseName
:
"航线
配舱设置
"
,
columnName
:
"flightRoute"
,
columnWidth
:
""
,
status
:
1
...
...
src/components/Drag/index.vue
View file @
fec704c
...
...
@@ -5,6 +5,7 @@
@dragstart="handleDragStart($event, item)" @dragover.prevent="handleDragOver($event, item)"
@dragenter="handleDragEnter($event, item)" @dragend="handleDragEnd($event, item)">
<svg-icon v-if="!disabled" icon-class="drag-text" class="el-input__icon input-icon" style="color:#bfbfbf" />
<span style="margin-right:20px">{{index}}</span>
<span>{{ item.route }}</span>
</div>
</transition-group>
...
...
@@ -81,10 +82,8 @@ export default {
.container {
max-width: 350px;
min-height: 32px;
//
max-height: 150px;
max-height: 150px;
overflow-y: scroll;
display: flex;
flex-direction: column;
padding: 0;
border: 1px solid #ccc;
...
...
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
fec704c
This diff is collapsed. Click to expand it.
src/views/basicInformation/goodsStation/dialog.vue
View file @
fec704c
...
...
@@ -5,11 +5,11 @@
<el-form class="form-header" :model="formData" size="small" ref="addForm" label-width="auto"
label-position="left" style="margin-bottom:10px" :rules="rules" @submit.native.prevent>
<el-form-item label="货站名称" prop="goodsStation">
<el-input type="text" v-model="formData.goodsStation" maxlength="
50
" placeholder="请输入货站名称">
<el-input type="text" v-model="formData.goodsStation" maxlength="
25
" placeholder="请输入货站名称">
</el-input>
</el-form-item>
<el-form-item label="品名" prop="goodsList">
<el-input type="textarea" v-model="formData.goodsList" rows="4" maxlength="
254
"
<el-input type="textarea" v-model="formData.goodsList" rows="4" maxlength="
125
"
placeholder="请输入品名,多个用“;”隔开">
</el-input>
</el-form-item>
...
...
src/views/basicInformation/goodsStationFlight/dialog.vue
View file @
fec704c
...
...
@@ -5,12 +5,11 @@
<el-form class="form-header" :model="formData" size="small" ref="addForm" label-width="auto"
label-position="left" style="margin-bottom:10px" :rules="rules" @submit.native.prevent>
<el-form-item label="货站名称" prop="goodsStation">
<el-input type="text" v-model="formData.goodsStation" maxlength="
50
" placeholder="请输入货站名称">
<el-input type="text" v-model="formData.goodsStation" maxlength="
25
" placeholder="请输入货站名称">
</el-input>
</el-form-item>
<el-form-item label="航班" prop="flightList">
<el-input type="textarea" v-model="formData.flightList" rows="4" maxlength="254"
placeholder="请输入航班,多个用“;”隔开" oninput="value=value.replace(/[^A-Za-z0-9\;]/g, '')">
<el-input type="textarea" v-model="flightList" rows="4" maxlength="125" placeholder="请输入航班,多个用“;”隔开">
</el-input>
</el-form-item>
</el-form>
...
...
@@ -64,7 +63,7 @@ export default {
//提交
submit() {
let obj = {}
obj.goodsStation = this.formData.goodsStation
t
obj.goodsStation = this.formData.goodsStation
if (this.formData.flightList != null && this.formData.flightList != '') {
this.formData.flightList = this.formData.flightList.toUpperCase()
obj.flightList = this.formData.flightList.split(';')
...
...
@@ -96,6 +95,19 @@ export default {
this.$refs["addForm"].clearValidate();
this.$emit('close')
}
},
computed: {
flightList: {
get: function () {
return this.formData.flightList
},
set: function (val) {
const reg = /^([a-zA-Z0-9]{0,40}(\;[a-zA-Z0-9]{0,40})*)$/
if (reg.test(val)) {
this.formData.flightList = val
}
},
},
}
}
...
...
Please
register
or
login
to post a comment