Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
assets
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
黄媛媛
assets
Commits
301ed530
Commit
301ed530
authored
Apr 01, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
99d035b2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
402 additions
and
14 deletions
+402
-14
SpotQuery.vue
src/components/Materialman/SpotQuery.vue
+40
-13
materielexpire.vue
src/components/assetsman/materielexpire.vue
+340
-0
outboundOperate.vue
src/components/assetsman/outboundOperate.vue
+16
-1
config.js
src/router/config.js
+6
-0
No files found.
src/components/Materialman/SpotQuery.vue
View file @
301ed530
...
@@ -38,6 +38,16 @@
...
@@ -38,6 +38,16 @@
</el-option>
</el-option>
</el-select>
</el-select>
</li>
</li>
<li>
<el-select
size=
"small"
filterable
clearable
v-model=
"msg.ExpiresDay"
placeholder=
"过期天数"
@
change=
"msg.pageIndex=1,getList()"
>
<el-option
v-for=
"item in daylist"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</li>
</ul>
</ul>
<vxe-table
stripe
style=
"margin-top:15px"
:loading=
"loading"
<vxe-table
stripe
style=
"margin-top:15px"
:loading=
"loading"
:data=
"tableData"
>
:data=
"tableData"
>
...
@@ -70,6 +80,11 @@
...
@@ -70,6 +80,11 @@
<span
v-else
>
{{
row
.
Number
}}
</span>
<span
v-else
>
{{
row
.
Number
}}
</span>
</
template
>
</
template
>
</vxe-table-column>
</vxe-table-column>
<vxe-table-column
field=
"Number"
title=
"到期数量"
>
<
template
v-slot=
"{ row }"
>
<span
class=
"underline"
>
{{
row
.
RecentExpiresNum
}}
</span>
</
template
>
</vxe-table-column>
<vxe-table-column
field=
"address"
title=
"操作"
>
<vxe-table-column
field=
"address"
title=
"操作"
>
<
template
v-slot=
"{ row }"
>
<
template
v-slot=
"{ row }"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"日志"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"日志"
placement=
"top"
>
...
@@ -171,7 +186,19 @@ export default {
...
@@ -171,7 +186,19 @@ export default {
pageSize
:
15
,
pageSize
:
15
,
WarehouseId
:
''
,
WarehouseId
:
''
,
SuppliesId
:
''
,
SuppliesId
:
''
,
ExpiresDay
:
90
,
},
},
daylist
:[
{
Id
:
10
,
Name
:
'过期天数10天'
},
{
Id
:
20
,
Name
:
'过期天数20天'
},
{
Id
:
30
,
Name
:
'过期天数30天'
},
{
Id
:
40
,
Name
:
'过期天数40天'
},
{
Id
:
50
,
Name
:
'过期天数50天'
},
{
Id
:
60
,
Name
:
'过期天数60天'
},
{
Id
:
70
,
Name
:
'过期天数70天'
},
{
Id
:
80
,
Name
:
'过期天数80天'
},
{
Id
:
90
,
Name
:
'过期天数90天'
},
],
addMsg
:{
addMsg
:{
Id
:
0
,
Id
:
0
,
Name
:
''
,
Name
:
''
,
...
...
src/components/assetsman/materielexpire.vue
0 → 100644
View file @
301ed530
This diff is collapsed.
Click to expand it.
src/components/assetsman/outboundOperate.vue
View file @
301ed530
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
<vxe-table-column
field=
"Units"
title=
"单位"
></vxe-table-column>
<vxe-table-column
field=
"Units"
title=
"单位"
></vxe-table-column>
<vxe-table-column
field=
"StockInNum"
title=
"入库单号"
></vxe-table-column>
<vxe-table-column
field=
"StockInNum"
title=
"入库单号"
></vxe-table-column>
<vxe-table-column
field=
"ExpirationDate"
title=
"有效期"
></vxe-table-column>
<vxe-table-column
field=
"StockInDate"
title=
"入库时间"
></vxe-table-column>
<vxe-table-column
field=
"StockInDate"
title=
"入库时间"
></vxe-table-column>
<vxe-table-column
field=
"UnitPrice"
title=
"价格"
></vxe-table-column>
<vxe-table-column
field=
"UnitPrice"
title=
"价格"
></vxe-table-column>
<vxe-table-column
title=
"操作"
>
<vxe-table-column
title=
"操作"
>
...
@@ -212,6 +213,20 @@
...
@@ -212,6 +213,20 @@
if
(
myData
){
if
(
myData
){
var
scanMsg
=
{};
var
scanMsg
=
{};
var
data2
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
tableData
));
var
data2
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
tableData
));
// 2021-4-1加的
let
goon
=
true
if
(
myData
.
ValidityId
>
0
&&
this
.
scanData
.
length
>
0
){
this
.
scanData
.
map
(
x
=>
{
if
(
x
.
ValidityId
==
myData
.
ValidityId
){
this
.
Error
(
"该商品重复扫码"
);
goon
=
false
return
}
})
}
if
(
goon
==
false
){
//如果有相同的id 就不执行下面的内容
return
}
this
.
orderNum
=
0
;
this
.
orderNum
=
0
;
let
isUpdate
=
false
let
isUpdate
=
false
for
(
let
i
=
0
;
i
<
data2
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
data2
.
length
;
i
++
)
{
...
@@ -230,6 +245,7 @@
...
@@ -230,6 +245,7 @@
scanMsg
.
SpecificationSort
=
x
.
NewSpecificationSort
;
scanMsg
.
SpecificationSort
=
x
.
NewSpecificationSort
;
scanMsg
.
GoodsId
=
x
.
NewGoodsId
;
scanMsg
.
GoodsId
=
x
.
NewGoodsId
;
scanMsg
.
GoodsName
=
x
.
NewGoodsName
;
scanMsg
.
GoodsName
=
x
.
NewGoodsName
;
scanMsg
.
ValidityId
=
myData
.
ValidityId
;
scanMsg
.
StockInId
=
myData
.
StockInId
;
scanMsg
.
StockInId
=
myData
.
StockInId
;
this
.
sureMsg
.
WarehouseOutGoodsDetailList
.
push
(
scanMsg
);
this
.
sureMsg
.
WarehouseOutGoodsDetailList
.
push
(
scanMsg
);
...
@@ -237,7 +253,6 @@
...
@@ -237,7 +253,6 @@
}
}
}
}
}
}
console
.
log
(
this
.
orderNum
>
0
&&
!
isUpdate
)
if
(
this
.
orderNum
>
0
&&
!
isUpdate
){
if
(
this
.
orderNum
>
0
&&
!
isUpdate
){
this
.
Error
(
"超过了出库数量"
);
this
.
Error
(
"超过了出库数量"
);
}
}
...
...
src/router/config.js
View file @
301ed530
...
@@ -166,6 +166,12 @@ export default {
...
@@ -166,6 +166,12 @@ export default {
name
:
'disposalDetails'
,
name
:
'disposalDetails'
,
component
:
resolve
=>
require
([
'@/components/assetsman/disposalDetails'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/assetsman/disposalDetails'
],
resolve
),
},
},
// 物料到期查询
{
path
:
'/materielexpire'
,
name
:
'materielexpire'
,
component
:
resolve
=>
require
([
'@/components/assetsman/materielexpire'
],
resolve
),
},
// 资产折旧报表
// 资产折旧报表
{
{
...
...
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