fix:BUG修改

This commit is contained in:
cjp 2024-01-19 10:42:20 +08:00
parent 12a04fe3fa
commit 390f30d930
2 changed files with 29 additions and 31 deletions

View File

@ -308,7 +308,6 @@ import {
stableWaterMixDataPage, stableWaterMixDataPage,
stableWaterMixSetDataPage, stableWaterMixSetDataPage,
stableWaterMixDevList, stableWaterMixDevList,
stableWaterMixMaterialDataPage
} from '@/assets/js/api/asphaltMixStation.js' } from '@/assets/js/api/asphaltMixStation.js'
export default { export default {
@ -529,12 +528,12 @@ export default {
this.diskDetailId = row.id this.diskDetailId = row.id
this.getDetailList() this.getDetailList()
}, },
openDetailList(row) { // openDetailList(row) {
console.log('打开详情内列表详情', row) // console.log('', row)
this.showDetailLine = true // this.showDetailLine = true
this.materialDetailId = row.id // this.materialDetailId = row.id
this.getMaterialList() // this.getMaterialList()
}, // },
close() { close() {
this.diskDetailId = "" this.diskDetailId = ""
@ -568,14 +567,14 @@ export default {
projectSn: this.$store.state.projectSn, projectSn: this.$store.state.projectSn,
stableWaterMixStationSetDataId: this.materialDetailId stableWaterMixStationSetDataId: this.materialDetailId
} }
stableWaterMixMaterialDataPage(data).then(res => { // stableWaterMixMaterialDataPage(data).then(res => {
if (res.code == 200) { // if (res.code == 200) {
console.log('原材料数据(盘次列表详情)', res.result) // console.log('()', res.result)
this.materialOrderList = res.result.records // this.materialOrderList = res.result.records
this.dialogShow = true // this.dialogShow = true
this.materialInfo.total = res.result.total // this.materialInfo.total = res.result.total
} // }
}) // })
}, },
// //

View File

@ -300,8 +300,7 @@
import { import {
stableWaterMixDataPage, stableWaterMixDataPage,
stableWaterMixSetDataPage, stableWaterMixSetDataPage,
stableWaterMixDevList, stableWaterMixDevList
stableWaterMixMaterialDataPage
} from '@/assets/js/api/concreteMixStation.js' } from '@/assets/js/api/concreteMixStation.js'
export default { export default {
components: {}, components: {},
@ -519,12 +518,12 @@ export default {
this.diskDetailId = row.id this.diskDetailId = row.id
this.getDetailList() this.getDetailList()
}, },
openDetailList(row) { // openDetailList(row) {
console.log('打开详情内列表详情', row) // console.log('', row)
this.showDetailLine = true // this.showDetailLine = true
this.materialDetailId = row.id // this.materialDetailId = row.id
this.getMaterialList() // this.getMaterialList()
}, // },
close() { close() {
this.diskDetailId = "" this.diskDetailId = ""
@ -558,14 +557,14 @@ export default {
projectSn: this.$store.state.projectSn, projectSn: this.$store.state.projectSn,
stableWaterMixStationSetDataId: this.materialDetailId stableWaterMixStationSetDataId: this.materialDetailId
} }
stableWaterMixMaterialDataPage(data).then(res => { // stableWaterMixMaterialDataPage(data).then(res => {
if (res.code == 200) { // if (res.code == 200) {
console.log('原材料数据(盘次列表详情)', res.result) // console.log('()', res.result)
this.materialOrderList = res.result.records // this.materialOrderList = res.result.records
this.dialogShow = true // this.dialogShow = true
this.materialInfo.total = res.result.total // this.materialInfo.total = res.result.total
} // }
}) // })
}, },
// //