linwenxin 7 kuukautta sitten
vanhempi
commit
62f46da086
1 muutettua tiedostoa jossa 5 lisäystä ja 9 poistoa
  1. 5 9
      src/packageAttachment/pages/applicationParts/confirmOrder.vue

+ 5 - 9
src/packageAttachment/pages/applicationParts/confirmOrder.vue

@@ -20,7 +20,7 @@
                       <text class="input_module_apply_number">{{ item.partsNumber }}</text>
                       <view class="input_module_apply_amount">
                         <view class="input_module_apply_counter">
-                          <text>*{{ item.quantity }}</text>
+                          <text>*{{ item.qty }}</text>
                         </view>
                         <text class="apply_amount"> ¥{{ Math.round(item.marketPrice * 1.2 * 100) / 100 }} </text>
                       </view>
@@ -31,9 +31,7 @@
                   合计:<text
                     >¥{{
                       [
-                        ...(info.itemList || []).map(
-                          item => Math.round(item.marketPrice * 1.2 * item.quantity * 100) / 100
-                        ),
+                        ...(info.itemList || []).map(item => Math.round(item.marketPrice * 1.2 * item.qty * 100) / 100),
                         0
                       ].reduce((a, b) => {
                         return a + b
@@ -78,11 +76,9 @@
           </view>
         </view>
       </zj-page-fill>
-      <bt-container v-if="info">
-        <view class="btcon pv30 ph10">
-          <view class="confirm-btn" @tap.stop="submit">提交订单</view>
-        </view>
-      </bt-container>
+      <view class="bottom-container" v-if="info">
+        <u-button type="primary" text="提交订单" @click="submit"></u-button>
+      </view>
     </zj-page-container>
   </view>
 </template>