发票去掉仓库

dev
郑明梁 2 years ago
parent 2b55091af5
commit 2a92f1b2d1

@ -314,7 +314,6 @@ export default {
limit: 10, limit: 10,
startTime: null, startTime: null,
endTime: null, endTime: null,
invCode: this.$store.getters.locInvCode
}, },
corpLoading: false, corpLoading: false,
@ -601,6 +600,7 @@ export default {
}, },
getCodeDetailLists() { getCodeDetailLists() {
debugger
this.filterQuery.invoiceEncode = this.inputQuery.invoiceEncode this.filterQuery.invoiceEncode = this.inputQuery.invoiceEncode
this.filterQuery.vueType = 'supInvoice' this.filterQuery.vueType = 'supInvoice'
this.codeDetailLoading = true this.codeDetailLoading = true
@ -713,6 +713,7 @@ export default {
this.$message.error('发票编码不能为空!') this.$message.error('发票编码不能为空!')
return return
} }
if(this.list.length==0){
// //
checkInvoiceCode({invoiceEncode:this.inputQuery.invoiceEncode}) checkInvoiceCode({invoiceEncode:this.inputQuery.invoiceEncode})
.then((response) => { .then((response) => {
@ -725,6 +726,9 @@ export default {
.catch((response) => { .catch((response) => {
this.$message.error(response.message) this.$message.error(response.message)
}) })
}else{
this.invoiceSelectRegByOrderVisible = true
}
}, },
closeAcceptDialog(){ closeAcceptDialog(){
this.invoiceSelectRegByOrderVisible = false this.invoiceSelectRegByOrderVisible = false

Loading…
Cancel
Save