gjy 3 anos atrás
pai
commit
3e16d0914f

+ 3 - 3
public/static/weightCheckInOut.html

@@ -146,11 +146,11 @@
           </tr>
           <tr class="row">
             <td class="col col-bgc">毛重(吨)</td>
-            <td class="col" colspan="2">{{tableData.grossWeight*1000}}</td>
+            <td class="col" colspan="2">{{tableData.grossWeight}}</td>
             <td class="col col-bgc">皮重(吨)</td>
-            <td class="col" colspan="2">{{tableData.tare*1000}}</td>
+            <td class="col" colspan="2">{{tableData.tare}}</td>
             <td class="col col-bgc">净重(吨)</td>
-            <td class="col" colspan="2">{{tableData.netWeight*1000}}</td>
+            <td class="col" colspan="2">{{tableData.netWeight}}</td>
           </tr>
         </table>
         <div class="bottom">

+ 1 - 1
src/components/mapdrag/indexMap.vue

@@ -161,7 +161,7 @@
         AMapLoader.load({
           "key": "211dd6f989e719022aaf47ddb0659c47", // 申请好的Web端开发者Key,首次调用 load 时必填
           "version": "2.0", // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
-          "plugins": ['plugin=AMap.Scale', 'AMap.ToolBar'],
+          "plugins": ['plugin=AMap.Scale', 'AMap.ToolBar','AMap.Autocomplete', 'AMap.PlaceSearch', 'AMap.Geocoder', 'AMap.DistrictSearch'],
           "Loca": { // 是否加载 Loca, 缺省不加载
             "version": '2.0.0' // Loca 版本,缺省 1.3.2
           },

+ 1 - 0
src/components/mapdrag/mapdrag.vue

@@ -168,6 +168,7 @@
       }
     },
     async created() {
+      AMapLoader.reset();
       // 已载入高德地图API,则直接初始化地图
       if (window.AMap && window.AMapUI) {
         // 未载入高德地图API,则先载入API再初始化