|  | @@ -65,6 +65,7 @@
 | 
	
		
			
				|  |  |            :option="tableOption"
 | 
	
		
			
				|  |  |            @row-del="rowDel"
 | 
	
		
			
				|  |  |            @saveColumn="saveColumn"
 | 
	
		
			
				|  |  | +          @resetColumn="resetColumn"
 | 
	
		
			
				|  |  |            :summary-method="summaryMethod"
 | 
	
		
			
				|  |  |            :cell-style="cellStyle"
 | 
	
		
			
				|  |  |          >
 | 
	
	
		
			
				|  | @@ -255,6 +256,8 @@
 | 
	
		
			
				|  |  |                :page.sync="page"
 | 
	
		
			
				|  |  |                @on-load="onLoad"
 | 
	
		
			
				|  |  |                @saveColumn="saveGoodsColumn"
 | 
	
		
			
				|  |  | +              @resetColumn="resetGoodsColumn"
 | 
	
		
			
				|  |  | +              :cell-style="cellStyle"
 | 
	
		
			
				|  |  |              ></avue-crud>
 | 
	
		
			
				|  |  |            </el-col>
 | 
	
		
			
				|  |  |          </el-row>
 | 
	
	
		
			
				|  | @@ -865,6 +868,20 @@ export default {
 | 
	
		
			
				|  |  |          this.$refs.crud.$refs.dialogColumn.columnBox = false;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    async resetColumn() {
 | 
	
		
			
				|  |  | +      this.tableOption = tableOption;
 | 
	
		
			
				|  |  | +      const inSave = await this.delColumnData(
 | 
	
		
			
				|  |  | +        this.getColumnName(11),
 | 
	
		
			
				|  |  | +        tableOption
 | 
	
		
			
				|  |  | +      );
 | 
	
		
			
				|  |  | +      if (inSave) {
 | 
	
		
			
				|  |  | +        this.$message.success("重置成功");
 | 
	
		
			
				|  |  | +        //关闭窗口
 | 
	
		
			
				|  |  | +        setTimeout(() => {
 | 
	
		
			
				|  |  | +          this.$refs.crud.$refs.dialogColumn.columnBox = false;
 | 
	
		
			
				|  |  | +        }, 1000);
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      async saveGoodsColumn() {
 | 
	
		
			
				|  |  |        const inSave = await this.saveColumnData(
 | 
	
		
			
				|  |  |          this.getColumnName(31),
 | 
	
	
		
			
				|  | @@ -875,6 +892,20 @@ export default {
 | 
	
		
			
				|  |  |          //关闭窗口
 | 
	
		
			
				|  |  |          this.$refs.goodsCrud.$refs.dialogColumn.columnBox = false;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    async resetGoodsColumn() {
 | 
	
		
			
				|  |  | +      this.goodsOption = goodsOption;
 | 
	
		
			
				|  |  | +      const inSave = await this.delColumnData(
 | 
	
		
			
				|  |  | +        this.getColumnName(31),
 | 
	
		
			
				|  |  | +        goodsOption
 | 
	
		
			
				|  |  | +      );
 | 
	
		
			
				|  |  | +      if (inSave) {
 | 
	
		
			
				|  |  | +        this.$message.success("重置成功");
 | 
	
		
			
				|  |  | +        //关闭窗口
 | 
	
		
			
				|  |  | +        setTimeout(() => {
 | 
	
		
			
				|  |  | +          this.$refs.goodsCrud.$refs.dialogColumn.columnBox = false;
 | 
	
		
			
				|  |  | +        }, 1000);
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
		
			
				|  |  |  };
 |