|
|
|
@ -62,7 +62,7 @@ |
|
|
|
|
<!-- 点击打开打印机--> |
|
|
|
|
<el-tooltip placement="top" popper-class="sth-popper" offset="-400"> |
|
|
|
|
<div slot="content"> |
|
|
|
|
<img v-lazy="lazyImg[17]" class="contentHeight" alt="" /> |
|
|
|
|
<img v-lazy="lazyImg[17]" style="height: 50px;" alt="" /> |
|
|
|
|
</div> |
|
|
|
|
<img class="sth printer cp" v-lazy="lazyImg[18]" alt="" @click="showData('打印机',7)" /> |
|
|
|
|
</el-tooltip> |
|
|
|
@ -136,7 +136,7 @@ |
|
|
|
|
|
|
|
|
|
<!-- 动画开始 --> |
|
|
|
|
<div v-if="popText==='密码器'" style="width:800px;padding-right:150px;padding-top:80px"> |
|
|
|
|
<el-form :model="passwordForm" :rules="passwordRules" ref="form" label-width="180px"> |
|
|
|
|
<el-form :model="passwordForm" :rules="passwordRules" ref="form" label-width="180px" key="passwordFormpasswordAgain"> |
|
|
|
|
<el-form-item label="密码" prop="passwordAgain"> |
|
|
|
|
<el-input v-focus show-password v-model="passwordForm.passwordAgain" maxlength="6" onkeyup="{this.value=this.value.replace(/\D/g,'')}" autocomplete="off"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
@ -144,7 +144,7 @@ |
|
|
|
|
<el-input show-password v-model="passwordForm.password" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off"></el-input> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
<!-- <el-form-item label="确认密码" prop="password2" v-if="systemId == '62,1' || systemId == '62,2' || systemId == '62,3'"> --> |
|
|
|
|
<el-form-item label="确认密码" prop="password2"> |
|
|
|
|
<el-form-item label="确认密码" prop="password2" key="passwordFormpassword2" v-if="id == '62,1' || id == '62,2' || id == '62,3'"> |
|
|
|
|
<el-input show-password v-model="passwordForm.password2" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
@ -308,10 +308,10 @@ |
|
|
|
|
|
|
|
|
|
<!-- 图片查看器 --> |
|
|
|
|
<el-dialog |
|
|
|
|
custom-class="data-dia imgIndex" |
|
|
|
|
class="" |
|
|
|
|
custom-class="data-dia " |
|
|
|
|
class="imgIndex" |
|
|
|
|
:visible.sync="showImg" |
|
|
|
|
width="634px" |
|
|
|
|
width="850px" |
|
|
|
|
> |
|
|
|
|
<img :src="imgSrc" class="imgPop imgIndex min-w-full " alt=""> |
|
|
|
|
<!-- <div :style="{'background':'url('+imgSrc+')','height':'500px','background-repeat': 'no-repeat',--> |
|
|
|
@ -357,12 +357,26 @@ |
|
|
|
|
:visible.sync="peopleJudge" |
|
|
|
|
custom-class="2xl:w-7/12 xl:w-9/12 lg:w-full h-auto rounded-2xl border-2 border-gray-600" |
|
|
|
|
center> |
|
|
|
|
<h3 class="text-4xl antialiased text-center">客户: 你好。</h3> |
|
|
|
|
<h3 class="text-2xl antialiased text-center">请选择客户签字或返还资料</h3> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button @click="peopleDoing(1)">客户签字</el-button> |
|
|
|
|
<el-button type="primary" @click="peopleDoing(2)">返还资料</el-button> |
|
|
|
|
<el-button @click="peopleDoing(1)" class="w-52 h-14">客户签字</el-button> |
|
|
|
|
<el-button type="primary" @click="peopleDoing(2)" class="w-52 h-14">返还资料</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
title="提示" |
|
|
|
|
:visible.sync="voucherCardGet" |
|
|
|
|
width="30%" |
|
|
|
|
center> |
|
|
|
|
<h3 class="text-2xl antialiased text-center">请问需要取出几张银行卡</h3> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button @click="voucherCardGetIt(1)">取出一张</el-button> |
|
|
|
|
<el-button type="primary" @click="voucherCardGetIt(2)">取出两张</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
@ -409,6 +423,9 @@ export default { |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
return { |
|
|
|
|
voucherCardGet: false, |
|
|
|
|
voucherCardNumber: 0, |
|
|
|
|
|
|
|
|
|
// 方便操作的数据:调整弹出框高度 |
|
|
|
|
fit: 'scale-down', |
|
|
|
|
controlGoodsDblClickFn: null, |
|
|
|
@ -434,7 +451,7 @@ export default { |
|
|
|
|
dateBirthYear:'1994', |
|
|
|
|
dateBirthMonth:'4', |
|
|
|
|
dateBirthDay:'1', |
|
|
|
|
address:'奥斯卡巅峰计划拉水电费啥地方', |
|
|
|
|
address:'在山的那边海的那边', |
|
|
|
|
idCardNo:'465852346854168479'}, |
|
|
|
|
{name:'开户申请书', src:require('@/assets/img/goods/khsqs.png'), id:14}, |
|
|
|
|
{name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15}, |
|
|
|
@ -1344,6 +1361,12 @@ export default { |
|
|
|
|
outThingsGoods: 'system/outThingsGoods', |
|
|
|
|
setTipsOperate: 'system/setTipsOperate' |
|
|
|
|
}), |
|
|
|
|
voucherCardGetIt(number) { |
|
|
|
|
if(number === 2) { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
this.voucherCardGet = false |
|
|
|
|
}, |
|
|
|
|
changePeopleJudge() { |
|
|
|
|
this.peopleJudge = true; |
|
|
|
|
}, |
|
|
|
@ -1573,15 +1596,15 @@ export default { |
|
|
|
|
}else if(this.popText.includes('密码器')) { |
|
|
|
|
// if(this.systemId == '62,1' || this.systemId == '62,2' || this.systemId == '62,3') { |
|
|
|
|
// if(this.passwordForm.password2 !== this.passwordForm.passwordAgain) { |
|
|
|
|
// this.setTipsOperate('您输入的密码和确认密码不一致!') |
|
|
|
|
// this.setTipsOperate('两次输入密码不一致') |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
if(this.passwordForm.passwordAgain.length !== 6) { |
|
|
|
|
this.setTipsOperate('您输入的密码不足6位!') |
|
|
|
|
return |
|
|
|
|
}else if(this.passwordForm.password2 !== this.passwordForm.passwordAgain) { |
|
|
|
|
this.setTipsOperate('您输入的密码和确认密码不一致!') |
|
|
|
|
}else if((this.id == '62,1' || this.id == '62,2' || this.id == '62,3') && this.passwordForm.password2 !== this.passwordForm.passwordAgain) { |
|
|
|
|
this.setTipsOperate('两次输入密码不一致') |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
}else if(this.popText.includes('身份证扫描')) { |
|
|
|
@ -2030,7 +2053,7 @@ export default { |
|
|
|
|
// that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id]) |
|
|
|
|
}else if (this.nbm == 7){ //打印机 |
|
|
|
|
if(this.goodState.length === 0) { |
|
|
|
|
this.setTipsOperate('请放入证件!') |
|
|
|
|
this.setTipsOperate('请放入打印资料') |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
@ -2061,7 +2084,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
this.setTipsOperate('您输入的密码和确认密码不一致!') |
|
|
|
|
this.setTipsOperate('两次输入密码不一致!') |
|
|
|
|
} |
|
|
|
|
}else if (this.nbm == 9){//资料 |
|
|
|
|
if(this.goodState.length === 0) { |
|
|
|
@ -2141,7 +2164,24 @@ export default { |
|
|
|
|
const targetDom = this.$refs.goods.getBoundingClientRect() |
|
|
|
|
return evt.originalEvent.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left && evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// inputListenCard(val, prop) { |
|
|
|
|
// const tmpCheck = val.substr(val.length-1, 1); |
|
|
|
|
// if(tmpCheck === ' ') { |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
// if(val === '') { |
|
|
|
|
// this[prop] = val; |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
// const tmpGet = Number(val.replace(/\D+/, '')) |
|
|
|
|
// if(tmpGet <= 2 && tmpGet>0) { |
|
|
|
|
// this[prop] = tmpGet |
|
|
|
|
// }else { |
|
|
|
|
// this.setTipsOperate('最多只能取出两张') |
|
|
|
|
// this[prop] = 2 |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
// } |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|