Bläddra i källkod

fix:修复多件多折显示异常问题

chenjiaxin 2 månader sedan
förälder
incheckning
89dc3aa181

+ 1 - 1
src/views/oms/order/components/orderItemListTab.vue

@@ -205,7 +205,7 @@
         align="center"
       >
         <template slot-scope="scope">
-          <el-checkbox :value="scope.row.manyFoldFlag === 2"></el-checkbox>
+          <el-checkbox :value="scope.row.manyfoldFlag === 2"></el-checkbox>
         </template>
       </el-table-column>
 

+ 2 - 2
src/views/oms/refund/refundDetail.vue

@@ -650,7 +650,7 @@ const refundAccountTypeKeyValue = refundAccountTypeOptions.reduce(
 
 export default {
   name: "refundInfoDialog",
-  props: ["refundId", "action", "ormOrderId"],
+  props: ["refundId", "action", "ormOrderId", "refundNo"],
   components: {},
   data() {
     return {
@@ -879,7 +879,7 @@ export default {
     // 获取折扣信息
     getDiscountInfoDetail() {
       const query = {
-        refundNo: this.refundId,
+        refundNo: this.refundNo,
         ormOrderId: this.ormOrderId
       };
       getRefundDiscount(query).then(res => {

+ 14 - 3
src/views/oms/refund/refundList.vue

@@ -500,7 +500,14 @@
           <el-button
             type="primary"
             size="mini"
-            @click="handleInfo(scope.row.id, 'view', scope.row.ormorder)"
+            @click="
+              handleInfo(
+                scope.row.id,
+                'view',
+                scope.row.ormorder,
+                scope.row.refundNo
+              )
+            "
             >{{ $t("view.details") }}</el-button
           >
           <el-button
@@ -624,6 +631,7 @@
         @refresh="refresh"
         :refundId="currentRefundId"
         :ormOrderId="ormOrderId"
+        :refundNo="refundNo"
         :action="action"
       ></refundInfoDialog>
     </el-drawer>
@@ -1061,6 +1069,7 @@ export default {
       createRefundVisible: false,
       ormOrderId: "", // 网店单号
       currentOrdersId: "",
+      refundNo: "",
       action: "", //  view  cus_check  t_check
       slFlag: "0",
       staging: {
@@ -1246,16 +1255,18 @@ export default {
     //查看退款单详情
     /**
      *
-     * @param refundId 退款单号
+     * @param refundId 退款ID
      * @param ormorder 网店单号
+     * @param refundNo 退单单号
      * @param action 动作: view 查看 , cus_check 客服审核 f_check 财务审核
      */
-    handleInfo(refundId, action, ormorder) {
+    handleInfo(refundId, action, ormorder, refundNo) {
       //进入退款单详情查看
       this.currentRefundId = refundId;
       this.ormOrderId = ormorder;
       this.action = action;
       this.refundInfoVisible = true;
+      this.refundNo = refundNo;
     },
     editInfo(row) {
       //进入退款单详情查看