Răsfoiți Sursa

投递口现实错误

shaoguo 2 ani în urmă
părinte
comite
2b63c278bb
2 a modificat fișierele cu 6 adăugiri și 4 ștergeri
  1. 4 2
      pages/order/deposit/deposit.js
  2. 2 2
      pages/order/deposit/deposit.wxml

+ 4 - 2
pages/order/deposit/deposit.js

@@ -21,7 +21,7 @@ Page({
         is_deposit: 1,
         netwrok_id: 0,
         order_type: 0,
-
+        external_cabinet:0,
 
 
     },
@@ -197,7 +197,9 @@ Page({
                 that.setData({
                     show: false,
                     spot_id: res.message.data.spot_id,
-                    device_no: res.message.data.device_id
+                    device_no: res.message.data.device_id,
+                    external_cabinet:res.message.data.external_cabinet
+
                 })
                 
                 if (type == 1) {

+ 2 - 2
pages/order/deposit/deposit.wxml

@@ -65,7 +65,7 @@
 
 <van-popup show="{{show}}" position="bottom" round bind:close="onClose">
     <view class="content">
-        <view class="tit">{{device_no}}号柜门</view>
+        <view class="tit">{{external_cabinet}}号柜门</view>
         <view class="flex ju-c">
             <van-loading vertical type="spinner" color="#1989fa">正在开柜,请稍等</van-loading>
         </view>
@@ -75,7 +75,7 @@
 
 <van-popup show="{{ result }}" position="bottom" round  bind:close="takeClothes">
     <view class="content content2">
-        <view class="tit">{{spot_id}}号柜门已打开</view>
+        <view class="tit">{{external_cabinet}}号柜门已打开</view>
         <image src="/image/order/success.png" class="state"></image>
         <view class="tips m-top-30">请随手关闭柜门</view>