linwenxin hai 8 meses
pai
achega
75b8df0e9f

+ 3 - 3
package-lock.json

@@ -4761,9 +4761,9 @@
       "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
     },
     "@zjlib/element-plugins": {
-      "version": "2.14.1",
-      "resolved": "http://121.41.110.30:4873/@zjlib%2felement-plugins/-/element-plugins-2.14.1.tgz",
-      "integrity": "sha512-VqrByNsnMj1e8ojBNy0+CWxLgp3kAk0j4JTFdWFbfqUdEYbksUmCgXz5z6Bwk7+wBk7I/kspOU3V56/EavoTmQ==",
+      "version": "2.14.2",
+      "resolved": "http://121.41.110.30:4873/@zjlib%2felement-plugins/-/element-plugins-2.14.2.tgz",
+      "integrity": "sha512-6mzSZBjvM7SxcU1Tmmie5IYah1e54bMEv/rcGANgnAJlmJXxaZuJTNJ6rj0VpPmpvC3r0tIfF0vDoLoMgO39ew==",
       "requires": {
         "@turf/turf": "^6.5.0",
         "@vuemap/vue-amap": "^0.1.12",

+ 1 - 1
package.json

@@ -18,7 +18,7 @@
     "@jiaminghi/data-view": "^2.10.0",
     "@turf/turf": "^6.5.0",
     "@vue/composition-api": "^1.7.1",
-    "@zjlib/element-plugins": "^2.14.1",
+    "@zjlib/element-plugins": "^2.14.2",
     "@zjlib/element-ui2": "^1.0.3",
     "axios": "0.18.1",
     "chatgpt": "^4.1.2",

+ 2 - 0
src/views/workOrder/workOrderPool/detailModule/workOrderInfo/mixins/pandanxinxi.js

@@ -302,9 +302,11 @@ export default {
           status: true,
           type: 'C'
         }).then(res => {
+          var boll = !!res.data.find(item => item.ifDispatch)
           this.websitList = res.data.map(item => ({
             label: item.name,
             value: item.websitId,
+            disabled: boll ? item.ifDispatch : true,
             data: item
           }))
           if (!this.orderInfo.id && this.websitList.length === 1) {