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
65f10d00
Commit
65f10d00
authored
Jul 23, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9c0074f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
5 deletions
+33
-5
outboundDetails.vue
src/components/assetsman/outboundDetails.vue
+33
-5
No files found.
src/components/assetsman/outboundDetails.vue
View file @
65f10d00
...
...
@@ -58,6 +58,7 @@
</el-form>
</div>
<div>
<el-button
v-if=
"tableData.ApplyStatus==1"
class=
'butoons'
type=
"primary"
plain
round
@
click=
"save"
>
保存
</el-button>
<el-button
v-if=
"tableData.ApplyStatus==1"
class=
'butoons'
type=
"primary"
round
@
click=
"See(2)"
>
通过
</el-button>
<el-button
v-if=
"tableData.ApplyStatus==1"
class=
'butoons'
type=
"danger"
round
@
click=
"See(3)"
>
拒绝
</el-button>
...
...
@@ -72,7 +73,13 @@
<vxe-table-column
field=
"OrderNo"
title=
"订单号"
width=
'300'
></vxe-table-column>
<vxe-table-column
field=
"GoodsName"
title=
"商品名称"
></vxe-table-column>
<vxe-table-column
field=
"Specification"
title=
"规则"
width=
'300'
></vxe-table-column>
<vxe-table-column
field=
"Number"
title=
"数量"
width=
'100'
></vxe-table-column>
<vxe-table-column
field=
"Number"
title=
"数量"
width=
'130'
>
<template
v-slot=
"
{ row }">
<span
v-if=
"tableData.ApplyStatus!=1"
>
{{
row
.
Number
}}
</span>
<el-input
v-if=
"tableData.ApplyStatus==1"
class=
"w100"
size=
"small"
type=
"number"
v-model=
"row.Number"
placeholder=
"请输入"
@
input=
'changeNum(row,$event)'
:min=
"1"
></el-input>
</
template
>
</vxe-table-column>
<vxe-table-column
field=
"Name"
title=
"出库状态"
width=
'180'
>
<
template
v-slot=
"{ row }"
>
<span
class=
"commonStyle hoverSpan1"
></span>
...
...
@@ -161,9 +168,31 @@ export default {
);
},
currentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
changeNum
(
row
,
val
){
if
(
val
==
''
||
val
==
0
){
//当输入 空和0 的时候做的处理
this
.
tableData
.
WarehouseOutGoodsList
.
forEach
(
x
=>
{
if
(
x
.
ID
==
row
.
ID
){
x
.
Number
=
1
}
});
}
},
save
(){
//修改 出库数量保存
console
.
log
(
this
.
tableData
)
this
.
apiJavaPost
(
"/api/WarehouseOut/UpdateOutGoods"
,
this
.
tableData
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
See
(
type
){
this
.
Updatemsg
.
ID
=
this
.
$route
.
query
.
ID
;
...
...
@@ -177,7 +206,6 @@ export default {
this
.
Error
(
'请填写理由'
);
return
}
console
.
log
(
this
.
Updatemsg
)
this
.
apiJavaPost
(
"/api/WarehouseOut/UpdateWarehouseOutApply"
,
this
.
Updatemsg
,
...
...
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