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
e5bf9ac3
authored
Sep 27, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bug
parent
bde12adc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
6 deletions
src/views/OrderTrack/goods.vue
src/views/User/login.vue
src/views/OrderTrack/goods.vue
View file @
e5bf9ac3
...
...
@@ -11,6 +11,8 @@
<el-form-item
label=
"订单状态"
prop=
"status"
>
<el-select
v-model=
"formInline.status"
placeholder=
"请选择"
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"待提审"
value=
"-2"
></el-option>
<el-option
label=
"待审核"
value=
"-1"
></el-option>
<el-option
label=
"进行中"
value=
"2"
></el-option>
<el-option
label=
"已完成"
value=
"4"
></el-option>
<el-option
label=
"已作废"
value=
"-3"
></el-option>
...
...
@@ -58,7 +60,16 @@
<a
:href=
"'/#/orderTrackGoodsDetail?purchase_id='+scope.row.purchase_id"
class=
"f-blue"
>
{{
scope
.
row
.
company_name
}}
</a>
</
template
>
</el-table-column>
<el-table-column
prop=
"status_val"
label=
"订单状态"
min-width=
"80"
></el-table-column>
<el-table-column
prop=
"status_val"
label=
"订单状态"
min-width=
"80"
>
<
template
slot-scope=
"scope"
>
<el-tag
type=
"primary"
v-if=
"scope.row.status_val == '待提审'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"warning"
v-else-if=
"scope.row.status_val == '待审核'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"info"
v-else-if=
"scope.row.status_val == '进行中'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"success"
v-else-if=
"scope.row.status_val == '已完成'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"danger"
v-else-if=
"scope.row.status_val == '已作废'"
disable-transitions
>
{{
scope
.
row
.
status_val
}}
</el-tag>
<el-tag
type=
"primary"
v-else
>
{{
scope
.
row
.
status_val
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
prop=
"pay_name"
label=
"对方付款方式"
min-width=
"100"
></el-table-column>
<el-table-column
prop=
"pay_status_val"
label=
"收款状态"
min-width=
"80"
>
<
template
slot-scope=
"scope"
>
...
...
src/views/User/login.vue
View file @
e5bf9ac3
...
...
@@ -168,7 +168,10 @@ export default {
if
(
res
.
code
===
0
)
{
window
.
location
.
href
=
res
.
data
.
wx_login_url
;
}
else
{
this
.
$message
(
res
.
msg
);
this
.
$message
({
message
:
res
.
msg
,
type
:
'warning'
});
}
})
}
else
{
...
...
@@ -180,15 +183,20 @@ export default {
}
}
else
if
(
res
.
code
===
102
)
{
this
.
errror_text
=
res
.
msg
;
//this.errorClass3 = true;
this
.
cp
=
true
;
this
.
updateCp
();
this
.
$message
(
res
.
msg
);
this
.
$message
({
message
:
res
.
msg
,
type
:
'warning'
});
}
else
{
this
.
errror_text
=
res
.
msg
;
this
.
cp
=
true
;
this
.
$message
(
res
.
msg
);
this
.
updateCp
();
this
.
$message
({
message
:
res
.
msg
,
type
:
'warning'
});
}
}).
catch
(
err
=>
{
loadingInstance
.
close
();
...
...
@@ -201,7 +209,8 @@ export default {
</
script
>
<
style
scoped
>
@import
"../../assets/css/login/index.min.css"
;
#app
::v-deep
{
#app
::v-deep
{
padding
:
0
!important
;
}
</
style
>
\ No newline at end of file
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