소스 검색

默认没明细直接查询

Qukatie 3 주 전
부모
커밋
07a10d6748
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/views/tirePartsMall/salesManagement/outboundWorkOrder/components/viewArea.vue

+ 3 - 0
src/views/tirePartsMall/salesManagement/outboundWorkOrder/components/viewArea.vue

@@ -153,6 +153,9 @@ export default {
       this.data = row.historyList;
       this.data = row.historyList;
       this.qtyMax = row.goodsNum;
       this.qtyMax = row.goodsNum;
       this.dialogVisible = true;
       this.dialogVisible = true;
+      if(row.historyList.length==0){
+        this.onLoad()
+      }
     },
     },
     submit() {
     submit() {
       if (this.data.filter(item => item.quantity > 0).length == 0) {
       if (this.data.filter(item => item.quantity > 0).length == 0) {