Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
87f012a7
Commit
87f012a7
authored
Apr 13, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9392f334
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
deliveryQuery.vue
src/components/empower/deliveryQuery.vue
+18
-14
No files found.
src/components/empower/deliveryQuery.vue
View file @
87f012a7
...
...
@@ -87,7 +87,7 @@
</div>
<div
class=
"searchInput"
style=
"width:250px;margin-right: 10px;"
>
<el-input
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
style=
"display:inline-block;width:225px;height:30px"
placeholder=
"请输入订单
id
"
placeholder=
"请输入订单
ID
"
v-model=
"msg.OrderId"
@
clear=
"msg.pageIndex=1,getList()"
size=
"small"
...
...
@@ -109,16 +109,17 @@
<el-table
:data=
"dataList"
border
style=
"width: 100%;margin-Top:10px"
v-loading=
"loading"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
:selectable=
"checkSelectable"
></el-table-column>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"60"
></el-table-column>
<el-table-column
prop=
"MaterialId"
label=
"耗材id"
width=
"80"
></el-table-column>
<el-table-column
prop=
"GoodsName"
label=
"商品名称"
></el-table-column>
<el-table-column
prop=
"Specification"
label=
"规格"
width=
"160"
></el-table-column>
<el-table-column
prop=
"MaterialId"
label=
"耗材ID"
width=
"80"
></el-table-column>
<el-table-column
prop=
"OrderNo"
label=
"订单号"
width=
"160"
></el-table-column>
<el-table-column
prop=
"CostMoney"
label=
"成本金额"
></el-table-column>
<el-table-column
prop=
"GoodsName"
label=
"商品名称"
width=
"200"
></el-table-column>
<el-table-column
prop=
"Specification"
label=
"规格"
width=
"160"
></el-table-column>
<el-table-column
prop=
"CostMoney"
label=
"成本金额"
width=
"80"
></el-table-column>
<el-table-column
prop=
"ProductCode"
label=
"货号"
></el-table-column>
<el-table-column
prop=
"WarehouseName"
label=
"仓库名称"
></el-table-column>
<el-table-column
prop=
"Number"
label=
"数量"
>
</el-table-column>
<el-table-column
prop=
"Number"
label=
"数量"
width=
"60"
>
</el-table-column>
<el-table-column
prop=
"StockOutDate"
label=
"出库日期"
></el-table-column>
<el-table-column
prop=
"StockInDate"
label=
"重新入库时间"
></el-table-column>
<el-table-column
prop=
"FinanceId"
label=
"财务单据"
></el-table-column>
<el-table-column
prop=
"StockInDate"
label=
"重新入库数量"
>
<template
slot-scope=
"scope"
>
<el-input
v-model=
"scope.row.InventoryNum"
type=
"number"
...
...
@@ -209,7 +210,7 @@
this
.
getList
();
},
getList
()
{
let
msg
=
this
.
msg
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
))
if
(
msg
.
OrderId
!=
''
){
msg
.
OrderId
=
Number
(
msg
.
OrderId
)
}
else
{
...
...
@@ -327,6 +328,7 @@
this
.
Success
(
res
.
data
.
data
.
Msg
);
let
show
=
false
if
(
data
.
ValidityId
>
0
){
this
.
selectList
[
index
].
list
.
map
(
x
=>
{
//判读有没有重复的扫码
if
(
x
.
ValidityId
==
data
.
ValidityId
){
show
=
true
;
...
...
@@ -337,6 +339,8 @@
this
.
Error
(
'重复扫码'
)
return
}
}
if
(
x
.
MaterialId
==
data
.
SuppliesId
){
//判断是否是同一个商品 规格
this
.
selectList
[
index
].
list
.
push
(
data
)
}
else
{
...
...
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