Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-purchase
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5a61cad5
authored
May 25, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
08a2f7f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
20 deletions
src/views/DeliverList/deliverAdd.vue
src/views/DeliverList/deliverDetail.vue
src/views/DeliverList/deliverAdd.vue
View file @
5a61cad
...
...
@@ -61,17 +61,14 @@
<
/div
>
<
/GLTable
>
<
/el-form
>
<
/div
>
<
/template
>
<
span
slot
=
"footer"
class
=
"dialog-footer"
>
<
el
-
button
size
=
"small"
@
click
=
"dialogShow = false"
>
关闭
<
/el-button
>
<
el
-
button
type
=
"primary"
size
=
"small"
@
click
=
"handleSave"
>
保存入库
<
/el-button
>
<
/span
>
<
/GLDialog
>
<
/template
>
<
script
>
import
BigNumber
from
'bignumber.js'
import
*
as
dayjs
from
'dayjs'
...
...
@@ -287,7 +284,6 @@ export default {
}
}
<
/script
>
<
style
lang
=
"scss"
scoped
>
.
detail
-
info
{
display
:
flex
;
...
...
@@ -304,13 +300,6 @@ export default {
color
:
#
5850
ff
;
cursor
:
pointer
;
}
.
lookNumber
{
font
-
size
:
14
px
;
color
:
#
5850
ff
;
cursor
:
pointer
;
margin
-
left
:
8
px
;
}
}
.
table
-
wrap
{
border
:
1
px
solid
#
e5e5e5
;
...
...
@@ -325,9 +314,5 @@ export default {
/deep/
td
.
el
-
table__cell
{
height
:
64
px
;
}
.
message
{
font
-
size
:
14
px
;
color
:
#
666666
;
}
}
<
/style
>
src/views/DeliverList/deliverDetail.vue
View file @
5a61cad
...
...
@@ -24,21 +24,21 @@
<div>
发货数量:
<span>
{{
membraneTypeList
.
includes
(
item
.
goodsType
)
?
`${item.purchaseNumber
}
卷`
:
`${item.purchaseNumber
}
件`
}}
<
/span
>
<
span
class
=
"lookNumber"
@
click
=
"lookNumber(item.deliveryCardList)"
v
-
if
=
"item.deliveryCardList
&&
item.deliveryCardList.length > 0"
>
查看卡号
<
/span
>
<
span
class
=
"lookNumber"
@
click
=
"lookNumber(item.deliveryCardList)"
v
-
if
=
"item.deliveryCardList
&&
item.deliveryCardList.length > 0"
>
查看卡号
<
/span
>
<
/div
>
<
div
>
可用库存数量:
<
span
>
{{
item
.
stockNum
}}
{{
membraneTypeList
.
includes
(
item
.
goodsType
)
?
`米`
:
`件`
}}
<
/span
>
<
/div
>
<
/div
>
<
el
-
form
ref
=
"addForm"
:
model
=
"item"
size
=
"small"
v
-
if
=
"item.deliveryCardList
===
null"
>
<
el
-
form
ref
=
"addForm"
:
model
=
"item"
size
=
"small"
v
-
if
=
"item.deliveryCardList
===
null"
>
<
GLTable
:
tableData
=
"item.goodsWarehousingList"
:
noDataImg
=
"url"
:
tableParams
=
"tableParams"
:
hasPage
=
"false"
>
<
template
slot
=
"increaseStockNum"
slot
-
scope
=
"scope"
>
<
span
>
{{
membraneTypeList
.
includes
(
scope
.
scope
.
goodsType
)
?
`${scope.scope.increaseStockNum
}
米`
:
`${scope.scope.increaseStockNum
}
件`
}}
<
/span
>
<
/template
>
<
/GLTable
>
<
/el-form
>
<
div
v
-
else
class
=
"message"
>
<
div
v
-
else
class
=
"message"
>
已自动入库至商户的权益卡管理中,可前往“库存管理
-
权益卡管理”中查询
<
/div
>
<
/div
>
...
...
@@ -135,8 +135,8 @@ export default {
}
}
)
}
,
lookNumber
(
data
){
this
.
innerVisible
=
true
lookNumber
(
data
)
{
this
.
innerVisible
=
true
this
.
tableData
=
data
}
}
...
...
@@ -171,4 +171,10 @@ export default {
position
:
static
;
}
}
.
lookNumber
{
font
-
size
:
14
px
;
color
:
#
5850
ff
;
cursor
:
pointer
;
margin
-
left
:
8
px
;
}
<
/style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment