huangbin 4 anos atrás
pai
commit
88bc19ad5f

+ 4 - 3
src/views/order/pre_sale_warehouse_receipt/components/pre_sale_warehouse_receipt_bargain/components/bargain_detail/index.vue

@@ -19,7 +19,7 @@
 
       <a-button class="ml10 cancelBtn"
                 v-if="isMy()"
-                @click="cacel">撤销</a-button>
+                @click="cancelAction">撤销</a-button>
       <template v-else>
         <a-button class="listedBtn"
                   @click="submit">确认</a-button>
@@ -94,7 +94,7 @@ export default defineComponent({
             });
         }
         // 撤销
-        function cacel() {
+        function cancelAction() {
             const param: WrBargainBackReq = {
                 WrBargainID: Long.fromString(wrtradeorderid),
             };
@@ -110,7 +110,8 @@ export default defineComponent({
             isMy,
             submit,
             refuse,
-            cacel,
+            cancel,
+            cancelAction,
         };
     },
 });

+ 4 - 3
src/views/order/spot_warran/components/spot_warrant_bargain/components/bargain_detail/index.vue

@@ -19,7 +19,7 @@
 
       <a-button class="ml10 cancelBtn"
                 v-if="isMy()"
-                @click="cacel">撤销</a-button>
+                @click="cancelAction">撤销</a-button>
       <template v-else>
         <a-button class="listedBtn"
                   @click="submit">确认</a-button>
@@ -94,7 +94,7 @@ export default defineComponent({
             });
         }
         // 撤销
-        function cacel() {
+        function cancelAction() {
             const param: WrBargainBackReq = {
                 WrBargainID: Long.fromString(wrtradeorderid),
             };
@@ -110,7 +110,8 @@ export default defineComponent({
             isMy,
             submit,
             refuse,
-            cacel,
+            cancelAction,
+            cancel,
         };
     },
 });