Commit 05a2dab5 authored by hubaoshan's avatar hubaoshan

wcp

parent b36e344f
...@@ -364,6 +364,7 @@ export default { ...@@ -364,6 +364,7 @@ export default {
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.pallet) { if (!this.pallet) {
this.selectedButton = item
this.pallet = Number(item) this.pallet = Number(item)
console.log('pallet', this.pallet) console.log('pallet', this.pallet)
this.queryPdDel.PdDelList = response.data.records this.queryPdDel.PdDelList = response.data.records
...@@ -485,9 +486,11 @@ export default { ...@@ -485,9 +486,11 @@ export default {
businessId: this.userNew, businessId: this.userNew,
page: this.queryPd.page, page: this.queryPd.page,
rows: this.queryPd.rows, rows: this.queryPd.rows,
orderSn: this.moveSn,
pallet: '' pallet: ''
} }
queryParams.pallet = String(this.buttonValue(this.selectedButton)) queryParams.pallet = this.selectedButton
console.log('this.selectedButton1111', this.selectedButton)
this.$confirm('是否确认操作?', '提示', { this.$confirm('是否确认操作?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
...@@ -495,17 +498,15 @@ export default { ...@@ -495,17 +498,15 @@ export default {
}).then(function() { }).then(function() {
return delPd(queryParams) return delPd(queryParams)
}).then(() => { }).then(() => {
this.getList()
this.$message({ this.$message({
message: '删除成功', message: '删除成功',
type: 'success' type: 'success'
}) })
this.openDel = false this.openDel = false
this.queryPdDel.PdDelList = [] this.getList()
this.resetList() // this.handleDel()
this.move() this.move()
}) })
this.handleDel()
}, },
rowClassName({ row }) { rowClassName({ row }) {
return row.status === '2' ? 'orange-row' : '' return row.status === '2' ? 'orange-row' : ''
......
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
<el-table-column type="index" label="序号" width="50" /> <el-table-column type="index" label="序号" width="50" />
<el-table-column label="orderSn"> <el-table-column label="orderSn">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.orderSn || '-' }}({{ scope.row.name || '-' }})</span> <span>{{ scope.row.orderSn || '-' }}</span>
<!-- ({{ scope.row.name || '-' }})-->
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="50"> <el-table-column label="操作" width="50">
......
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