瀏覽代碼

修改字段

xiaohaizhao 2 月之前
父節點
當前提交
b25c0aa9ac
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      packageA/orderForm/detail.js

+ 3 - 2
packageA/orderForm/detail.js

@@ -25,7 +25,7 @@ Page({
         }],
         saletypeList: null,
         showMYModel: false,
-        reminddays: 7,
+        reminddays: 0,
     },
     onLoad(options) {
         this.setData({
@@ -102,7 +102,8 @@ Page({
                 detail: res.data,
                 loading: false,
                 defaultamount: CNY(res.data.defaultamount),
-                account
+                account,
+                reminddays: res.data.contract_reminddays || 7
             });
             if (init) {
                 this.partialRenewal(true)