Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李俊赕
self-support
Commits
1355c526
Commit
1355c526
authored
Jun 29, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
备件单操作
parent
6281d5a9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
7 deletions
+22
-7
appliedPartsCell.vue
src/components/parts/appliedPartsCell.vue
+6
-0
partsDetail.vue
src/pages/mine/warehouse/partsDetail.vue
+12
-6
searchParts.vue
src/pages/mine/warehouse/searchParts.vue
+3
-1
detail.vue
src/pages/order/detail.vue
+1
-0
No files found.
src/components/parts/appliedPartsCell.vue
View file @
1355c526
...
...
@@ -72,6 +72,9 @@
'10'
:
''
,
'15'
:
'签收'
,
'20'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'100'
:
''
}
},
isHorizontal
()
{
...
...
@@ -83,6 +86,9 @@
'10'
:
''
,
'15'
:
'receiveParts'
,
'20'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'100'
:
''
}
},
buttonOperateType
()
{
...
...
src/pages/mine/warehouse/partsDetail.vue
View file @
1355c526
...
...
@@ -74,7 +74,10 @@
'1'
:
'取消申请'
,
'10'
:
''
,
'15'
:
'签收'
,
'20'
:
''
,
'20'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'100'
:
''
}
},
buttonText
()
{
...
...
@@ -146,6 +149,9 @@
'10'
:
''
,
'15'
:
'receiveParts'
,
'20'
:
''
,
'-2'
:
''
,
'-1'
:
''
,
'100'
:
''
}
},
buttonOperateType
()
{
...
...
@@ -159,7 +165,8 @@
'15'
:
'20'
,
'20'
:
''
,
'-2'
:
''
,
'-1'
:
''
'-1'
:
''
,
'100'
:
''
}
},
willStatus
()
{
...
...
@@ -180,10 +187,9 @@
this
.
$u
.
api
[
this
.
operateType
](
this
.
info
.
id
).
then
(
res
=>
{
var
type
=
'error'
var
message
=
res
.
message
if
(
res
.
code
===
200
)
{
if
(
res
.
data
==
true
)
{
this
.
info
.
status
=
this
.
willStatus
}
if
(
res
.
code
==
200
)
{
type
=
'success'
this
.
info
.
status
=
this
.
willStatus
}
else
{
console
.
log
(
res
.
message
)
}
...
...
src/pages/mine/warehouse/searchParts.vue
View file @
1355c526
...
...
@@ -116,6 +116,7 @@
var
type
=
'error'
var
message
=
res
.
message
if
(
res
.
code
===
200
)
{
type
=
'success'
for
(
var
item
of
this
.
partsList
)
{
if
(
item
.
id
==
partsId
)
{
item
.
status
=
willStatus
...
...
@@ -190,7 +191,8 @@
.content-item
{
padding
:
10rpx
30rpx
20rpx
30rpx
;
height
:
100%
;
overflow
:
auto
;
.empty-result
{
display
:
flex
;
flex-direction
:
column
;
...
...
src/pages/order/detail.vue
View file @
1355c526
...
...
@@ -908,6 +908,7 @@
var
type
=
'error'
var
message
=
res
.
message
if
(
res
.
code
===
200
)
{
type
=
'success'
for
(
var
item
of
this
.
partsList
)
{
if
(
item
.
id
==
partsId
)
{
item
.
status
=
willStatus
...
...
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