{"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/invoiceDetailDialog.vue?vue&type=script&lang=js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/views/finance/manageInvoice/components/invoiceDetailDialog.vue","mtime":1705974616810},{"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/thread-loader/dist/cjs.js","mtime":499162500000},{"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//\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//\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 { editInvoiceApi } from '@/api/finance';\n\nexport default {\n  props: ['showInvoiceDetailDialog', 'invoiceDetailInfo', 'type', 'ids'],\n\n  data() {\n    return {\n      fapiaoNo: '',\n      remark: '',\n    };\n  },\n\n  methods: {\n    onClose() {\n      this.$emit('closeInvoiceDetailDialog');\n    },\n\n    confirmInvoice() {\n      let params = {\n        fapiaoNo: this.invoiceDetailInfo.fapiaoNo,\n        remark: this.invoiceDetailInfo.remark,\n        applyNo: this.invoiceDetailInfo.applyNo,\n        \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(() => {\n        this.$message({\n          message: '开票成功',\n          type: 'success',\n          showClose: true,\n        });\n        this.onClose();\n      });\n    },\n  },\n};\n",null]}