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
b3d8be6b
Commit
b3d8be6b
authored
Aug 19, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 物料-异常单处理
parent
a7288379
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
+16
-6
XhParts.vue
src/components/createCom/XhParts.vue
+1
-0
index.vue
src/components/order/index.vue
+8
-3
order.vue
src/pages/index/order.vue
+6
-2
complete.vue
src/pages/order/complete.vue
+1
-1
No files found.
src/components/createCom/XhParts.vue
View file @
b3d8be6b
...
...
@@ -91,6 +91,7 @@ export default {
methods
:
{
getWorkOrderParts
()
{
// this.lists = JSON.parse(this.dataValue) || []
console
.
log
(
"this.dataValue"
,
this
.
dataValue
)
this
.
lists
=
this
.
dataValue
?
JSON
.
parse
(
this
.
dataValue
)
:
[]
},
partsChange
(
val
,
index
)
{
...
...
src/components/order/index.vue
View file @
b3d8be6b
...
...
@@ -40,9 +40,14 @@
<view
class=
"reason-view"
v-if=
"showReason"
>
<view
class=
"reason-title"
><text>
未通过原因:
</text></view>
<view
class=
"reason-text"
><text
v-for=
"(item, index) in orderData.auditResults"
:key=
"index"
>
{{
>
<text
v-for=
"(item, index) in orderData.partAuditResults"
:key=
"index"
>
{{
item
}}
</text></view
}}
</text>
<text
v-for=
"(item, index) in orderData.auditResults"
:key=
"index"
>
{{
item
}}
</text>
</view
>
</view>
<view
class=
"bottom-view"
>
...
...
@@ -319,7 +324,7 @@ export default {
return
3
}
else
if
(
this
.
orderData
.
orderStatus
==
85
||
this
.
orderData
.
orderStatus
==
87
||
this
.
orderData
.
orderStatus
==
87
||
this
.
orderData
.
orderStatus
==
88
)
{
return
4
...
...
src/pages/index/order.vue
View file @
b3d8be6b
...
...
@@ -304,7 +304,11 @@ export default {
handleClickCellButton
(
item
,
type
)
{
if
(
type
==
'exception'
)
{
this
.
$u
.
api
.
workerDealWithError
(
item
.
orderId
).
then
(()
=>
{})
}
}
let
partAuditResults
=
item
.
partAuditResults
?
[
'orderSpareParts'
]
:
[]
let
auditResults
=
Object
.
keys
(
item
.
auditResults
)
||
[]
auditResults
=
auditResults
.
concat
(
partAuditResults
)
// 去完工
uni
.
navigateTo
({
url
:
...
...
@@ -325,7 +329,7 @@ export default {
'&brandId='
+
item
.
lianbaoBrandId
+
'&auditResults='
+
(
item
.
auditResults
?
Object
.
keys
(
item
.
auditResults
)
.
join
()
:
''
),
(
auditResults
?
auditResults
.
join
()
:
''
),
})
},
handleClick
(
item
,
type
,
showCountTime
)
{
...
...
src/pages/order/complete.vue
View file @
b3d8be6b
...
...
@@ -250,7 +250,7 @@
:itemIndex=
"itemIndex"
:item=
"item"
:value=
"form[item.fieldsName] || ''"
:disabled=
"
exception ||
readOnly"
:disabled=
"readOnly"
@
value-change=
"fieldValueChange"
>
</xh-parts>
...
...
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