瀏覽代碼

no message

aXin-0810 9 月之前
父節點
當前提交
deb8a2ff08
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      src/views/mallManagement/order/sales_return_order_list/index.vue

+ 6 - 6
src/views/mallManagement/order/sales_return_order_list/index.vue

@@ -224,12 +224,12 @@
               </el-table-column>
               <el-table-column align="center" label="退货单价" prop="waitRefundPrice" min-width="120">
                 <template slot-scope="scope">
-                  {{ scope.row.price }}
+                  {{ scope.row.waitRefundPrice }}
                 </template>
               </el-table-column>
               <el-table-column align="center" label="退货金额" prop="amount" min-width="120">
                 <template slot-scope="scope">
-                  {{ scope.row.payAmount }}
+                  {{ (scope.row.waitRefundNum * scope.row.waitRefundPrice * 100) / 100 }}
                 </template>
               </el-table-column>
               <el-table-column align="center" label="已退数量" prop="" min-width="120">
@@ -797,7 +797,7 @@ export default {
           this.formData.deliverStorageName = dData.storageStockName
           dData.orderDetailSendList.forEach(item => {
             item.waitRefundNum = item.sendNum
-            item.waitRefundPrice = item.payAmount
+            item.waitRefundPrice = item.price
           })
           this.goodsList = dData.orderDetailSendList
           getOrderDetail({ orderId: dData.orderId }).then(res => {
@@ -928,7 +928,7 @@ export default {
 
                 data.orderOfflineRefundItems.forEach(item => {
                   item.waitRefundNum = item.refundNum
-                  item.waitRefundPrice = item.payAmount
+                  item.waitRefundPrice = item.price
                   item.refundNum = item.retiredNum
                   // item.refundAmount = item.retiredAmount;
                   item.refundAmount = item.payAmount
@@ -1064,7 +1064,7 @@ export default {
     },
 
     getStorageList() {
-      Storage.getList({ pageNum: 1, pageSize: -1, type: '商品', status: true }).then(res => {
+      Storage.getList({ pageNum: 1, pageSize: -1, type: '商品' }).then(res => {
         this.storageList = res.data.records
       })
     },
@@ -1124,7 +1124,7 @@ export default {
         this.formData.deliverStorageName = data.storageStockName
         data.orderDetailSendList.forEach(item => {
           item.waitRefundNum = item.sendNum
-          item.waitRefundPrice = item.payAmount
+          item.waitRefundPrice = item.price
         })
         this.goodsList = data.orderDetailSendList
       })