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
7d173fd3
Commit
7d173fd3
authored
Aug 22, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wcp
parent
b1e60d2c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
116 deletions
+71
-116
inventory.vue
src/views/setup/inventory.vue
+71
-116
No files found.
src/views/setup/inventory.vue
View file @
7d173fd3
...
...
@@ -90,77 +90,77 @@
<el-dialog
class=
"pdDel"
:title=
"title"
:visible
.
sync=
"openDel"
width=
"1300px"
append-to-body
@
close=
"handleDialogClose"
>
<div
class=
"top"
>
<div
class=
"oneButtion"
>
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === '无' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('无')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>无</span>-->
<!-- <span style="color: red">({{ total0 }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- ref="buttonAAAA"-->
<!-- :class="selectedButton === 'A' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('A')"-->
<!-- >-->
<!-- <div class="buttonText">-->
<!-- <span>A</span>-->
<!-- <span style="color: red">({{ totalA }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'B' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('B')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>B</span>-->
<!-- <span style="color: red">({{ totalB }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'C' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('C')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>C</span>-->
<!-- <span style="color: red">({{ totalC }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'D' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('D')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>D</span>-->
<!-- <span style="color: red">({{ totalD }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'E' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('E')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>E</span>-->
<!-- <span style="color: red">({{ totalE }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'F' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('F')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>F</span>-->
<!-- <span style="color: red">({{ totalF }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === '无' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('无')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>无</span>-->
<!-- <span style="color: red">({{ total0 }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- ref="buttonAAAA"-->
<!-- :class="selectedButton === 'A' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('A')"-->
<!-- >-->
<!-- <div class="buttonText">-->
<!-- <span>A</span>-->
<!-- <span style="color: red">({{ totalA }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'B' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('B')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>B</span>-->
<!-- <span style="color: red">({{ totalB }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'C' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('C')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>C</span>-->
<!-- <span style="color: red">({{ totalC }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'D' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('D')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>D</span>-->
<!-- <span style="color: red">({{ totalD }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'E' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('E')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>E</span>-->
<!-- <span style="color: red">({{ totalE }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- id="primary_del"-->
<!-- :class="selectedButton === 'F' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('F')"-->
<!-- >-->
<!-- <div class="buttionText">-->
<!-- <span>F</span>-->
<!-- <span style="color: red">({{ totalF }})</span>-->
<!-- </div>-->
<!-- </el-button>-->
<div
class=
"button-container"
>
<el-button
v-for=
"item in palletListDel"
...
...
@@ -247,13 +247,6 @@ export default {
palletList
:
[],
palletListDel
:
[],
totalPd
:
[],
listA
:
[],
listB
:
[],
listC
:
[],
listD
:
[],
listE
:
[],
listF
:
[],
listZero
:
[],
moveId
:
''
,
moveSn
:
''
,
valuePd
:
'bacc-red'
,
...
...
@@ -271,13 +264,6 @@ export default {
},
Pdtotal
:
undefined
,
total
:
undefined
,
totalA
:
undefined
,
totalB
:
undefined
,
totalC
:
undefined
,
totalD
:
undefined
,
totalE
:
undefined
,
totalF
:
undefined
,
total0
:
undefined
,
open
:
false
,
openDel
:
false
,
title
:
''
,
...
...
@@ -363,7 +349,6 @@ export default {
const
item
=
this
.
palletList
[
i
].
dictValue
queryParams
.
pallet
=
item
await
getDelList
(
queryParams
).
then
(
response
=>
{
this
.
listZero
.
push
(
response
.
data
.
records
)
this
.
totalPd
[
item
]
=
Number
(
response
.
data
.
total
)
if
(
Number
(
response
.
data
.
total
)
>
0
)
{
if
(
!
this
.
palletDel
)
{
...
...
@@ -409,36 +394,6 @@ export default {
this
.
totalPd
[
queryParams
.
pallet
]
=
response
.
data
.
total
})
},
// handleButton1(buttonName) {
// console.log('buttonName', buttonName)
// this.selectedButton = buttonName
// const queryParams = {
// businessId: this.userNew,
// page: this.queryPdDel.page,
// rows: this.queryPdDel.rows,
// pallet: ''
// }
// queryParams.pallet = this.buttonValue(buttonName)
// getDelList(queryParams).then(response => {
// this.queryPdDel.PdDelList = response.data.records
// this.total = response.data.total
// if (queryParams.pallet === '0') {
// this.total0 = response.data.total
// } else if (queryParams.pallet === '1') {
// this.totalA = response.data.total
// } else if (queryParams.pallet === '2') {
// this.totalB = response.data.total
// } else if (queryParams.pallet === '3') {
// this.totalC = response.data.total
// } else if (queryParams.pallet === '4') {
// this.totalD = response.data.total
// } else if (queryParams.pallet === '5') {
// this.totalE = response.data.total
// } else if (queryParams.pallet === '6') {
// this.totalF = response.data.total
// }
// })
// },
getList
()
{
getInfo
().
then
(
response
=>
{
const
data
=
{
...
...
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