zhaoxiaohai преди 3 години
родител
ревизия
642c68fa5c
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      packageA/salesForecasting/detail.js

+ 4 - 4
packageA/salesForecasting/detail.js

@@ -57,7 +57,7 @@ Page({
                     value: '123'
                 }, {
                     label: "提报周期",
-                    value: res.data.periodpoint
+                    value: res.data.isrepeat == 0 ? res.data.begdate : `每月${res.data.periodpoint}号`
                 }, {
                     label: "提报要求",
                     value: res.data.remarks
@@ -76,13 +76,13 @@ Page({
                     value: res.data.remarks
                 }, {
                     label: "提报开始时间",
-                    value: '暂时没有'
+                    value: res.data.begdate
                 }, {
                     label: "提报周期",
-                    value: res.data.periodpoint
+                    value: res.data.isrepeat == 0 ? res.data.begdate : `每月${res.data.periodpoint}号`
                 }, {
                     label: "预测金额(元)",
-                    value: "sumamount"
+                    value: res.data.sumamount
                 }, {
                     label: "负责人",
                     value: res.data.createby