钱惠东 hace 5 días
padre
commit
ec003d92fb
Se han modificado 1 ficheros con 7 adiciones y 1 borrados
  1. 7 1
      ruoyi-ui-vue2/src/views/quotation/editQuotation.vue

+ 7 - 1
ruoyi-ui-vue2/src/views/quotation/editQuotation.vue

@@ -1111,6 +1111,12 @@ export default {
         tableList: this.elevatorList,
         discountRate: this.priceForm.discountRate
       }
+      const text = '销售申请折扣价格合计'
+      if (this.flowStatus === '114') {
+        text = '总经理确认价格合计'
+      } else if (this.flowStatus === '115') {
+        text = '财务确认价格合计'
+      }
       let auditForm = {
         // 审批流
         auditFlow: 2,
@@ -1119,7 +1125,7 @@ export default {
         // 审批结果
         status: 200,
         // 备注
-        remark: `销售申请折扣价格合计:${this.currencyParam()} ${this.priceForm.discountPriceFormat},平均基价折率:${this.priceForm.discountRate}%,备注:${this.form.remark || '无'}`,
+        remark: `${text}:${this.currencyParam()} ${this.priceForm.discountPriceFormat},平均基价折率:${this.priceForm.discountRate}%,备注:${this.form.remark || '无'}`,
         // 业务参数
         businessObj: bargainObj
       }