Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
Project
Project
Details
Activity
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
godwithdh
WX_h5
Commits
9c26327f
Commit
9c26327f
authored
Feb 29, 2020
by
张锡奇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://47.110.145.204:2222/godwithdh/wx_h5
parents
8f2a697b
e1ee5b93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
64 deletions
+74
-64
index.vue
src/view/tiip/receive/index.vue
+74
-64
No files found.
src/view/tiip/receive/index.vue
View file @
9c26327f
...
...
@@ -13,26 +13,35 @@
height: 200px;
overflow-y: scroll;
height: calc(100vh - 160px);
>tr{
height:30px;
&.user{
background:#fff;
>td{
color:#5E9AFE;
text-align: left;
padding-left:20px;
>div{
background: #fff;
border-radius: 5px;
margin: 5px;
box-shadow: 0 1px 3px #bababa;
overflow: hidden;
>tr{
&.user{
background:#fff;
>td{
color:#5E9AFE;
text-align: left;
padding: 6px 15px;
}
}
}
&.addr{
>td{
color:#068FCA;
text-align: left;
padding-left:20px;
&.addr{
background:#eef4fe;
>td{
color:#068FCA;
text-align: left;
padding: 4px 20px;
}
}
&.num{
background:#fff;
>td{
padding:4px 0;
}
}
}
&.num{
height:35px;
background:#fff;
}
}
}
...
...
@@ -73,52 +82,53 @@
</thead>
<tbody>
<template
v-for=
"(v,k) in list"
>
<tr
class=
"user"
:key=
"k+'_user'"
>
<td
@
click=
"toDetail(v.sProviderName)"
style=
"text-decoration: underline;"
>
{{
v
.
sProviderName
}}
</td>
<td/>
<td/>
</tr>
<tr
class=
"addr"
:key=
"k+'_addr1'"
>
<td
colspan=
"5"
>
期初库存
</td>
</tr>
<tr
class=
"num"
:key=
"k+'_num1'"
>
<td></td>
<td>
{{
v
.
nOldPieceQty
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nOldLengthM
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nOldLengthYD
||
0
}}
</td>
<td>
{{
v
.
nOldWeight
||
0
}}
</td>
</tr>
<tr
class=
"addr"
:key=
"k+'_addr2'"
>
<td
colspan=
"5"
>
本期入库
</td>
</tr>
<tr
class=
"num"
:key=
"k+'_num2'"
>
<td></td>
<td>
{{
v
.
nInPieceQty
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nInLengthM
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nInLengthYD
||
0
}}
</td>
<td>
{{
v
.
nInWeight
||
0
}}
</td>
</tr>
<tr
class=
"addr"
:key=
"k+'_addr3'"
>
<td
colspan=
"5"
>
本期出库
</td>
</tr>
<tr
class=
"num"
:key=
"k+'_num3'"
>
<td></td>
<td>
{{
v
.
nOutPieceQty
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nOutLengthM
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nOutLengthYD
||
0
}}
</td>
<td>
{{
v
.
nOutWeight
||
0
}}
</td>
</tr>
<tr
class=
"addr"
:key=
"k+'_addr4'"
>
<td
colspan=
"5"
>
本期库存
</td>
</tr>
<tr
class=
"num"
:key=
"k+'_num4'"
>
<td></td>
<td>
{{
v
.
nStockPieceQty
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nStockLengthM
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nStockLengthYD
||
0
}}
</td>
<td>
{{
v
.
nStockWeight
||
0
}}
</td>
</tr>
<tr
:key=
"k+'_5'"
style=
"height:10px;background:transparent;"
/>
<div
:key=
"k"
>
<tr
class=
"user"
>
<td
@
click=
"toDetail(v.sProviderName)"
style=
"text-decoration: underline;"
>
{{
v
.
sProviderName
}}
</td>
<td/>
<td/>
</tr>
<tr
class=
"addr"
>
<td
colspan=
"5"
>
期初库存
</td>
</tr>
<tr
class=
"num"
>
<td></td>
<td>
{{
v
.
nOldPieceQty
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nOldLengthM
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nOldLengthYD
||
0
}}
</td>
<td>
{{
v
.
nOldWeight
||
0
}}
</td>
</tr>
<tr
class=
"addr"
>
<td
colspan=
"5"
>
本期入库
</td>
</tr>
<tr
class=
"num"
>
<td></td>
<td>
{{
v
.
nInPieceQty
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nInLengthM
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nInLengthYD
||
0
}}
</td>
<td>
{{
v
.
nInWeight
||
0
}}
</td>
</tr>
<tr
class=
"addr"
>
<td
colspan=
"5"
>
本期出库
</td>
</tr>
<tr
class=
"num"
>
<td></td>
<td>
{{
v
.
nOutPieceQty
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nOutLengthM
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nOutLengthYD
||
0
}}
</td>
<td>
{{
v
.
nOutWeight
||
0
}}
</td>
</tr>
<tr
class=
"addr"
>
<td
colspan=
"5"
>
本期库存
</td>
</tr>
<tr
class=
"num"
>
<td></td>
<td>
{{
v
.
nStockPieceQty
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nStockLengthM
||
0
}}
</td>
<td
style=
"color:#64B18B;"
>
{{
v
.
nStockLengthYD
||
0
}}
</td>
<td>
{{
v
.
nStockWeight
||
0
}}
</td>
</tr>
</div>
</
template
>
</tbody>
</table>
...
...
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