liaofei 2 лет назад
Родитель
Сommit
652a0e92cc
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      template/admin/src/pages/order/orderList/handle/orderSend.vue

+ 7 - 7
template/admin/src/pages/order/orderList/handle/orderSend.vue

@@ -157,7 +157,7 @@
             </template>
             </template>
           </i-table>
           </i-table>
         </FormItem>
         </FormItem>
-        <FormItem label="寄件金额计算:" v-if="selectData.length">
+        <FormItem label="寄件金额计算:">
           <Button @click="watchPrice">立即计算</Button>
           <Button @click="watchPrice">立即计算</Button>
         </FormItem>
         </FormItem>
       </div>
       </div>
@@ -201,6 +201,10 @@ export default {
     orderId(val) {
     orderId(val) {
       if (this.virtual_type == 3) this.formItem.type = '3';
       if (this.virtual_type == 3) this.formItem.type = '3';
     },
     },
+    modals(newVal) {
+      if (newVal) {
+      }
+    },
   },
   },
   data() {
   data() {
     return {
     return {
@@ -293,12 +297,6 @@ export default {
       serviceTypeList: [],
       serviceTypeList: [],
     };
     };
   },
   },
-  watch: {
-    modals(newVal) {
-      if (newVal) {
-      }
-    },
-  },
   mounted() {
   mounted() {
     this.kuaidiComsList(1);
     this.kuaidiComsList(1);
     let delData;
     let delData;
@@ -310,9 +308,11 @@ export default {
   },
   },
   methods: {
   methods: {
     watchPrice() {
     watchPrice() {
+      console.log(1111);
       let data = {
       let data = {
         kuaidicom: this.formItem.delivery_code,
         kuaidicom: this.formItem.delivery_code,
         send_address: this.formItem.to_addr,
         send_address: this.formItem.to_addr,
+        orderId: this.orderId,
         service_type: this.formItem.service_type,
         service_type: this.formItem.service_type,
         cart_ids: [],
         cart_ids: [],
       };
       };