Commit baa6b6f3 authored by hubaoshan's avatar hubaoshan

wcp

parent f88db8cd
...@@ -924,7 +924,6 @@ export default { ...@@ -924,7 +924,6 @@ 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.listPd[0].value, userId: this.dispensePd.listPd[0].value,
...@@ -932,7 +931,6 @@ export default { ...@@ -932,7 +931,6 @@ export default {
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
...@@ -974,10 +972,8 @@ export default { ...@@ -974,10 +972,8 @@ export default {
// }) // })
// return // return
// } // }
// const listValues = new Set(this.list)
// const newList = this.dispense.Value.filter(value => !listValues.has(value)) // const newList = this.dispense.Value.filter(value => !listValues.has(value))
const values = [...new Set(this.dispense.Value)] const values = [...new Set(this.dispense.Value)]
console.log('values', values)
const data = { const data = {
businessId: this.businessId, businessId: this.businessId,
// Value: this.dispense.Value // Value: this.dispense.Value
...@@ -1004,7 +1000,6 @@ export default { ...@@ -1004,7 +1000,6 @@ 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: '确定',
...@@ -1046,7 +1041,6 @@ export default { ...@@ -1046,7 +1041,6 @@ 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