Commit 04f4148f authored by hubaoshan's avatar hubaoshan

wcp

parent 1fbeb74d
......@@ -90,6 +90,16 @@
<el-dialog class="pdDel" :title="title" :visible.sync="openDel" width="1300px" append-to-body>
<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"
......@@ -151,16 +161,6 @@
<span style="color: red">({{ totalF }})</span>
</div>
</el-button>
<el-button
id="primary_del"
:class="selectedButton === '0' ? 'button_rowBtn_action' : ''"
@click="handleButton('0')"
>
<div class="buttionText">
<span></span>
<span style="color: red">({{ total0 }})</span>
</div>
</el-button>
</div>
</div>
<br>
......@@ -206,14 +206,13 @@
title="选择人员"
:visible.sync="dialogVisible"
width="500px"
@close="handleDialogClose"
>
<div class="button-container">
<el-button
v-for="item in palletList"
:key="item.dictValue"
:type="pallet === item.dictLabel ? 'primary' : 'default'"
style="width: 130px;margin-bottom: 10px;margin-left: 10px"
:type="buttonLable(pallet) === item.dictLabel ? 'primary' : 'default'"
style="width: 60px;margin-bottom: 10px;margin-left: 10px"
@click="handleSelect(item.dictValue)"
>
{{ item.dictLabel }}
......@@ -231,7 +230,7 @@ export default {
data() {
return {
dialogVisible: false,
pallet: '',
pallet: '0',
palletList: [],
listA: [],
listB: [],
......@@ -305,9 +304,8 @@ export default {
})
},
handleView() {
getInfo().then(response => {
const queryParams = {
businessId: response.data.user.businessId,
businessId: this.userNew,
orderSn: this.$route.query.orderSn,
page: this.queryPd.page,
rows: this.queryPd.rows
......@@ -318,7 +316,6 @@ export default {
this.title = '查看'
this.open = true
})
})
if (this.open === false) {
this.queryPd.page = 1
this.Pdtotal = ''
......@@ -417,7 +414,16 @@ export default {
this.title = '删除'
this.openDel = true
},
resetList() {
this.selectedButton = ''
this.listZero = []
this.listA = []
this.listB = []
this.listC = []
this.listD = []
this.listE = []
this.listF = []
},
handlePa() {
getInfo().then(response => {
const queryParams = {
......@@ -493,12 +499,12 @@ export default {
pallet: this.pallet,
orderSn: this.moveSn
}
console.log('obj', obj)
updatePd(obj).then(res => {
this.valuePd = res.code === 200 ? 'bacc-green' : ''
})
this.queryForm.value = ''
this.getList()
this.valuePd = 'bacc-red'
},
deletePd() {
const queryParams = {
......@@ -520,6 +526,9 @@ export default {
message: '删除成功',
type: 'success'
})
this.openDel = false
this.queryPdDel.PdDelList = []
this.resetList()
})
this.handleDel()
},
......@@ -530,8 +539,6 @@ export default {
this.pallet = value
this.dialogVisible = false
},
handleDialogClose() {
}
}
}
</script>
......@@ -543,7 +550,7 @@ export default {
.top{
position: relative;
left: 50px;
width: 250px;
width: 300px;
}
.clearRegion{
position: relative;
......@@ -560,9 +567,9 @@ export default {
bottom: initial;
}
.oneButtion{
width: 200px;
width: 350px;
position: relative;
right: -40px;
right: 50px;
}
.buttonRegion {
margin-top: 20px;
......@@ -577,16 +584,18 @@ export default {
width: 80px;
background-color: #f6c761;
border-color: #f6c761;
position: relative;
left: -20px;
}
.button_rowBtn_action{
background-color: #46bcf3 !important;
border-color:#46bcf3;
border-color:#46bcf3 !important;
color: white;
}
#primary_del{
color: black;
background-color: #808080;
border-color:#808080;
/*background-color: #808080;*/
/*border-color:#808080;*/
margin-left: 10px;
margin-bottom: 10px;
}
......
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