退料增加unitId及工程id

This commit is contained in:
syruan 2025-08-04 13:45:18 +08:00
parent 2ea2ba4248
commit 655d562096
2 changed files with 6 additions and 1 deletions

View File

@ -717,6 +717,8 @@ export default {
// //
async GetDeviceTypeTreeFn(agreementId) { async GetDeviceTypeTreeFn(agreementId) {
const params = { const params = {
unitId: this.queryParams.unitId,
proId: this.queryParams.proId,
agreementId: agreementId agreementId: agreementId
} }
const res = await getDeviceTreeByAgreementId(params) const res = await getDeviceTreeByAgreementId(params)
@ -950,7 +952,9 @@ export default {
backPerson: this.queryParams.backPerson, backPerson: this.queryParams.backPerson,
phone: this.queryParams.phone, phone: this.queryParams.phone,
remark: this.queryParams.remark, remark: this.queryParams.remark,
agreementId: this.queryParams.agreementId unitId: this.queryParams.unitId,
proId: this.queryParams.proId,
agreementId: this.queryParams.agreementId,
// backTime: this.queryParams.backTime, // backTime: this.queryParams.backTime,
// createBy: this.queryParams.createBy, // createBy: this.queryParams.createBy,
// companyId: this.queryParams.companyId, // companyId: this.queryParams.companyId,

View File

@ -587,6 +587,7 @@ export default {
async GetDeviceTypeTreeFn(agreementId) { async GetDeviceTypeTreeFn(agreementId) {
const params = { const params = {
agreementId: agreementId, agreementId: agreementId,
unitId: this.queryParams.unitId,
} }
const res = await getDeviceTreeByAgreementId(params) const res = await getDeviceTreeByAgreementId(params)
console.log('resgetUseTypeTreee==========', res) console.log('resgetUseTypeTreee==========', res)