Browse Source

销售订单查看库存增加分页参数

liyuan 3 weeks ago
parent
commit
d12736a65d

+ 1 - 1
src/views/tirePartsMall/salesManagement/saleOrder/detailsPage.vue

@@ -1480,7 +1480,7 @@ export default {
     methods: {
     methods: {
         viewInventory() {
         viewInventory() {
             this.inventoryData = []
             this.inventoryData = []
-            inventoryList({ cname: this.selectionMultilist[0].goodsName }).then(res => [
+            inventoryList({ cname: this.selectionMultilist[0].goodsName, current: 1, size: 50 }).then(res => [
                 this.inventoryData = res.data.data.records
                 this.inventoryData = res.data.data.records
             ])
             ])
         },
         },