diff --git a/src/views/modules/srmSupplier/supplierList.vue b/src/views/modules/srmSupplier/supplierList.vue index 23420b0..dda9066 100644 --- a/src/views/modules/srmSupplier/supplierList.vue +++ b/src/views/modules/srmSupplier/supplierList.vue @@ -208,13 +208,13 @@ - 采购员 + 采购员 - Sourcing专员 + Sourcing专员 @@ -1255,12 +1255,12 @@ export default { if (val === 524){ strVal = this.currentSupplier.deliveryTerm } - if (val === 2016 && type === 'buyer'){ + if (val === 529 && type === 'buyer'){ strVal = this.currentSupplier.buyer || '' // 防止 Druid 拦截 where 1=1 conSql = " and username <> '' " } - if (val === 2016 && type === 'sourcingStaff'){ + if (val === 528 && type === 'sourcingStaff'){ strVal = this.currentSupplier.sourcingStaff || '' // 防止 Druid 拦截 where 1=1 conSql = " and username <> '' " @@ -1301,12 +1301,12 @@ export default { this.currentSupplier.deliveryTerm = deliveryTermVal console.log('交货条款赋值:', deliveryTermVal) } - if (this.tagNo === 2016 && this.currentFieldType === 'buyer') { - this.currentSupplier.buyer = val.username || val.user_display || val.name + if (this.tagNo === 529 && this.currentFieldType === 'buyer') { + this.currentSupplier.buyer = val.UserName console.log('采购员赋值:', this.currentSupplier.buyer) } - if (this.tagNo === 2016 && this.currentFieldType === 'sourcingStaff') { - this.currentSupplier.sourcingStaff = val.username || val.user_display || val.name + if (this.tagNo === 528 && this.currentFieldType === 'sourcingStaff') { + this.currentSupplier.sourcingStaff = val.UserName console.log('Sourcing专员赋值:', this.currentSupplier.sourcingStaff) } },