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
aebd207d
Commit
aebd207d
authored
Apr 14, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复供应商页面
parent
5357a26c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
83 additions
and
81 deletions
+83
-81
query.vue
src/views/ecw/box/query.vue
+1
-1
detail.vue
src/views/ecw/supplier/detail.vue
+41
-40
edit.vue
src/views/ecw/supplier/edit.vue
+41
-40
No files found.
src/views/ecw/box/query.vue
View file @
aebd207d
...
...
@@ -140,7 +140,7 @@
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"editCostClick(scope.row)"
style=
"marginRight:10px;"
v-hasPermi=
"['ecw:box-cost:
dele
te']"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"editCostClick(scope.row)"
style=
"marginRight:10px;"
v-hasPermi=
"['ecw:box-cost:
upda
te']"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-popconfirm
:title=
"$t('确定是否删除')"
@
confirm=
"deleteCostClick(scope.row)"
>
<el-button
type=
"danger"
size=
"small"
slot=
"reference"
v-hasPermi=
"['ecw:box-cost:delete']"
>
{{
$t
(
'
删除
'
)
}}
</el-button>
</el-popconfirm>
...
...
src/views/ecw/supplier/detail.vue
View file @
aebd207d
...
...
@@ -92,6 +92,46 @@
<dict-selector
v-model=
"formData.priceAdvantage"
type=
"price_advantage"
disabled
/>
</el-form-item>
</div>
<el-card
class=
"mt-10"
v-if=
"formData.areaType==0"
>
<div
class=
"card-header"
slot=
"header"
>
<div
class=
"title"
>
{{
$t
(
'
优质条件
'
)
}}
</div>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['1'])"
>
<el-form-item
:label=
"$t('船公司')"
prop=
"shipCompany"
label-width=
"250"
>
<suppliers-selector
v-model=
"formData.resourceVO.shipCompany"
company-type=
"9"
disabled
/>
</el-form-item>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['1','2','4','5','7'])"
>
<el-form-item
:label=
"$t('港口')"
prop=
"ports"
label-width=
"250"
>
<el-select
v-model=
"formData.resourceVO.ports"
filterable
multiple
clearable
disabled
>
<el-option
v-for=
"(item) in seaPort"
:key=
"item.id"
:label=
"$l(item, 'title')"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('港口优势条件')"
prop=
"portConditions"
label-width=
"250"
>
<dict-selector
v-model=
"formData.resourceVO.portConditions"
type=
"port_conditions"
/>
</el-form-item>
<el-button
style=
"margin-left: 30px;"
type=
"text"
v-hasPermi=
"['ecw:dock:create']"
@
click=
"portVisible=true"
>
{{
$t
(
'
新增港口
'
)
}}
</el-button>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['10'])"
>
<el-form-item
:label=
"$t('航空公司')"
prop=
"airCompany"
label-width=
"250"
>
<suppliers-selector
v-model=
"formData.resourceVO.airCompany"
company-type=
"10"
disabled
/>
</el-form-item>
<el-form-item
:label=
"$t('航空公司优势条件')"
prop=
"airConditions"
label-width=
"250"
>
<dict-selector
v-model=
"formData.resourceVO.airConditions"
type=
"port_conditions"
disabled
/>
</el-form-item>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['3'])"
>
<el-form-item
:label=
"$t('出证速度')"
prop=
"certificateSpeed"
label-width=
"250"
>
<el-radio
v-model=
"formData.resourceVO.certificateSpeed"
:label=
"0"
disabled
>
{{
$t
(
'
快
'
)
}}
</el-radio>
<el-radio
v-model=
"formData.resourceVO.certificateSpeed"
:label=
"1"
disabled
>
{{
$t
(
'
慢
'
)
}}
</el-radio>
</el-form-item>
</div>
<div>
<el-form-item
:label=
"$t('合作不良记录登记')"
prop=
"badCooperationRecord"
label-width=
"250"
>
<el-input
v-model=
"formData.resourceVO.badCooperationRecord"
:placeholder=
"$t('请输入合作不良记录登记')"
show-word-limit
clearable
readonly
></el-input>
</el-form-item>
</div>
</el-card>
<div
v-if=
"formData.areaType==0"
>
<el-card
class=
"mt-10"
>
<div
class=
"card-header"
slot=
"header"
>
...
...
@@ -147,46 +187,7 @@
</el-table>
</el-card>
<el-card
class=
"mt-10"
>
<div
class=
"card-header"
slot=
"header"
>
<div
class=
"title"
>
{{$t('优质条件')}}
</div>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['1'])"
>
<el-form-item
:label=
"$t('船公司')"
prop=
"shipCompany"
label-width=
"250"
>
<suppliers-selector
v-model=
"formData.resourceVO.shipCompany"
company-type=
"9"
disabled
/>
</el-form-item>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['1','2','4','5','7'])"
>
<el-form-item
:label=
"$t('港口')"
prop=
"ports"
label-width=
"250"
>
<el-select
v-model=
"formData.resourceVO.ports"
filterable
multiple
clearable
disabled
>
<el-option
v-for=
"(item) in seaPort"
:key=
"item.id"
:label=
"$l(item, 'title')"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('港口优势条件')"
prop=
"portConditions"
label-width=
"250"
>
<dict-selector
v-model=
"formData.resourceVO.portConditions"
type=
"port_conditions"
/>
</el-form-item>
<el-button
style=
"margin-left: 30px;"
type=
"text"
v-hasPermi=
"['ecw:dock:create']"
@
click=
"portVisible=true"
>
{{$t('新增港口')}}
</el-button>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['10'])"
>
<el-form-item
:label=
"$t('航空公司')"
prop=
"airCompany"
label-width=
"250"
>
<suppliers-selector
v-model=
"formData.resourceVO.airCompany"
company-type=
"10"
disabled
/>
</el-form-item>
<el-form-item
:label=
"$t('航空公司优势条件')"
prop=
"airConditions"
label-width=
"250"
>
<dict-selector
v-model=
"formData.resourceVO.airConditions"
type=
"port_conditions"
disabled
/>
</el-form-item>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['3'])"
>
<el-form-item
:label=
"$t('出证速度')"
prop=
"certificateSpeed"
label-width=
"250"
>
<el-radio
v-model=
"formData.resourceVO.certificateSpeed"
:label=
"0"
disabled
>
{{$t('快')}}
</el-radio>
<el-radio
v-model=
"formData.resourceVO.certificateSpeed"
:label=
"1"
disabled
>
{{$t('慢')}}
</el-radio>
</el-form-item>
</div>
<div>
<el-form-item
:label=
"$t('合作不良记录登记')"
prop=
"badCooperationRecord"
label-width=
"250"
>
<el-input
v-model=
"formData.resourceVO.badCooperationRecord"
:placeholder=
"$t('请输入合作不良记录登记')"
show-word-limit
clearable
readonly
></el-input>
</el-form-item>
</div>
</el-card>
</div>
<div
v-if=
"formData.areaType==1"
>
...
...
src/views/ecw/supplier/edit.vue
View file @
aebd207d
...
...
@@ -108,6 +108,46 @@
<dict-selector
v-model=
"formData.priceAdvantage"
type=
"price_advantage"
/>
</el-form-item>
</div>
<el-card
class=
"mt-10"
v-if=
"formData.areaType==0"
>
<div
class=
"card-header"
slot=
"header"
>
<div
class=
"title"
>
{{
$t
(
'
优质条件
'
)
}}
</div>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['1'])"
>
<el-form-item
:label=
"$t('船公司')"
prop=
"shipCompany"
label-width=
"250"
>
<suppliers-selector
v-model=
"formData.resourceVO.shipCompany"
company-type=
"9"
:disabled=
"false"
/>
</el-form-item>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['1','2','4','5','7'])"
>
<el-form-item
:label=
"$t('港口')"
prop=
"ports"
label-width=
"250"
>
<el-select
v-model=
"formData.resourceVO.ports"
filterable
multiple
clearable
>
<el-option
v-for=
"(item) in seaPort"
:key=
"item.id"
:label=
"$l(item, 'title')"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('港口优势条件')"
prop=
"portConditions"
label-width=
"250"
>
<dict-selector
v-model=
"formData.resourceVO.portConditions"
type=
"port_conditions"
/>
</el-form-item>
<el-button
style=
"margin-left: 30px;"
type=
"text"
v-hasPermi=
"['ecw:dock:create']"
@
click=
"portVisible=true"
>
{{
$t
(
'
新增港口
'
)
}}
</el-button>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['10'])"
>
<el-form-item
:label=
"$t('航空公司')"
prop=
"airCompany"
label-width=
"250"
>
<suppliers-selector
v-model=
"formData.resourceVO.airCompany"
company-type=
"10"
:disabled=
"false"
/>
</el-form-item>
<el-form-item
:label=
"$t('航空公司优势条件')"
prop=
"airConditions"
label-width=
"250"
>
<dict-selector
v-model=
"formData.resourceVO.airConditions"
type=
"port_conditions"
/>
</el-form-item>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['3'])"
>
<el-form-item
:label=
"$t('出证速度')"
prop=
"certificateSpeed"
label-width=
"250"
>
<el-radio
v-model=
"formData.resourceVO.certificateSpeed"
:label=
"0"
>
{{
$t
(
'
快
'
)
}}
</el-radio>
<el-radio
v-model=
"formData.resourceVO.certificateSpeed"
:label=
"1"
>
{{
$t
(
'
慢
'
)
}}
</el-radio>
</el-form-item>
</div>
<div>
<el-form-item
:label=
"$t('合作不良记录登记')"
prop=
"badCooperationRecord"
label-width=
"250"
>
<el-input
v-model=
"formData.resourceVO.badCooperationRecord"
:placeholder=
"$t('请输入合作不良记录登记')"
show-word-limit
clearable
></el-input>
</el-form-item>
</div>
</el-card>
<div
v-if=
"formData.areaType==0"
>
<el-card
class=
"mt-10"
>
<div
class=
"card-header"
slot=
"header"
>
...
...
@@ -257,46 +297,7 @@
</el-table>
</el-card>
<el-card
class=
"mt-10"
>
<div
class=
"card-header"
slot=
"header"
>
<div
class=
"title"
>
{{$t('优质条件')}}
</div>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['1'])"
>
<el-form-item
:label=
"$t('船公司')"
prop=
"shipCompany"
label-width=
"250"
>
<suppliers-selector
v-model=
"formData.resourceVO.shipCompany"
company-type=
"9"
:disabled=
"false"
/>
</el-form-item>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['1','2','4','5','7'])"
>
<el-form-item
:label=
"$t('港口')"
prop=
"ports"
label-width=
"250"
>
<el-select
v-model=
"formData.resourceVO.ports"
filterable
multiple
clearable
>
<el-option
v-for=
"(item) in seaPort"
:key=
"item.id"
:label=
"$l(item, 'title')"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('港口优势条件')"
prop=
"portConditions"
label-width=
"250"
>
<dict-selector
v-model=
"formData.resourceVO.portConditions"
type=
"port_conditions"
/>
</el-form-item>
<el-button
style=
"margin-left: 30px;"
type=
"text"
v-hasPermi=
"['ecw:dock:create']"
@
click=
"portVisible=true"
>
{{$t('新增港口')}}
</el-button>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['10'])"
>
<el-form-item
:label=
"$t('航空公司')"
prop=
"airCompany"
label-width=
"250"
>
<suppliers-selector
v-model=
"formData.resourceVO.airCompany"
company-type=
"10"
:disabled=
"false"
/>
</el-form-item>
<el-form-item
:label=
"$t('航空公司优势条件')"
prop=
"airConditions"
label-width=
"250"
>
<dict-selector
v-model=
"formData.resourceVO.airConditions"
type=
"port_conditions"
/>
</el-form-item>
</div>
<div
v-if=
"typeBool(formData.companyTypeArr,['3'])"
>
<el-form-item
:label=
"$t('出证速度')"
prop=
"certificateSpeed"
label-width=
"250"
>
<el-radio
v-model=
"formData.resourceVO.certificateSpeed"
:label=
"0"
>
{{$t('快')}}
</el-radio>
<el-radio
v-model=
"formData.resourceVO.certificateSpeed"
:label=
"1"
>
{{$t('慢')}}
</el-radio>
</el-form-item>
</div>
<div>
<el-form-item
:label=
"$t('合作不良记录登记')"
prop=
"badCooperationRecord"
label-width=
"250"
>
<el-input
v-model=
"formData.resourceVO.badCooperationRecord"
:placeholder=
"$t('请输入合作不良记录登记')"
show-word-limit
clearable
></el-input>
</el-form-item>
</div>
</el-card>
<el-card
class=
"mt-10"
v-if=
"false"
>
<div
class=
"card-header"
slot=
"header"
>
...
...
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