{"remainingRequest":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/vue-loader/lib/index.js??vue-loader-options!/data/jenkins/workspace/mer.mall2.baibaodun.cn/src/views/finance/manageInvoice/components/mergeInvoiceDialog.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/src/views/finance/manageInvoice/components/mergeInvoiceDialog.vue","mtime":1720764823958},{"path":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/babel-loader/lib/index.js","mtime":456789000000},{"path":"/data/jenkins/workspace/mer.mall2.baibaodun.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.mall2.baibaodun.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\nimport { editInvoiceApi } from '@/api/finance';\n\nexport default {\n props: ['showMergeInvoiceDialog', 'ids'],\n\n data() {\n return {\n fapiaoNo: '',\n remark: '',\n };\n },\n\n methods: {\n onClose() {\n this.$emit('closeMergeInvoiceDialog');\n },\n\n confirmInvoice() {\n let params = {\n fapiaoNo: this.fapiaoNo,\n remark: this.remark,\n ids: this.ids,\n };\n\n if (!params.fapiaoNo) {\n this.$message({\n message: '发票号码不能为空',\n type: 'warning',\n showClose: true,\n });\n\n return;\n }\n\n editInvoiceApi(params).then((res) => {\n this.$message({\n message: '开票成功',\n type: 'success',\n showClose: true,\n });\n this.onClose();\n });\n },\n },\n};\n",null]}