diff --git a/src/views/material/back/component/home.vue b/src/views/material/back/component/home.vue index ec910ed2..ac7eaffe 100644 --- a/src/views/material/back/component/home.vue +++ b/src/views/material/back/component/home.vue @@ -545,6 +545,9 @@ export default { if (this.queryParams.time && this.queryParams.time.length > 0) { this.queryParams.startTime = this.queryParams.time[0] this.queryParams.endTime = this.queryParams.time[1] + }else{ + this.queryParams.startTime=undefined + this.queryParams.endTime=undefined } try { let params = { diff --git a/src/views/material/purchase/goodsArrived/component/addTools.vue b/src/views/material/purchase/goodsArrived/component/addTools.vue index 2368db03..e3129f23 100644 --- a/src/views/material/purchase/goodsArrived/component/addTools.vue +++ b/src/views/material/purchase/goodsArrived/component/addTools.vue @@ -554,6 +554,7 @@ export default { obj.purchaseTaxPrice = 0 obj.purchaseNum = 1 obj.fixCode = "0" + obj.status=1 obj.bmFileInfos=[] tempList.push(obj) break