Commit 7d173fd3 authored by hubaoshan's avatar hubaoshan

wcp

parent b1e60d2c
...@@ -90,77 +90,77 @@ ...@@ -90,77 +90,77 @@
<el-dialog class="pdDel" :title="title" :visible.sync="openDel" width="1300px" append-to-body @close="handleDialogClose"> <el-dialog class="pdDel" :title="title" :visible.sync="openDel" width="1300px" append-to-body @close="handleDialogClose">
<div class="top"> <div class="top">
<div class="oneButtion"> <div class="oneButtion">
<!-- <el-button--> <!-- <el-button-->
<!-- id="primary_del"--> <!-- id="primary_del"-->
<!-- :class="selectedButton === '无' ? 'button_rowBtn_action' : ''"--> <!-- :class="selectedButton === '无' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('无')"--> <!-- @click="handleButton('无')"-->
<!-- >--> <!-- >-->
<!-- <div class="buttionText">--> <!-- <div class="buttionText">-->
<!-- <span>无</span>--> <!-- <span>无</span>-->
<!-- <span style="color: red">({{ total0 }})</span>--> <!-- <span style="color: red">({{ total0 }})</span>-->
<!-- </div>--> <!-- </div>-->
<!-- </el-button>--> <!-- </el-button>-->
<!-- <el-button--> <!-- <el-button-->
<!-- id="primary_del"--> <!-- id="primary_del"-->
<!-- ref="buttonAAAA"--> <!-- ref="buttonAAAA"-->
<!-- :class="selectedButton === 'A' ? 'button_rowBtn_action' : ''"--> <!-- :class="selectedButton === 'A' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('A')"--> <!-- @click="handleButton('A')"-->
<!-- >--> <!-- >-->
<!-- <div class="buttonText">--> <!-- <div class="buttonText">-->
<!-- <span>A</span>--> <!-- <span>A</span>-->
<!-- <span style="color: red">({{ totalA }})</span>--> <!-- <span style="color: red">({{ totalA }})</span>-->
<!-- </div>--> <!-- </div>-->
<!-- </el-button>--> <!-- </el-button>-->
<!-- <el-button--> <!-- <el-button-->
<!-- id="primary_del"--> <!-- id="primary_del"-->
<!-- :class="selectedButton === 'B' ? 'button_rowBtn_action' : ''"--> <!-- :class="selectedButton === 'B' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('B')"--> <!-- @click="handleButton('B')"-->
<!-- >--> <!-- >-->
<!-- <div class="buttionText">--> <!-- <div class="buttionText">-->
<!-- <span>B</span>--> <!-- <span>B</span>-->
<!-- <span style="color: red">({{ totalB }})</span>--> <!-- <span style="color: red">({{ totalB }})</span>-->
<!-- </div>--> <!-- </div>-->
<!-- </el-button>--> <!-- </el-button>-->
<!-- <el-button--> <!-- <el-button-->
<!-- id="primary_del"--> <!-- id="primary_del"-->
<!-- :class="selectedButton === 'C' ? 'button_rowBtn_action' : ''"--> <!-- :class="selectedButton === 'C' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('C')"--> <!-- @click="handleButton('C')"-->
<!-- >--> <!-- >-->
<!-- <div class="buttionText">--> <!-- <div class="buttionText">-->
<!-- <span>C</span>--> <!-- <span>C</span>-->
<!-- <span style="color: red">({{ totalC }})</span>--> <!-- <span style="color: red">({{ totalC }})</span>-->
<!-- </div>--> <!-- </div>-->
<!-- </el-button>--> <!-- </el-button>-->
<!-- <el-button--> <!-- <el-button-->
<!-- id="primary_del"--> <!-- id="primary_del"-->
<!-- :class="selectedButton === 'D' ? 'button_rowBtn_action' : ''"--> <!-- :class="selectedButton === 'D' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('D')"--> <!-- @click="handleButton('D')"-->
<!-- >--> <!-- >-->
<!-- <div class="buttionText">--> <!-- <div class="buttionText">-->
<!-- <span>D</span>--> <!-- <span>D</span>-->
<!-- <span style="color: red">({{ totalD }})</span>--> <!-- <span style="color: red">({{ totalD }})</span>-->
<!-- </div>--> <!-- </div>-->
<!-- </el-button>--> <!-- </el-button>-->
<!-- <el-button--> <!-- <el-button-->
<!-- id="primary_del"--> <!-- id="primary_del"-->
<!-- :class="selectedButton === 'E' ? 'button_rowBtn_action' : ''"--> <!-- :class="selectedButton === 'E' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('E')"--> <!-- @click="handleButton('E')"-->
<!-- >--> <!-- >-->
<!-- <div class="buttionText">--> <!-- <div class="buttionText">-->
<!-- <span>E</span>--> <!-- <span>E</span>-->
<!-- <span style="color: red">({{ totalE }})</span>--> <!-- <span style="color: red">({{ totalE }})</span>-->
<!-- </div>--> <!-- </div>-->
<!-- </el-button>--> <!-- </el-button>-->
<!-- <el-button--> <!-- <el-button-->
<!-- id="primary_del"--> <!-- id="primary_del"-->
<!-- :class="selectedButton === 'F' ? 'button_rowBtn_action' : ''"--> <!-- :class="selectedButton === 'F' ? 'button_rowBtn_action' : ''"-->
<!-- @click="handleButton('F')"--> <!-- @click="handleButton('F')"-->
<!-- >--> <!-- >-->
<!-- <div class="buttionText">--> <!-- <div class="buttionText">-->
<!-- <span>F</span>--> <!-- <span>F</span>-->
<!-- <span style="color: red">({{ totalF }})</span>--> <!-- <span style="color: red">({{ totalF }})</span>-->
<!-- </div>--> <!-- </div>-->
<!-- </el-button>--> <!-- </el-button>-->
<div class="button-container"> <div class="button-container">
<el-button <el-button
v-for="item in palletListDel" v-for="item in palletListDel"
...@@ -247,13 +247,6 @@ export default { ...@@ -247,13 +247,6 @@ export default {
palletList: [], palletList: [],
palletListDel: [], palletListDel: [],
totalPd: [], totalPd: [],
listA: [],
listB: [],
listC: [],
listD: [],
listE: [],
listF: [],
listZero: [],
moveId: '', moveId: '',
moveSn: '', moveSn: '',
valuePd: 'bacc-red', valuePd: 'bacc-red',
...@@ -271,13 +264,6 @@ export default { ...@@ -271,13 +264,6 @@ export default {
}, },
Pdtotal: undefined, Pdtotal: undefined,
total: undefined, total: undefined,
totalA: undefined,
totalB: undefined,
totalC: undefined,
totalD: undefined,
totalE: undefined,
totalF: undefined,
total0: undefined,
open: false, open: false,
openDel: false, openDel: false,
title: '', title: '',
...@@ -363,7 +349,6 @@ export default { ...@@ -363,7 +349,6 @@ export default {
const item = this.palletList[i].dictValue const item = this.palletList[i].dictValue
queryParams.pallet = item queryParams.pallet = item
await getDelList(queryParams).then(response => { await getDelList(queryParams).then(response => {
this.listZero.push(response.data.records)
this.totalPd[item] = Number(response.data.total) this.totalPd[item] = Number(response.data.total)
if (Number(response.data.total) > 0) { if (Number(response.data.total) > 0) {
if (!this.palletDel) { if (!this.palletDel) {
...@@ -409,36 +394,6 @@ export default { ...@@ -409,36 +394,6 @@ export default {
this.totalPd[queryParams.pallet] = response.data.total 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() { getList() {
getInfo().then(response => { getInfo().then(response => {
const data = { const data = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment