20240205
luoJunYong.123 3 years ago
parent af32041336
commit 00d2be2987
  1. 14
      src/components/case/index.vue
  2. 39
      src/pages/counter/list/index.vue
  3. 9
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  4. 6
      src/store/modules/system.js

@ -408,6 +408,20 @@ export default {
return null return null
} }
} }
// if(sessionStorage.getItem(name)) {
// return sessionStorage.getItem(name)
// }else {
// var reg = new RegExp('(^|&)'+name+'=([^&]*)(&|$)')
// if(window.location.href.split('?')[1]){
// var r = window.location.href.split('?')[1].match(reg)
// if (r != null){
// return (r[2])
// }else{
// return null
// }
// }
// }
}, },
// //
getData(){ getData(){

@ -860,8 +860,6 @@ export default {
// } // }
}, },
created() { created() {
console.log('---')
console.log(process.env.NODE_ENV)
if(!sessionStorage.getItem('firstLoad')) { if(!sessionStorage.getItem('firstLoad')) {
const loading = this.$loading({ const loading = this.$loading({
lock: true, lock: true,
@ -900,26 +898,21 @@ export default {
// console.log(this.getSelectList.accountQualitySelectList) // console.log(this.getSelectList.accountQualitySelectList)
let params= {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,4', // 西
// lcJudgmentRuleReq:formList,
// projectId:+projectId, //
// startTime:startTime, // let params= {
} // parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,4',
getOperation(params).then((data)=>{ // }
if(data.status == 200) { // getOperation(params).then((data)=>{
var list = data.data.judgmentRuleReqs // if(data.status == 200) {
console.log(list) // var list = data.data.judgmentRuleReqs.map(item => item.answerId)
} // console.log(list)
// const tt1 = JSON.parse(sessionStorage.getItem('tt1')) // this.outThingsGoods([...list])
// console.log('1-tt1') // this.pushThings({ idArr: [...list], name: 'cultureIn'})
// console.log(tt1) // }
// if(tt1) { // })
// for(const key in tt1) {
// this.form[tt1] = tt1[key]
// }
// }
})
}, },
mounted(){ mounted(){
@ -1877,7 +1870,7 @@ export default {
}, },
toPart(){ toPart(){
this.$router.push('/index') this.$router.push('/index' + '?' + window.location.href.split('?')[1])
}, },
judgePosition(evt) { judgePosition(evt) {
const targetDom = this.$refs.goods.getBoundingClientRect() const targetDom = this.$refs.goods.getBoundingClientRect()

@ -98,8 +98,8 @@ export default{
} }
const { withdrawWay } = this.dataFlow const { withdrawWay } = this.dataFlow
if(withdrawWay === 126) { if(withdrawWay === 126) {
this.form.interest = 5.75 this.form.interest = '15.00'
this.rules.withdrawAmount[0].required = false // this.rules.withdrawAmount[0].required = false
if(sessionStorage.getItem('nomtimeDepositWithdrawal2')) { if(sessionStorage.getItem('nomtimeDepositWithdrawal2')) {
this.cardNumberJudge = true this.cardNumberJudge = true
@ -484,10 +484,11 @@ export default{
if(newVal === 126) { if(newVal === 126) {
this.form.withdrawAmount = Number(this.form.interest) + Number(this.form.capital) this.form.withdrawAmount = Number(this.form.interest) + Number(this.form.capital)
this.capitalDisabled = true this.capitalDisabled = true
this.form.interest = 5.75 this.form.interest = '15.00'
this.rules.newVoucherNumber = [] this.rules.newVoucherNumber = []
sessionStorage.setItem('newVoucherNumber', this.form.newVoucherNumber) sessionStorage.setItem('newVoucherNumber', this.form.newVoucherNumber)
this.form.newVoucherNumber = '' this.form.newVoucherNumber = ''
//this.rules.withdrawAmount[0].required = false
}else { }else {
if(sessionStorage.getItem('newVoucherNumber')) { if(sessionStorage.getItem('newVoucherNumber')) {
this.form.newVoucherNumber = sessionStorage.getItem('newVoucherNumber') this.form.newVoucherNumber = sessionStorage.getItem('newVoucherNumber')
@ -505,7 +506,7 @@ export default{
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.withdrawAmount.focus() this.$refs.withdrawAmount.focus()
}) })
// this.rules.withdrawAmount[0].required = true
} }
}, },
immediate: true immediate: true

@ -2472,7 +2472,7 @@ export default {
console.log(state.businessSelect[state.businessKey][name]) console.log(state.businessSelect[state.businessKey][name])
console.log(name) console.log(name)
for(let i=0; i<idArr.length; i++) { for(let i=0; i<idArr.length; i++) {
const index = state.businessSelect[state.businessKey][name].findIndex(item => item === idArr[i]) const index = state.businessSelect[state.businessKey][name].findIndex(item => item == idArr[i])
if(index === -1) { if(index === -1) {
state.businessSelect[state.businessKey][name].push(idArr[i]) state.businessSelect[state.businessKey][name].push(idArr[i])
} }
@ -2481,7 +2481,7 @@ export default {
}, },
pushThingsGoods(state, idArr) { pushThingsGoods(state, idArr) {
for(let i=0; i<idArr.length; i++) { for(let i=0; i<idArr.length; i++) {
const index = state.businessSelect[state.businessKey].data.findIndex(item => item === idArr[i]) const index = state.businessSelect[state.businessKey].data.findIndex(item => item == idArr[i])
if(index === -1) { if(index === -1) {
state.businessSelect[state.businessKey].data.push(idArr[i]) state.businessSelect[state.businessKey].data.push(idArr[i])
} }
@ -2504,7 +2504,7 @@ export default {
}, },
outThingsGoods(state, idArr) { outThingsGoods(state, idArr) {
for(let i=0; i<idArr.length; i++) { for(let i=0; i<idArr.length; i++) {
const index = state.businessSelect[state.businessKey].data.findIndex(item => item === idArr[i]) const index = state.businessSelect[state.businessKey].data.findIndex(item => item == idArr[i])
if(index !== -1) { if(index !== -1) {
state.businessSelect[state.businessKey].data.splice(index, 1) state.businessSelect[state.businessKey].data.splice(index, 1)
} }

Loading…
Cancel
Save