فهرست منبع

报价单修改

zhaoxiaohai 3 سال پیش
والد
کامیت
9312e60a70
2فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 3 3
      packageA/offers/addProjectOffer.js
  2. 2 2
      packageA/offers/addSetclientOffer.js

+ 3 - 3
packageA/offers/addProjectOffer.js

@@ -185,9 +185,9 @@ Page({
             ...this.data.content,
             ...this.selectComponent("#Form").submit()
         };
-        content.sys_enterpriseid = content.sys_enterpriseid[1][0] || '';
-        content.sa_projectid = content.sa_projectid[1][0] || '';
-        content.contactsid = content.contactsid ? content.contactsid[1][0] : '';
+        content.sys_enterpriseid = content.sys_enterpriseid[1][0] || 0;
+        content.sa_projectid = content.sa_projectid[1][0] || 0;
+        content.contactsid = content.contactsid ? content.contactsid[1][0] : 0;
         content.begdate = content.invaliddate[0];
         content.enddate = content.invaliddate[1];
         delete(content.invaliddate)

+ 2 - 2
packageA/offers/addSetclientOffer.js

@@ -150,8 +150,8 @@ Page({
             ...this.data.content,
             ...this.selectComponent("#Form").submit()
         };
-        content.sys_enterpriseid = content.sys_enterpriseid[1][0] || '';
-        content.contactsid = content.contactsid ? content.contactsid[1][0] : '';
+        content.sys_enterpriseid = content.sys_enterpriseid[1][0] || 0;
+        content.contactsid = content.contactsid ? content.contactsid[1][0] : 0;
         content.begdate = content.invaliddate[0];
         content.enddate = content.invaliddate[1];
         delete(content.invaliddate)