diff --git a/src/views/canteen/superstore/shopMaterial/components/MaterialDialog.vue b/src/views/canteen/superstore/shopMaterial/components/MaterialDialog.vue index d210d964..a90addca 100644 --- a/src/views/canteen/superstore/shopMaterial/components/MaterialDialog.vue +++ b/src/views/canteen/superstore/shopMaterial/components/MaterialDialog.vue @@ -129,7 +129,7 @@ --> - + { + this.$refs.multipleTable.clearSelection() + },300) }, //添加货品 addMaterial(){ diff --git a/src/views/foodManage/purchaseManage/contractList/edit.vue b/src/views/foodManage/purchaseManage/contractList/edit.vue index 65a7ce0a..94473d7c 100644 --- a/src/views/foodManage/purchaseManage/contractList/edit.vue +++ b/src/views/foodManage/purchaseManage/contractList/edit.vue @@ -418,13 +418,16 @@ export default { this.contractMaterialList.splice(index,1) } }) + setTimeout(()=>{ + this.$refs.multipleTable.clearSelection() + },300) }, //添加货品 addMaterial(){ if(this.baseInfo.areaId!=undefined){ this.openDialog=true this.resetQuery() - setTimeout(()=>{ + setTimeout(()=>{ this.$refs.multipleTable1.clearSelection() },300) }else{ diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue b/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue index d2084076..01bc3821 100644 --- a/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue +++ b/src/views/foodManage/purchaseManage/goodsInquiry/edit.vue @@ -487,6 +487,9 @@ export default { this.materialList.splice(index,1) } }) + setTimeout(()=>{ + this.$refs.multipleTable.clearSelection() + },300) }, //添加货品 addMaterial(){ diff --git a/src/views/foodManage/purchaseManage/goodsInquiry/index.vue b/src/views/foodManage/purchaseManage/goodsInquiry/index.vue index 17eeb1f3..1e22743e 100644 --- a/src/views/foodManage/purchaseManage/goodsInquiry/index.vue +++ b/src/views/foodManage/purchaseManage/goodsInquiry/index.vue @@ -97,12 +97,12 @@ - + + +