Преглед изворни кода

报价单选择客户/项目范围修改

xiaohaizhao пре 3 година
родитељ
комит
b75c6d466c
2 измењених фајлова са 11 додато и 11 уклоњено
  1. 3 3
      packageA/offers/addProjectOffer.js
  2. 8 8
      packageA/offers/addSetclientOffer.js

+ 3 - 3
packageA/offers/addProjectOffer.js

@@ -12,11 +12,10 @@ Page({
             url: "/packageA/select/project/select",
             value: "",
             params: {
-                id: 20221020143502,
+                "id": 20221020143503,
                 content: {
                     nocache: true,
-                    "type": 0,
-                    "isExport": 0,
+                    "type": 1,
                     "where": {
                         "condition": "",
                     }
@@ -90,6 +89,7 @@ Page({
             let form = this.data.form;
             if (data.sa_projectid) {
                 form[0].value = data.sa_projectid;
+                form[0].disabled = true;
                 form.splice(1, 0, {
                     label: "选择客户",
                     error: false,

+ 8 - 8
packageA/offers/addSetclientOffer.js

@@ -12,14 +12,14 @@ Page({
             url: "/packageA/select/setclient/select",
             value: "",
             params: {
-                id: 20221012164402,
-                content: {
-                    nocache: true,
-                    deleted: 0,
-                    type: 0,
-                    isExport: 0,
-                    where: {
-                        condition: "",
+                "id": 20220920083901,
+                "content": {
+                    "pageNumber": 1,
+                    "pageSize": 20,
+                    "where": {
+                        "condition": "",
+                        "type": 7,
+                        "sa_projectid": ""
                     }
                 },
             },