Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
fe71b581
Commit
fe71b581
authored
Jun 24, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 空运提单制作节点 ,是否可见
parent
8f6b0964
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
9 deletions
+24
-9
dict.js
src/utils/dict.js
+1
-0
index.vue
src/views/ecw/warehouse/index.vue
+23
-9
No files found.
src/utils/dict.js
View file @
fe71b581
...
...
@@ -224,6 +224,7 @@ export const DICT_TYPE = {
BOX_ARRIVAL_ERROR_TYPE
:
"
arrival_error_type
"
,
// 到港异常状态
APP_TYPE
:
"
app_type
"
,
//系统类型
AIR_SHIPMENT_PROCESS
:
'
air_shipment_process
'
}
/**
...
...
src/views/ecw/warehouse/index.vue
View file @
fe71b581
...
...
@@ -295,7 +295,7 @@
</div>
<br/>
<el-form
ref=
"form"
:model=
"lineform"
:rules=
"rules"
label-width=
"1
2
0px"
>
<el-form
ref=
"form"
:model=
"lineform"
:rules=
"rules"
label-width=
"1
6
0px"
>
<el-form-item
:label=
"$t('始发港服务')"
>
<el-checkbox-group
v-model=
"lineform.otherService"
>
<el-checkbox
v-for=
"item in serviceGroup"
:label=
"item.id"
:key=
"item.id"
:value=
"item.id"
>
{{item.text}}
</el-checkbox>
...
...
@@ -306,6 +306,17 @@
<el-checkbox
v-for=
"item in endServiceGroup"
:label=
"item.id"
:key=
"item.id"
:value=
"item.id"
v-show=
"isShowError(item)"
>
{{item.text}}
</el-checkbox>
</el-checkbox-group>
</el-form-item>
<el-form-item
v-if=
"['3','4'].includes(lineform.transportType)"
label=
"空运提单制作节点"
>
<el-select
v-model=
"ladingform.makeBillNode"
>
<el-option
v-show=
"item.value !== '1'"
v-for=
"(item, index) in getDictDatas(DICT_TYPE.AIR_SHIPMENT_PROCESS)"
:label=
"$l(item, 'label')"
:value=
"item.value"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"线路是否在客户端显示"
>
<el-radio-group
v-model=
"ladingform.isClientShow"
>
<el-radio
:label=
"1"
>
可见
</el-radio>
<el-radio
:label=
"0"
>
不可见
</el-radio>
</el-radio-group>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -393,7 +404,7 @@ import { createWarehouse, updateWarehouse, deleteWarehouse, getWarehouse, getWar
exportWarehouseExcel
,
routerList
,
changeRouteStatus
,
deptBind
,
deptList
,
serviceConfig
}
from
"
@/api/ecw/warehouse
"
;
import
{
getNodePage
}
from
"
@/api/ecw/node
"
;
import
{
getListTree
}
from
"
@/api/ecw/region
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
getDictDatas
,
DICT_TYPE
,
getDictDataL
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
{
CommonStatusEnum
}
from
'
@/utils/constants
'
import
{
uploadFile
}
from
"
@/api/infra/file
"
;
import
{
listDept
}
from
"
@/api/system/dept
"
;
...
...
@@ -405,7 +416,6 @@ import Template from "../../cms/template/index";
// 海运和空运的抬头模板
import
tpl
from
'
./tpl
'
console
.
log
(
tpl
)
export
default
{
name
:
"
Warehouse
"
,
components
:
{
...
...
@@ -523,8 +533,8 @@ export default {
},
// 表单参数
form
:
{
checkList
:[],},
ladingform
:
{
prefixCounter
:
null
,
titleZh
:
null
,
contentZh
:
null
,
account
:
null
,
acctArr
:[]},
lineform
:
{
otherService
:[]},
ladingform
:
{
prefixCounter
:
null
,
titleZh
:
null
,
contentZh
:
null
,
account
:
null
,
acctArr
:[]
,
isClientShow
:
1
,
makeBillNode
:
''
},
lineform
:
{
otherService
:[]
,
},
startName
:
''
,
destName
:
''
,
...
...
@@ -559,6 +569,12 @@ export default {
},
computed
:
{
DICT_TYPE
()
{
return
DICT_TYPE
},
getDictDataL
()
{
return
getDictDataL
},
isShowError
()
{
return
(
item
)
=>
{
if
(
item
.
id
!==
'
5
'
)
return
true
;
...
...
@@ -652,10 +668,9 @@ export default {
this
.
getList
();
this
.
getNodeList
();
this
.
getContinentsList
();
console
.
log
(
"
regionTypeDatas:
"
+
JSON
.
stringify
(
this
.
regionTypeDatas
));
console
.
log
(
"
transportDatas:
"
+
JSON
.
stringify
(
this
.
transportDatas
));
},
methods
:
{
getDictDataLabel
,
setTpl
(
type
){
this
.
ladingform
.
titleZh
=
tpl
[
type
]
},
...
...
@@ -1092,7 +1107,6 @@ export default {
});
this
.
ladingform
.
lineId
=
lineId
.
substr
(
0
,
lineId
.
length
-
1
);
}
console
.
log
(
this
.
ladingform
.
lineId
);
this
.
ladingform
.
account
=
JSON
.
stringify
(
this
.
arr
);
createTemplate
(
this
.
ladingform
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
设置路线提单模板成功
"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment