linwenxin 9 месяцев назад
Родитель
Сommit
acacfc2b28
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      src/views/auxiliaryFittings/GoodsTransferPeceipt/index.vue

+ 10 - 0
src/views/auxiliaryFittings/GoodsTransferPeceipt/index.vue

@@ -223,6 +223,11 @@ export default {
             label: '调出仓库',
             prop: 'outStorageId',
             rules: [...required]
+          },
+          events: {
+            change: () => {
+              this.formData.items = []
+            }
           }
         },
         {
@@ -239,6 +244,11 @@ export default {
             label: '调入仓库',
             prop: 'inStorageId',
             rules: [...required]
+          },
+          events: {
+            change: () => {
+              this.formData.items = []
+            }
           }
         },
         {