发票bug修复

dev
郑明梁 2 years ago
parent 767c7ad844
commit c342391e65

@ -449,7 +449,7 @@ export default {
imgList: [],
imgViewerVisible: false,
cowEn:null,
//
orderLoading: false,
orderList: [],
@ -686,6 +686,7 @@ export default {
// this.resultDetailList = [];
},
handleInvoiceChange(val) {
this.cowEn=val;
this.getOrderList(val)
this.getProductDetailList(val)
},
@ -694,11 +695,11 @@ export default {
getProductDetailList(row) {
this.productDetailLoading = true
this.productDetailList = []
if (row == null || isBlank(row.invoiceEncode)) {
if (this.cowEn == null || isBlank(this.cowEn.invoiceEncode)) {
this.$message.error('请选择对应发票!')
return
}
this.productQuery.invoiceEncode = row.invoiceEncode
this.productQuery.invoiceEncode = this.cowEn.invoiceEncode
productDetail(this.productQuery).then((res) => {
this.productDetailLoading = false
if (res.code === 20000) {

Loading…
Cancel
Save