|
@@ -173,6 +173,20 @@
|
|
|
:maskClosable="false"
|
|
|
>
|
|
|
</tui-modal>
|
|
|
+ <!-- 弹窗提示 -->
|
|
|
+ <tui-modal
|
|
|
+ :show="modal1"
|
|
|
+ @click="handleClick1"
|
|
|
+ @cancel="hideMobel1"
|
|
|
+ :title="contentModalTitle1"
|
|
|
+ :content="contentModalText1"
|
|
|
+ :button="modalButton1"
|
|
|
+ color="#333"
|
|
|
+ :size="32"
|
|
|
+ shape="circle"
|
|
|
+ :maskClosable="false"
|
|
|
+ >
|
|
|
+ </tui-modal>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -212,6 +226,16 @@ export default {
|
|
|
setDateTime: '',
|
|
|
startYear: 1980,
|
|
|
endYear: 2030,
|
|
|
+ modalButton1: [
|
|
|
+ {
|
|
|
+ text: '确定',
|
|
|
+ customStyle: {
|
|
|
+ color: '#fff',
|
|
|
+ bgColor: '#4688fa'
|
|
|
+ },
|
|
|
+ plain: false
|
|
|
+ }
|
|
|
+ ],
|
|
|
modalButton: [
|
|
|
{
|
|
|
text: '取消',
|
|
@@ -249,7 +273,9 @@ export default {
|
|
|
isReceiptType: false,
|
|
|
contentModalTitle: '',
|
|
|
contentModalText: '', //操作文字提示语句
|
|
|
- modal: false
|
|
|
+ contentModalText1:'该收款银行账号已被删除,请检查短信是否有误或联系管理员!' ,
|
|
|
+ modal: false,
|
|
|
+ modal1: false
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
@@ -338,7 +364,11 @@ export default {
|
|
|
this.initInput()
|
|
|
})
|
|
|
.catch(err => {
|
|
|
- this.$util.msg(err.msg, 2000)
|
|
|
+ if(err.code === -2){
|
|
|
+ this.modal1 = true
|
|
|
+ }else{
|
|
|
+ this.$util.msg(err.msg, 2000)
|
|
|
+ }
|
|
|
})
|
|
|
},
|
|
|
|
|
@@ -467,10 +497,21 @@ export default {
|
|
|
}
|
|
|
this.modal = false
|
|
|
},
|
|
|
+ handleClick1(e) {
|
|
|
+ let index = e.index;
|
|
|
+ if (index === 0) {
|
|
|
+ this.params.smsContent = ''
|
|
|
+ }
|
|
|
+ this.hideMobel1();
|
|
|
+ },
|
|
|
hideMobel() {
|
|
|
// 取消收款
|
|
|
this.modal = false
|
|
|
},
|
|
|
+ hideMobel1() {
|
|
|
+ // 取消收款
|
|
|
+ this.modal1 = false
|
|
|
+ },
|
|
|
changeNumber(e) {
|
|
|
// 校验输入为数字
|
|
|
this.params.receiptAmount = this.handleReceiptAmount = this.checkedNumberVal(e.detail.value)
|