Commit 7d173fd3 authored by hubaoshan's avatar hubaoshan

wcp

parent b1e60d2c
......@@ -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 = {
......
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