Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_pda_Web
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
胡宝山
template_pda_Web
Commits
5130ca7e
Commit
5130ca7e
authored
Aug 11, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
4aec84a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
427 additions
and
2 deletions
+427
-2
dealWithStorage.vue
src/views/setup/dealWithStorage.vue
+0
-2
inventory.vue
src/views/setup/inventory.vue
+335
-0
materialInventory.vue
src/views/setup/materialInventory.vue
+92
-0
No files found.
src/views/setup/dealWithStorage.vue
View file @
5130ca7e
...
...
@@ -186,8 +186,6 @@ export default {
/**
* 1.判断储存的list是不是为空
* **/
// this.storeList
// this.tableList
for
(
let
i
=
0
;
i
<
this
.
tableList
.
length
;
i
++
)
{
const
tableObj
=
this
.
tableList
[
i
]
// 1. 匹配成功
...
...
src/views/setup/inventory.vue
0 → 100644
View file @
5130ca7e
<
template
>
<div
class=
"enterBound"
>
<div
class=
"search"
>
<el-form
ref=
"queryForm"
class=
"formClass"
:model=
"queryForm"
:rules=
"rules"
label-width=
"80px"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"orderSn"
prop=
"orderSn"
>
<template>
<span>
{{
queryForm
.
orderSn
||
'-'
}}
</span>
</
template
>
</el-form-item>
<el-form-item
label=
"盘点总数"
prop=
"count"
>
<
template
>
<span>
{{
queryForm
.
count
||
'-'
}}
</span>
</
template
>
</el-form-item>
<el-form-item
label=
"已完成数"
prop=
"countEnd"
>
<
template
>
<span>
{{
queryForm
.
countEnd
||
'-'
}}
</span>
</
template
>
</el-form-item>
<el-form-item
label=
"pallet"
prop=
"pallet"
>
<el-input
v-model=
"queryForm.pallet"
clearable
placeholder=
"请输入pallet"
style=
"width: 200px"
/>
</el-form-item>
<el-form-item
label=
"value"
prop=
"value"
>
<el-input
v-model=
"queryForm.value"
clearable
placeholder=
"请输入value"
style=
"width: 200px"
/>
</el-form-item>
<div
class=
"buttonRegion"
>
<el-button
class=
"button_rowBtn"
type=
"primary"
@
click=
"handleView"
>
查看
</el-button>
<el-button
style=
"float: right"
class=
"button_rowBtn"
type=
"primary"
@
click=
"handleDel"
>
删除
</el-button>
</div>
</el-form>
</div>
<el-dialog
class=
"pd"
:title=
"title"
:visible
.
sync=
"open"
width=
"80%"
append-to-body
>
<el-table
v-loading=
"loading"
border
:data=
"queryPd.PdList"
:row-class-name=
"rowClassName"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
v-if=
"false"
label=
"orderId"
prop=
"orderId"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
orderId
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"custCode"
prop=
"custCode"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
custCode
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"packingList"
prop=
"packingList"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
packingList
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"quantity"
prop=
"quantity"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
quantity
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"orderCode"
prop=
"orderCode"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderCode
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"subCode"
prop=
"subCode"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
subCode
||
'-'
}}
</
template
>
</el-table-column>
</el-table>
<pagination
class=
"pagination"
v-show=
"Pdtotal>0"
:total=
"Pdtotal"
:page
.
sync=
"queryPd.PdList.page"
:limit
.
sync=
"queryPd.PdList.rows"
@
pagination=
"handleView"
/>
</el-dialog>
<el-dialog
class=
"pdDel"
:title=
"title"
:visible
.
sync=
"openDel"
width=
"1300px"
append-to-body
>
<div
class=
"top"
>
<div
class=
"oneButtion"
>
<el-button
type=
"primary"
@
click=
"handleButton"
>
<div
class=
"buttionText"
>
<span>
AAAA
</span>
</div>
</el-button>
<el-button
type=
"primary"
@
click=
"handleButton"
>
<div
class=
"buttionText"
>
<span>
BBBB
</span>
</div>
</el-button>
<el-button
type=
"primary"
@
click=
"handleButton"
>
<div
class=
"buttionText"
>
<span>
CCCC
</span>
</div>
</el-button>
</div>
</div>
<br>
<!-- 确认删除按钮 -->
<div
class=
"clearRegion"
>
<el-button
class=
"button_rowBtn"
type=
"warning"
>
删除
</el-button>
</div>
<br>
<el-table
v-loading=
"loading"
class=
"queryTable"
border
:data=
"queryPdDel.PdDelList"
:row-class-name=
"rowClassName"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"55"
align=
"center"
/>
<el-table-column
v-if=
"false"
label=
"orderId"
prop=
"orderId"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
orderId
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"custCode"
prop=
"custCode"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
custCode
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"cusrAbbr"
prop=
"cusrAbbr"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
cusrAbbr
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"dueDate"
prop=
"dueDate"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
dueDate
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"packingList"
prop=
"packingList"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
packingList
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"currency"
prop=
"currency"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
currency
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"dest"
prop=
"dest"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
dest
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"quantity"
prop=
"quantity"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
quantity
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"amount"
prop=
"amount"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
amount
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"newWeight"
prop=
"newWeight"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
newWeight
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"crossWeight"
prop=
"crossWeight"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
crossWeight
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"m3"
prop=
"m3"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
m3
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"orderCode"
prop=
"orderCode"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderCode
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"orderListId"
prop=
"orderListId"
width=
"100"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderListId
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"payTerms"
prop=
"payTerms"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
payTerms
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"shipment"
prop=
"shipment"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
shipment
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"subCode"
prop=
"subCode"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
subCode
||
'-'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"status"
prop=
"status"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
status
||
'-'
}}
</
template
>
</el-table-column>
</el-table>
<pagination
v-show=
"Pdtotal>0"
class=
"page"
:total=
"Pdtotal"
:page
.
sync=
"queryPd.PdList.page"
:limit
.
sync=
"queryPd.PdList.rows"
@
pagination=
"handleView"
/>
</el-dialog>
</div>
</template>
<
script
>
export
default
{
name
:
'Inventory'
,
data
()
{
return
{
loading
:
false
,
queryPd
:
{
page
:
1
,
rows
:
10
,
PdList
:
[{
orderId
:
'123'
,
custCode
:
'20240809'
,
packingList
:
'41565464as'
,
orderCode
:
'20240809'
,
subCode
:
1
,
quantity
:
5
}]
},
queryPdDel
:
{
page
:
1
,
rows
:
10
,
PdDelList
:
[{
orderId
:
'123'
,
cusrAbbr
:
'16555XX'
,
dueDate
:
'2024/8/11'
,
custCode
:
'20240809'
,
packingList
:
'41565464as'
,
orderCode
:
'20240809'
,
subCode
:
1
,
quantity
:
5
}]
},
Pdtotal
:
1
,
open
:
false
,
openDel
:
false
,
title
:
''
,
queryForm
:
{
pallet
:
''
,
value
:
''
,
orderSn
:
'1263xxxxxxx'
,
countEnd
:
'80'
,
count
:
'100'
},
// 表单校验
rules
:
{
}
}
},
created
()
{
//
},
mounted
()
{
},
methods
:
{
handleView
(
row
)
{
if
(
row
.
businessId
!==
undefined
&&
row
.
businessId
!==
''
&&
row
.
businessId
!==
null
)
{
this
.
PdId
=
row
.
businessId
}
// this.queryPd.PdList = []
// const queryParams = {
// businessId: this.PdId,
// page: this.queryPd.page,
// rows: this.queryPd.rows
// }
// listWcpOrderPd(queryParams).then(response => {
// this.queryPd.PdList = response.data.records
// this.Pdtotal = response.data.total
// })
this
.
title
=
'查看'
this
.
open
=
true
},
handleDel
(
row
)
{
this
.
title
=
'删除'
this
.
openDel
=
true
},
rowClassName
(
row
)
{
const
list
=
[]
list
.
push
(
row
)
return
list
[
0
].
row
.
status
===
'1'
?
'orange-row'
:
'12'
},
handleButton
()
{}
}
}
</
script
>
<
style
scoped
>
.pagination
{
width
:
100px
;
}
.top
{
position
:
relative
;
left
:
50px
;
width
:
250px
;
}
.clearRegion
{
position
:
relative
;
left
:
100px
;
width
:
150px
;
}
.queryTable
{
position
:
relative
;
/*top: 30px;*/
width
:
auto
;
}
.page
{
position
:
relative
;
bottom
:
initial
;
}
.buttonRegion
{
margin-top
:
20px
;
justify-content
:
space-between
}
.button_rowBtn
{
font-size
:
17px
;
width
:
120px
;
}
</
style
>
src/views/setup/materialInventory.vue
0 → 100644
View file @
5130ca7e
<
template
>
<div
class=
"TopTable"
>
<div
class=
"Table"
>
<el-table
:data=
"tableList"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"50"
/>
<el-table-column
label=
"orderSn"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
orderSn
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"人员"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
user
||
'-'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<span
style=
"color: #46BCF3;cursor: pointer"
@
click=
"handleDispose(scope.row)"
>
盘点
</span>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
</template>
<
script
>
export
default
{
name
:
'MaterialInventory'
,
data
()
{
return
{
loading
:
false
,
total
:
0
,
queryparams
:
{
page
:
1
,
rows
:
10
,
ptype
:
''
,
dealStatus
:
'0'
},
// 选中的下坐表
actionIndex
:
null
,
// 标签集合
tabList
:
[
{
type
:
null
,
number
:
null
},
{
type
:
null
,
number
:
null
},
{
type
:
null
,
number
:
null
},
{
type
:
null
,
number
:
null
},
{
type
:
null
,
number
:
null
}
],
// 对应标签下的列表数据
tableList
:
[{
orderSn
:
'20240809'
,
user
:
'李四'
}]
}
},
created
()
{
// this.getTabList()
},
methods
:
{
// 处理
handleDispose
(
item
)
{
this
.
$router
.
push
({
path
:
'/setup/inventory'
,
query
:
{
businessId
:
item
.
businessId
}
})
}
}
}
</
script
>
<
style
scoped
>
.Table
{
width
:
99%
;
margin
:
1%
;
}
</
style
>
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