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
aededed5
Commit
aededed5
authored
May 13, 2021
by
李超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
type:update
scope:self body:显示切换
parent
0019c1fa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
14 deletions
+13
-14
XhServiceMore.vue
src/components/createCom/XhServiceMore.vue
+2
-2
material.vue
src/pages/order/material.vue
+11
-12
No files found.
src/components/createCom/XhServiceMore.vue
View file @
aededed5
...
...
@@ -41,7 +41,7 @@
return
process
.
uniEnv
.
qn_base_url
+
'mixing.png'
},
arrowText
()
{
return
false
?
'已选择'
:
'请选择'
return
this
.
dataValue
&&
this
.
dataValue
.
length
>
0
?
'已选择'
:
'请选择'
}
},
watch
:
{},
...
...
src/pages/order/material.vue
View file @
aededed5
...
...
@@ -58,6 +58,7 @@
确定
</u-button>
</view>
<u-toast
ref=
"uToast"
/>
</view>
</
template
>
...
...
@@ -139,15 +140,6 @@
self
.
formatServiceMoreList
(
data
)
}
});
/*
// 测试数据
var item = {matName: '碳纤维',
matUnit: '米',
freeLength: 4,
unitAmt: '2',
useLength: 6}
this.list = [{...item}, {...item}, {...item}, {...item}]
*/
},
created
()
{
},
...
...
@@ -163,8 +155,6 @@
}
self
.
formatServiceMoreList
(
res
.
data
)
})
// let testData = [{"freeLength":30,"priceTypeName":"","priceType":"01","lastModifiedWhen":"2021-05-11 11:10:27","matNo":"MAT1594085500303","createdWhen":"2021-05-11 11:10:27","extraAmt":0,"matName":"φ32镀锌管","studErp":"","isDel":"N","orderNo":"D20210424296591GQF","createdByName":"李小平","matUnit":"米","useLength":0,"orderMaterialId":"32BDDH67P5BBJGBKQBVXYCoJAA","lastModifiedByName":"李小平","unitAmt":0,"otherExplain":"","matType":"01"},{"freeLength":1,"priceTypeName":"","priceType":"01","lastModifiedWhen":"2021-05-11 11:10:27","matNo":"MAT1594714122500","createdWhen":"2021-05-11 11:10:27","extraAmt":0,"matName":"无标准电表箱","studErp":"","isDel":"N","orderNo":"D20210424296591GQF","createdByName":"李小平","matUnit":"个","useLength":0,"orderMaterialId":"6GXHJEJIZ5FZ7oFESHB26EAYWY","lastModifiedByName":"李小平","unitAmt":0,"otherExplain":"","matType":"01"}]
// self.formatServiceMoreList(testData)
},
formatServiceMoreList
(
materialCraftsData
){
let
self
=
this
...
...
@@ -202,6 +192,15 @@
this
.
other
.
splice
(
index
,
1
)
},
handleSure
()
{
this
.
other
.
forEach
(
item
=>
{
if
(
!
item
.
otherExplain
){
this
.
$refs
.
uToast
.
show
({
title
:
'请输入其他项说明'
,
type
:
'warning'
})
return
}
})
let
pages
=
getCurrentPages
();
let
prevPage
=
pages
[
pages
.
length
-
2
];
//上一个页面
let
data
=
{}
...
...
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