diff --git a/src/views/basic/business/stockOrderPrint.vue b/src/views/basic/business/stockOrderPrint.vue index 2c61b724..6f70c566 100644 --- a/src/views/basic/business/stockOrderPrint.vue +++ b/src/views/basic/business/stockOrderPrint.vue @@ -414,7 +414,8 @@ export default { .then(response => { this.loading = false; if (response.code == 20000) { - this.list = response.data.list || []; + //this.list = response.data.list || []; + this.list = []; this.total = response.data.total || 0; this.detailList = []; } else { @@ -430,7 +431,9 @@ export default { }, combine(){ - if(this.orderQuery==null && this.orderQuery.length==0){ + debugger + console.log(this.orderQuery) + if(this.orderQuery==null || this.orderQuery.length==0){ this.$message.error("请先选择单据!") return; }