Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3040b164
authored
Jul 04, 2025
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
style: 优化代码格式,调整条件判断和空格,提升可读性
parent
c676a7fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
src/views/OrderTrack/goodsDetail.vue
src/views/OrderTrack/goodsDetail.vue
View file @
3040b164
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<el-table-column
prop=
"contractSn"
label=
"合同编号"
width=
"156"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"contractSn"
label=
"合同编号"
width=
"156"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
label=
"合同附件"
min-width=
"100"
>
<el-table-column
label=
"合同附件"
min-width=
"100"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-link
v-if=
"scope.row.contractFileUrl
!=''"
:href=
" scope.row.contractFileUrl
"
target=
"_blank"
>
查看
</el-link>
<el-link
v-if=
"scope.row.contractFileUrl
!= ''"
:href=
"scope.row.contractFileUrl
"
target=
"_blank"
>
查看
</el-link>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"contractBuildTime"
label=
"生成时间"
width=
"160"
></el-table-column>
<el-table-column
prop=
"contractBuildTime"
label=
"生成时间"
width=
"160"
></el-table-column>
...
@@ -70,10 +70,10 @@
...
@@ -70,10 +70,10 @@
<el-button
v-if=
"scope.row.contractFileUrl"
type=
"primary"
@
click=
"delContract(scope.row)"
>
<el-button
v-if=
"scope.row.contractFileUrl"
type=
"primary"
@
click=
"delContract(scope.row)"
>
<span>
删除
</span>
<span>
删除
</span>
</el-button>
</el-button>
<el-upload
v-else-if=
"scope.row.languageType
=='中文'"
:headers=
"
{ Authorization: 'Bearer ' + token }" :data="{supplier_id:supplier_id,contract_id:scope.row.contractId,type:'upload'
}" :action="uploadUrl" :on-success="handleUploadSuccess">
<el-upload
v-else-if=
"scope.row.languageType
== '中文'"
:headers=
"
{ Authorization: 'Bearer ' + token }" :data="{ supplier_id: supplier_id, contract_id: scope.row.contractId, type: 'upload'
}" :action="uploadUrl" :on-success="handleUploadSuccess">
<el-button
type=
"primary"
>
上传PI
</el-button>
<el-button
type=
"primary"
>
上传PI
</el-button>
</el-upload>
</el-upload>
<el-upload
v-else-if=
"scope.row.languageType
=='英文'"
:headers=
"
{ Authorization: 'Bearer ' + token }" :data="{supplier_id:supplier_id,contract_id:scope.row.contractId,type:'upload'
}" :action="uploadUrl" :on-success="handleUploadSuccess">
<el-upload
v-else-if=
"scope.row.languageType
== '英文'"
:headers=
"
{ Authorization: 'Bearer ' + token }" :data="{ supplier_id: supplier_id, contract_id: scope.row.contractId, type: 'upload'
}" :action="uploadUrl" :on-success="handleUploadSuccess">
<el-button
type=
"primary"
>
上传合同
</el-button>
<el-button
type=
"primary"
>
上传合同
</el-button>
</el-upload>
</el-upload>
</
template
>
</
template
>
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
<el-button
v-if=
"scope.row.contractFileUrl"
type=
"primary"
@
click=
"delContract(scope.row)"
>
<el-button
v-if=
"scope.row.contractFileUrl"
type=
"primary"
@
click=
"delContract(scope.row)"
>
<span>
删除
</span>
<span>
删除
</span>
</el-button>
</el-button>
<el-upload
v-else-if=
"scope.row.languageType
=='中文'"
:headers=
"
{ Authorization: 'Bearer ' + token }" :data="{supplier_id:supplier_id,contract_id:scope.row.contractId,type:'upload'
}" :action="uploadUrl" :on-success="handleUploadSuccess">
<el-upload
v-else-if=
"scope.row.languageType
== '中文'"
:headers=
"
{ Authorization: 'Bearer ' + token }" :data="{ supplier_id: supplier_id, contract_id: scope.row.contractId, type: 'upload'
}" :action="uploadUrl" :on-success="handleUploadSuccess">
<el-button
type=
"primary"
>
上传合同
</el-button>
<el-button
type=
"primary"
>
上传合同
</el-button>
</el-upload>
</el-upload>
<el-button
type=
"primary"
>
签署合同
</el-button>
<el-button
type=
"primary"
>
签署合同
</el-button>
...
@@ -108,15 +108,15 @@
...
@@ -108,15 +108,15 @@
</el-table>
</el-table>
</div>
</div>
</div>
</div>
<Menu/>
<Menu
/>
</section>
</section>
</template>
</template>
<
script
>
<
script
>
import
Vue
from
'vue'
;
import
Vue
from
'vue'
;
import
Tool
from
'../../tool'
import
Tool
from
'../../tool'
import
Menu
from
"@/components/menu.vue"
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Col
,
Message
,
Pagination
,
Row
,
Table
,
TableColumn
,
Select
,
Option
,
Link
,
Upload
,
Tooltip
}
from
'element-ui'
;
import
{
Col
,
Message
,
Pagination
,
Row
,
Table
,
TableColumn
,
Select
,
Option
,
Link
,
Upload
,
Tooltip
}
from
'element-ui'
;
import
{
NODE_ENVS
}
from
"../../ajax"
;
import
{
NODE_ENVS
}
from
"../../ajax"
;
Vue
.
prototype
.
$message
=
Message
;
Vue
.
prototype
.
$message
=
Message
;
Vue
.
use
(
Pagination
);
Vue
.
use
(
Pagination
);
...
...
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