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
0c88c1e6
Commit
0c88c1e6
authored
Aug 22, 2023
by
houjn@hikoon.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运agent同步海运试试
parent
5f7df710
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
agent.vue
src/views/ecw/box/shippingSea/nodePage/agent.vue
+9
-3
No files found.
src/views/ecw/box/shippingSea/nodePage/agent.vue
View file @
0c88c1e6
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
<div>
<div>
<el-form
ref=
"agentForm"
:model=
"agentObj"
:rules=
"rules"
label-width=
"120px"
>
<el-form
ref=
"agentForm"
:model=
"agentObj"
:rules=
"rules"
label-width=
"120px"
>
<el-form-item
:label=
"$t('代理商Agent')"
prop=
"agentId"
>
<el-form-item
:label=
"$t('代理商Agent')"
prop=
"agentId"
>
<supplierSelect
v-model=
"agentObj.agentId"
:companyType=
"'1'"
:areaType=
"1"
:placeholder=
"$t('请选择代理商')"
:allSupplier=
"this.$attrs.allSupplier"
/>
<supplierOutSelect
v-model=
"agentObj.agentId"
:companyType=
"'1'"
:areaType=
"1"
:placeholder=
"$t('请选择代理商')"
:allSupplier=
"this.$attrs.allSupplier"
/>
<el-button
v-hasPermi=
"['ecw:supplier:query']"
type=
"text"
style=
"font-size: 13px; margin-left: 240px;"
@
click=
"SupplierDetail"
>
{{
$t
(
'
查看代理商详情
'
)
}}
</el-button>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-row
class=
"operate-button"
>
<el-row
class=
"operate-button"
>
...
@@ -14,7 +15,7 @@
...
@@ -14,7 +15,7 @@
<
script
>
<
script
>
import
{
agentSet
}
from
"
@/api/ecw/boxSea
"
;
import
{
agentSet
}
from
"
@/api/ecw/boxSea
"
;
import
supplier
Select
from
"
./common/supplier
Select.vue
"
;
import
supplier
OutSelect
from
"
./common/supplierOut
Select.vue
"
;
import
{
formatStringNumber
,
serviceMsg
}
from
"
../utils
"
;
import
{
formatStringNumber
,
serviceMsg
}
from
"
../utils
"
;
/**
/**
* agent
* agent
...
@@ -22,7 +23,7 @@ import { formatStringNumber, serviceMsg } from "../utils";
...
@@ -22,7 +23,7 @@ import { formatStringNumber, serviceMsg } from "../utils";
export
default
{
export
default
{
name
:
"
agent
"
,
name
:
"
agent
"
,
inheritAttrs
:
false
,
inheritAttrs
:
false
,
components
:
{
supplierSelect
},
components
:
{
supplier
Out
Select
},
data
()
{
data
()
{
return
{
return
{
// agent对象
// agent对象
...
@@ -31,6 +32,7 @@ export default {
...
@@ -31,6 +32,7 @@ export default {
rules
:
{
rules
:
{
agentId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
change
"
}],
agentId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
change
"
}],
},
},
supplierId
:
0
};
};
},
},
created
()
{
created
()
{
...
@@ -60,6 +62,10 @@ export default {
...
@@ -60,6 +62,10 @@ export default {
cancel
(
type
)
{
cancel
(
type
)
{
this
.
$emit
(
"
closeDialog
"
,
type
);
this
.
$emit
(
"
closeDialog
"
,
type
);
},
},
SupplierDetail
(){
this
.
supplierId
=
this
.
agentObj
.
agentId
this
.
$router
.
push
(
'
/supplier/detail?id=
'
+
this
.
supplierId
)
},
},
},
};
};
</
script
>
</
script
>
...
...
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