Browse Source

修改验证接口

戴艳蓉 3 years ago
parent
commit
f08b549c62

+ 1 - 1
src/views/purchase/orderRecord/components/InvoiceUpload.vue

@@ -226,7 +226,7 @@ export default {
     },
 
     async invoicecheck() {
-      let res = await asyncRequest.invoicecheck({ sid: this.id });
+      let res = await asyncRequest.invoicecheck({ sid: this.id,type:1 });
       if (res && res.code === 0) {
         await this.invoiceSuccess();
       } else if (res && res.code >= 100 && res.code <= 104) {

+ 1 - 1
src/views/purchase/orderRecord/components/proofreading.vue

@@ -442,7 +442,7 @@ export default {
     },
 
     async invoicecheck() {
-      let res = await asyncRequest.invoicecheck({ sid: this.id });
+      let res = await asyncRequest.invoicecheck({ sid: this.id ,type:2});
       if (res && res.code === 0) {
         const title = "发票结果校验成功!";
         this.$notify.success({