linwenxin 1 год назад
Родитель
Сommit
7709f0b899
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      src/views/mallManagement/order/order_refund/index.vue

+ 7 - 7
src/views/mallManagement/order/order_refund/index.vue

@@ -276,7 +276,7 @@
             </el-col>
             <el-col :span=" 24 ">
               <el-card class="box-card">
-                <el-tabs v-model="typeIndex" @tab-click=" changeType ">
+                <el-tabs v-model=" typeIndex " @tab-click=" changeType ">
                   <el-tab-pane label="发货数量" name="1"></el-tab-pane>
                   <el-tab-pane label="发货条码" name="2"></el-tab-pane>
                 </el-tabs>
@@ -365,7 +365,7 @@
                               value-key="goodsMaterialSpecsName"
                               :disabled=" isEdit2 != scope.$index || formType == 2 || activeKey == 'REFUND_GOODS_DETAIL' "
                               placeholder="请选择" style="width: 100%;">
-                              <el-option v-for="(    item, ind    ) in     formData1.list    " :key=" ind "
+                              <el-option v-for="(     item, ind     ) in      formData1.list     " :key=" ind "
                                 :label=" item.goodsMaterialSpecsName " :value=" item ">
                               </el-option>
                             </el-select>
@@ -381,7 +381,7 @@
                               :disabled=" isEdit2 != scope.$index || formType == 2 || activeKey == 'REFUND_GOODS_DETAIL' "
                               placeholder="请选择" style="width: 100%;">
                               <el-option
-                                v-for="(    item, ind    ) in     [{ name: '内机', id: 'INSIDE' }, { name: '外机', id: 'OUT' }, { name: '配件', id: 'PARTS' }]    "
+                                v-for="(     item, ind     ) in      [{ name: '内机', id: 'INSIDE' }, { name: '外机', id: 'OUT' }, { name: '配件', id: 'PARTS' }]     "
                                 :key=" ind " :label=" item.name " :value=" item.id ">
                               </el-option>
                             </el-select>
@@ -408,7 +408,7 @@
   }
 " value-key="name" :disabled=" isEdit2 != scope.$index || formType == 2 || activeKey == 'REFUND_GOODS_DETAIL' "
                               placeholder="请选择" style="width: 100%;">
-                              <el-option v-for="(    item, ind    ) in     scope.row.materialList    " :key=" ind "
+                              <el-option v-for="(     item, ind     ) in      scope.row.materialList     " :key=" ind "
                                 :label=" item.name " :value=" item ">
                               </el-option>
                             </el-select>
@@ -586,8 +586,8 @@ export default {
       this.getOrderDetail()
       this.getCodeDetail2()
     },
-    getCodeDetail2() {
-      getCodeDetail2({ orderId: this.editOrderId || this?.order_cp?.orderRefundId || "" }).then(async res => {
+    getCodeDetail2(orderRefundId) {
+      getCodeDetail2({ orderId: orderRefundId || this.editOrderId || this?.order_cp?.orderRefundId || "" }).then(async res => {
         for (var item of res.data) {
           item.specs = { goodsMaterialSpecsName: item.specsName }
           item.material = { name: item.materialName }
@@ -815,7 +815,7 @@ export default {
     changeExamineStatus(orderRefundId, examineStatus, refundType, orderId, type) {
       if (refundType == 'REFUND_GOODS' || refundType == 'REFUND_GOODS_DETAIL') {
         this.getOrderDetail(orderId)
-        this.getCodeDetail2(orderId)
+        this.getCodeDetail2(orderRefundId)
         this.openForm(refundType, { orderRefundId })
       } else {
         this.$prompt('请输入卖家留言', examineStatus == 'OK' ? '同意' : '拒绝', {