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
85492f30
Commit
85492f30
authored
May 07, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
材料页面注释
parent
14630c97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
material.vue
src/pages/order/material.vue
+13
-8
No files found.
src/pages/order/material.vue
View file @
85492f30
<
template
>
<
template
>
<view
class=
"mtr-content"
>
<view
class=
"mtr-content"
>
<view
class=
"content-view"
>
<view
class=
"content-view"
>
<view
class=
"mtr-tab"
>
<!-- 材料列表 -->
<view
class=
"mtr-tab"
>
<u-table
align=
"center"
border-color=
"#FFFFFF"
color=
"#333333"
font-size=
"rpx"
:th-style=
"thStyle"
<u-table
align=
"center"
border-color=
"#FFFFFF"
color=
"#333333"
font-size=
"rpx"
:th-style=
"thStyle"
padding=
"0"
>
padding=
"0"
>
<u-tr
class=
"u-tr"
>
<u-tr
class=
"u-tr"
>
...
@@ -16,7 +17,8 @@
...
@@ -16,7 +17,8 @@
</u-td>
</u-td>
</u-tr>
</u-tr>
</u-table>
</u-table>
</view>
</view>
<!-- 其他 -->
<view
class=
"mtr-other"
>
<view
class=
"mtr-other"
>
<view
class=
"line-view"
></view>
<view
class=
"line-view"
></view>
<view
class=
"other-space"
>
<view
class=
"other-space"
>
...
@@ -48,7 +50,8 @@
...
@@ -48,7 +50,8 @@
<text>
{{
money
}}
元
</text>
<text>
{{
money
}}
元
</text>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 底部确定按钮 -->
<view
class=
"bottom-view"
>
<view
class=
"bottom-view"
>
<u-button
class=
"sure-button"
type=
"primary"
shape=
"circle"
@
click=
"handleSure"
:custom-style=
"buttonStyle"
>
<u-button
class=
"sure-button"
type=
"primary"
shape=
"circle"
@
click=
"handleSure"
:custom-style=
"buttonStyle"
>
确定
确定
...
@@ -61,8 +64,8 @@
...
@@ -61,8 +64,8 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
list
:
[],
list
:
[],
// 材料列表
other
:
[]
other
:
[]
,
// 其他列表
};
};
},
},
computed
:
{
computed
:
{
...
@@ -126,13 +129,15 @@
...
@@ -126,13 +129,15 @@
})
})
}
}
},
},
methods
:
{
methods
:
{
/* 其他添加新的 */
handleAdd
()
{
handleAdd
()
{
this
.
other
.
push
({
this
.
other
.
push
({
title
:
''
,
title
:
''
,
value
:
''
value
:
''
})
})
},
},
/* 其他删除某个 */
handleSubtract
(
index
)
{
handleSubtract
(
index
)
{
this
.
other
.
splice
(
index
,
1
)
this
.
other
.
splice
(
index
,
1
)
},
},
...
...
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