{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/views/finance/manageInvoice/components/importInvoiceDialog.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/views/finance/manageInvoice/components/importInvoiceDialog.vue","mtime":1706867156975},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport uploadFileV2 from '@/components/base/uploadFileV2';\n\nexport default {\n  components: { uploadFileV2 },\n  data() {\n    return {\n      fapiaoNo: '',\n      remark: '',\n      message: '',\n      resList: [],\n      errorList: [],\n      fileList: [],\n      show: false,\n    };\n  },\n\n  methods: {\n    onClose() {\n      this.show = false;\n      this.resList = [];\n      this.errorList = [];\n    },\n    closeImportInvoiceDialog() {\n      this.show = false;\n      this.resList = [];\n      this.errorList = [];\n      this.$emit('closeImportInvoiceDialog');\n    },\n    uploadSuccess(list) {\n      this.resList = list || [];\n    },\n    open() {\n      this.show = true;\n    },\n    confirmUpload() {\n      this.errorList = this.resList;\n      this.$refs.uploadfile.clear();\n    },\n    // 下载模板\n    downloadXls() {\n      const { href } = this.$router.resolve({\n         path: `/static/file/导入发票申请单模板.xlsx`\n       });\n      window.open(href, \"_blank\"); \n    \n\n    },\n  },\n};\n",null]}