<template>
    <div>
        <el-dialog title="交易设置" :visible.sync="dialogFormVisible">
        </el-dialog>
    </div>
</template>
data:(){
    return{
        dialogFormVisible: false,
    }
},
watch:{
        	dialogFormVisible: {
            	deep: true,
            	handler: function (newVal,oldVal){
					if(this.dialogFormVisible == false){
						this.clearElinput();
					}
					
            	}
        	}
    	},
methods:{
    clearElinput(){
				// alert(1);
				this.trade="";
				this.prdPrice="";
				this.trdeWord="";
				this.lowDiscount="";
				this.rebuyPrice="";
				this.managerDiscount="";
				// this.changeSelect="";
				this.VipPrice="";
				this.billName="";
				this.billNumber="";

			

				// if(this.isBill)
				// $.busitrans.pushPrice(+"");
				// $.busitrans.pushPrice(+"");
				
			},
}

 

 

Logo

前往低代码交流专区

更多推荐