diff --git a/src/views/production/harvestInfo/index.vue b/src/views/production/harvestInfo/index.vue
index f5648e6..b423c0e 100644
--- a/src/views/production/harvestInfo/index.vue
+++ b/src/views/production/harvestInfo/index.vue
@@ -44,7 +44,7 @@
-
@@ -585,25 +577,10 @@ export default {
}
},
- handleDeleteGoods(index,row){
- let id = this.form.id;
- if( id ){
- let ids = row.id;
- deleteHarvestBatchs({
- ids,
- }).then((res)=>{
- console.log('删除成功');
- let i;
- this.inputCheckedIdList.map((item,index)=>{
- if(item == row.goodsId) i=index;
- });
- this.inputsList.splice(i,1)
- this.inputCheckedIdList.splice(i,1)
- this.form.harvestBatchs.splice(index,1)
- });
- }else{
- this.form.harvestBatchs.splice(index,1)
- }
+ handleDeleteGoods(index, row) {
+ this.inputsList.splice(index, 1);
+ this.inputCheckedIdList.splice(index, 1);
+ this.form.harvestBatchs.splice(index, 1);
},
changeBusiness(){
diff --git a/src/views/production/inspection/index.vue b/src/views/production/inspection/index.vue
index a931852..5766141 100644
--- a/src/views/production/inspection/index.vue
+++ b/src/views/production/inspection/index.vue
@@ -60,7 +60,7 @@
{{parseTime(row.createTime)}}
-