Browse Source

feat: 快递修改

xdd 2 months ago
parent
commit
77c34277de

+ 2 - 2
src/api/his/storeOrder.js

@@ -159,7 +159,7 @@ export function updateOrder(data) {
 // 修改订单
 export function updateStoreOrder(data) {
   return request({
-    url: '/his/storeOrder/updateStoreOrder',
+    url: '/his/storeOrder',
     method: 'put',
     data: data
   })
@@ -296,4 +296,4 @@ export function getErpAccount() {
     url: '/his/storeOrder/getErpAccount',
     method: 'get'
   })
-}
+}

+ 4 - 1
src/views/components/his/storeOrderDetails.vue

@@ -673,8 +673,11 @@ import {getCitys} from "@/api/store/city";
       },
       editDelivery(){
         this.editDy.open = true;
+        console.log(this.item)
         this.editDyForm.orderId = this.item.orderId;
-
+        this.editDyForm.deliveryId = this.item.deliveryId;
+        this.editDyForm.deliveryCode = this.item.deliveryCode;
+        this.editDyForm.deliverySn = this.item.deliverySn;
       },
       showListD(){
         if(this.showList){

+ 3 - 1
src/views/components/his/storeOrderDetails2.vue

@@ -621,8 +621,10 @@ import { getTcmScheduleList } from "@/api/company/schedule";
       },
       editDelivery(){
         this.editDy.open = true;
+        console.log(this.item)
         this.editDyForm.orderId = this.item.orderId;
-
+        this.editDyForm.deliveryId = this.item.deliveryId;
+        this.editDyForm.deliveryCode = this.item.deliveryCode;
       },
       showListD(){
         if(this.showList){