| @@ -70,7 +70,7 @@ | |||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view class="clive" @click.stop="btnSave" :style="{background:(tap==true?'#2671E2':'#949494')}">确定</view> | |||||
| <view class="clive" @click.stop="btnSave" :style="{background:(isBand==false?'#2671E2':'#949494')}">确定</view> | |||||
| <!-- <view v-if="Showhiddenunits"> --> | <!-- <view v-if="Showhiddenunits"> --> | ||||
| <!-- <u-select v-model="show" :list="list"></u-select> --> | <!-- <u-select v-model="show" :list="list"></u-select> --> | ||||
| @@ -171,16 +171,17 @@ | |||||
| this.parames.replaceReception = 1; | this.parames.replaceReception = 1; | ||||
| this.baochunfun() | this.baochunfun() | ||||
| }, | }, | ||||
| btnSave() { | |||||
| let that = this | |||||
| clearTimeout(this.fdFlag) | |||||
| this.fdFlag = setTimeout(() => { | |||||
| that.save() | |||||
| that.fdFlag = null; | |||||
| }, 500) | |||||
| btnSave() { | |||||
| if (this.isBand) return | |||||
| that.save() | |||||
| // let that = this | |||||
| // clearTimeout(this.fdFlag) | |||||
| // this.fdFlag = setTimeout(() => { | |||||
| // that.fdFlag = null; | |||||
| // }, 500) | |||||
| }, | }, | ||||
| save() { | save() { | ||||
| if (this.isBand) return | |||||
| if (this.parames.name.length == 0) { | if (this.parames.name.length == 0) { | ||||
| uni.showToast({ | uni.showToast({ | ||||
| icon: "none", | icon: "none", | ||||