Commit fa14b8a7 authored by hubaoshan's avatar hubaoshan

wcp

parent 9b20b79c
...@@ -251,11 +251,6 @@ ...@@ -251,11 +251,6 @@
<span>{{ scope.row.pdCode || '-' }}</span> <span>{{ scope.row.pdCode || '-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="orderListId" prop="orderListId" width="100" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.orderListId || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="payTerms" prop="payTerms" :show-overflow-tooltip="true"> <el-table-column label="payTerms" prop="payTerms" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.payTerms || '-' }}</span> <span>{{ scope.row.payTerms || '-' }}</span>
...@@ -619,15 +614,6 @@ export default { ...@@ -619,15 +614,6 @@ export default {
return commonField return commonField
} }
}, },
watch: {
// 'openDetails': function(newValue, oldValue) {
// this.queryParamsNew = {
// page: 1,
// rows: 10,
// TempList: []
// }
// }
},
/** 路由离开前存储筛选条件*/ /** 路由离开前存储筛选条件*/
beforeRouteLeave(to, from, next) { beforeRouteLeave(to, from, next) {
this.$store.dispatch('searchSave/searchParamsSet', { this.$store.dispatch('searchSave/searchParamsSet', {
...@@ -932,14 +918,16 @@ export default { ...@@ -932,14 +918,16 @@ export default {
})) }))
if (row.status !== '0') { if (row.status !== '0') {
this.dispensePd.valuePd = this.dispensePd.listPd[0].value this.dispensePd.valuePd = this.dispensePd.listPd[0].value
console.log('this.dispensePd.listPd[0].value', this.dispensePd.listPd)
} }
}) })
const queryParams = { const queryParams = {
userId: this.dispensePd.valuePd, userId: this.dispensePd.listPd[0].value,
businessId: this.PdId, businessId: this.PdId,
page: this.queryPd.page, page: this.queryPd.page,
rows: this.queryPd.rows rows: this.queryPd.rows
} }
console.log('queryParams', queryParams)
listWcpOrderPd(queryParams).then(response => { listWcpOrderPd(queryParams).then(response => {
this.queryPd.PdList = response.data.records this.queryPd.PdList = response.data.records
this.Pdtotal = response.data.total this.Pdtotal = response.data.total
...@@ -1005,6 +993,7 @@ export default { ...@@ -1005,6 +993,7 @@ export default {
}, },
handleEnd() { handleEnd() {
const id = this.businessId const id = this.businessId
console.log('id', id)
this.$confirm('确认要重新盘点吗?,<span style="color: red;">会删除盘点中的数据</span>', '提示', { this.$confirm('确认要重新盘点吗?,<span style="color: red;">会删除盘点中的数据</span>', '提示', {
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
confirmButtonText: '确定', confirmButtonText: '确定',
...@@ -1047,6 +1036,7 @@ export default { ...@@ -1047,6 +1036,7 @@ export default {
rows: this.queryParamsNew.rows, rows: this.queryParamsNew.rows,
businessId: this.PdId businessId: this.PdId
} }
console.log('queryParams', queryParams)
listWcpOrderPd(queryParams).then(response => { listWcpOrderPd(queryParams).then(response => {
this.queryPd.PdList = response.data.records this.queryPd.PdList = response.data.records
this.Pdtotal = response.data.total this.Pdtotal = response.data.total
......
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