20240205
luoJunYong.123 3 years ago
parent 0eabb0e980
commit 7bf761f5af
  1. 7
      src/App.vue
  2. 1
      src/components/tipDialog/index.vue
  3. 50
      src/pages/counter/list/index.vue
  4. 2
      src/utils/utilFunction.js

@ -3,7 +3,7 @@
<select-business class="selectBusiness" :showIt.sync="showIt" v-show="!showIt && showBusiness" />
<router-view></router-view>
<vCase :showIt.sync="showIt"></vCase>
<tip-dialog />
<tip-dialog class="Z-9999" />
</div>
</template>
<script>
@ -93,4 +93,9 @@
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
opacity: 0;
}
.Z-9999 {
position: absolute;
z-index: 9999;
}
</style>

@ -61,6 +61,7 @@ export default {
<style lang='scss' scoped>
/deep/.data-dia{
// width:80%;
position: relative;
width: 800px;
min-width:400px;
margin: auto;

@ -3,7 +3,8 @@
<back-Button />
<!-- <img class="sth bg" v-lazy="lazyImg[2]" alt="" /> -->
<!-- <img class="sth guide" src="@/assets/img/guide.png" alt="" /> -->
<img class="sth man cp" v-lazy="lazyImg[0]" alt="" @click="changePeopleJudge"/>
<!-- <img class="sth man cp" v-lazy="lazyImg[0]" alt="" @click="changePeopleJudge"/> -->
<img slot="reference" class="sth man cp" v-lazy="lazyImg[0]" alt="" @click="changePeopleJudge"/>
<img class="sth counter" v-lazy="lazyImg[1]" alt="" />
<img class="sth glass" v-lazy="lazyImg[2]" alt="" @click="changePeopleJudge"/>
@ -310,11 +311,11 @@
<el-dialog
title="客户对话中..."
: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 border-dashed"
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>
<span slot="footer" class="dialog-footer">
<el-button @click="peopleDoing(1)">签字</el-button>
<el-button @click="peopleDoing(1)">签字</el-button>
<el-button type="primary" @click="peopleDoing(2)">返还资料</el-button>
</span>
</el-dialog>
@ -626,6 +627,8 @@ export default {
this.$refs.dataDia
this.receptionList = []
this.passwordForm.passwordAgain = ''
this.passwordForm.password2 = ''
if(!this.showGoods) this.checkList = []
return this.$store.state.system.showPop;
//
@ -1527,10 +1530,20 @@ export default {
// }
// }
if(this.passwordForm.passwordAgain.length !== 6) {
this.setTipsOperate('您输入的密码不足6位!')
this.$message({
center: true,
showClose: true,
message: '您输入的密码不足6位!',
type: 'error'
});
return
}else if(this.passwordForm.password2 !== this.passwordForm.passwordAgain) {
this.setTipsOperate('您输入的密码和确认密码不一致!')
this.$message({
center: true,
showClose: true,
message: '您输入的密码和确认密码不一致!',
type: 'error'
});
return
}
}else if(this.popText.includes('身份证扫描')) {
@ -1755,6 +1768,7 @@ export default {
})
}else if (this.popText === '密码器') {
this.setTipsOperate('输入密码成功!')
}
// this.showGoods = false
this.changeShowGoods(false)
@ -1800,6 +1814,10 @@ export default {
})
}
}else if (this.nbm == 1){ //
if(this.goodState.length === 0) {
this.setTipsOperate('传票栏中未放入物品!')
return
}
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,4,"+this.goodState[i].id,"type": ""})}
@ -1949,6 +1967,15 @@ export default {
// this.sealChecked = []
// this.$store.commit('system/changePop', {show: false, text: ''})
}else if (this.nbm == 6){ //
if(this.goodState.length === 0 || this.goodState[0].id !== 15) {
this.$message({
center: true,
showClose: true,
message: '请放入现金!',
type: 'error'
});
return
}
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,9,"+this.goodState[i].id,"type": ""})}
@ -1965,6 +1992,15 @@ export default {
// that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id])
}else if (this.nbm == 7){ //
if(this.goodState.length === 0) {
this.$message({
center: true,
showClose: true,
message: '请放入证件!',
type: 'error'
});
return
}
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
for (var i=0;i<this.goodState.length;i++){formList.push({"answerId":this.goodState[i].id, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,10,"+this.goodState[i].id,"type": ""})}
@ -1979,7 +2015,6 @@ export default {
}).catch((error)=>{
})
}else if(this.nbm == 8){ //
if (this.nbm == 8){
let formList = []
let ruleReqs = sessionStorage.getItem('ruleReqs')
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []}
@ -3164,7 +3199,7 @@ export default {
left: 50%;
transform: translate(-50%, 0);
padding: 0 15px 15px;
z-index: 999;
z-index: 2900;
// border: 1px solid #e6e6e6;
// border-color: black;
box-shadow: 0 2px 6px rgba(0, 0, 0, .12), 0 0 8px rgba(0, 0, 0, .04);
@ -3467,6 +3502,7 @@ export default {
top: -3%;
left: 50%;
min-height: 65vh;
z-index: 9980;
.seal{
margin-top: -5vh;
// max-height: 40vh;

@ -192,7 +192,7 @@ const autoPlay = (parentId, form, myTable2, myTable, cards=[]) => {
// })
}).catch((error)=>{
this.$message({
message: '服务器繁忙,提交失败。',
message: '服务器繁忙,提交失败。',
center: true,
type: 'info'
});

Loading…
Cancel
Save