Browse Source

添加接口添加qty字段

xiaohaizhao 8 months ago
parent
commit
c977d3d178

+ 3 - 2
Eservice/agent/serviceBillDetail/index.js

@@ -54,7 +54,7 @@ Page({
   },
   addProduct() {
     wx.navigateTo({
-      url: '/Eservice/agent/billCanUseProduct/index?id=' + this.data.mainData.sa_workorderid,
+      url: '/Eservice/agent/billCanUseProduct/index?id=' + this.data.id,
     })
   },
 
@@ -68,7 +68,8 @@ Page({
           return {
             "sa_serviceorderitemsid": 0,
             "itemid": e,
-            "reason": ""
+            "reason": "",
+            "qty": 1
           }
         })
       }

+ 2 - 1
Eservice/workerLeader/serviceBillDetail/index.js

@@ -87,7 +87,8 @@ Page({
           return {
             "sa_serviceorderitemsid": 0,
             "itemid": e,
-            "reason": ""
+            "reason": "",
+            "qty": 1
           }
         })
       }