linwenxin 1 yıl önce
ebeveyn
işleme
ad4d2fe6cd

+ 2 - 2
src/views/auxiliaryFittings/purchasingManagement/mixins/form_tpl.js

@@ -45,7 +45,7 @@ export default {
               isRole: !!~['auxiliaryMaterialsStorage'].indexOf(this?.$route?.name),
               name: '导入模板',
               render: () => {
-                return this.importButton(websitPurchaseInImport, '导入模板')
+                return this.importButton(websitPurchaseInImport, '导入模板', { goodsType: this.storageType })
               }
             }
           ],
@@ -74,7 +74,7 @@ export default {
               isRole: !!~['partsStorage'].indexOf(this?.$route?.name),
               name: '导入模板',
               render: () => {
-                return this.importButton(websitPurchaseRetImport, '导入模板')
+                return this.importButton(websitPurchaseRetImport, '导入模板', { goodsType: this.storageType })
               }
             }
           ],