Commit 4c4c2423 authored by 许珑标's avatar 许珑标

电子发票去掉测试代码

parent c21f1419
......@@ -881,8 +881,8 @@ export default {
},
onlineInvoice(row) {
let taxpayerQuery = {
// companyType: 2,
// companyId: row.taxCompanyId
companyType: 2,
companyId: row.taxCompanyId
}
listAllLoginUser(taxpayerQuery).then(resp => {
if (200 === resp.code) {
......@@ -898,20 +898,20 @@ export default {
}
},
onlineGen() {
this.$prompt('请输入返回值', '操作提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(({ value }) => {
let testData = {
code: value
}
this.invoicingAfter(testData)
})
// onlineInvoicing(this.onlineInvoiceForm).then(resp => {
// if (200 === resp.code) {
// this.invoicingAfter(resp.data)
// this.$prompt('请输入返回值', '操作提示', {
// confirmButtonText: '确定',
// cancelButtonText: '取消',
// }).then(({ value }) => {
// let testData = {
// code: value
// }
// this.invoicingAfter(testData)
// })
onlineInvoicing(this.onlineInvoiceForm).then(resp => {
if (200 === resp.code) {
this.invoicingAfter(resp.data)
}
})
},
invoicingAfter(data) {
let code = data.code
......@@ -930,14 +930,8 @@ export default {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(({ value }) => {
// todo 重新发起
this.onlineInvoiceForm.smsCode = value
// this.onlineGen()
this.$message({
type: 'success',
message: '你输入的短信验证码是: ' + value
});
console.log('一键开票请求参数:', this.onlineInvoiceForm)
this.onlineGen()
})
} else if (code == 500) {
this.$modal.msgError(data.msg)
......
......@@ -293,7 +293,6 @@ export default {
this.title = "添加办税人信息";
},
getAllUnit() {
console.log(this.unitList)
if (!this.unitList || this.unitList.length < 1) {
listAllUnitInfo().then(resp => {
if (200 === resp.code) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment