Commit edb9778b authored by 786817560's avatar 786817560

Merge branch 'develop' of https://hel.hand-china.com/xugong/hls-xcmg-vue-app into develop

parents 20117859 3443f8c4
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
methods: { methods: {
toPayEntry (money) { toPayEntry (money) {
this.$router.push({ this.$router.push({
name: 'PayEntry', name: 'MarginPayEntry',
params: { params: {
money, money,
}, },
......
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
}, },
methods: { methods: {
addRows (e) { addRows (e) {
let addNum = parseInt(e.length / 25) let addNum = parseInt(e.length / 16)
if (addNum === 0) { if (addNum === 0) {
this.$refs.myTestarea.rows = 1 this.$refs.myTestarea.rows = 1
} else if (addNum >= addNum - 1 && addNum < addNum + 1) { } else if (addNum >= addNum - 1 && addNum < addNum + 1) {
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
} }
}, },
addRowsLive (e) { addRowsLive (e) {
let addNum = parseInt(e.length / 25) let addNum = parseInt(e.length / 16)
if (addNum === 0) { if (addNum === 0) {
this.$refs.myTestareaLive.rows = 1 this.$refs.myTestareaLive.rows = 1
} else if (addNum >= addNum - 1 && addNum < addNum + 1) { } else if (addNum >= addNum - 1 && addNum < addNum + 1) {
......
...@@ -143,8 +143,8 @@ ...@@ -143,8 +143,8 @@
slot="content" slot="content"
ref="myTestareaLive" ref="myTestareaLive"
v-model="baseInfo.living_address" v-model="baseInfo.living_address"
cols="34"
rows="1" rows="1"
cols="30"
placeholder="请输入居住地址" placeholder="请输入居住地址"
@input="addRowsLive(baseInfo.living_address)" @input="addRowsLive(baseInfo.living_address)"
/> />
...@@ -605,7 +605,7 @@ export default { ...@@ -605,7 +605,7 @@ export default {
}) })
}, },
addRows (e) { addRows (e) {
let addNum = parseInt(e.length / 25) let addNum = parseInt(e.length / 16)
if (addNum === 0) { if (addNum === 0) {
this.$refs.myTestarea.rows = 1 this.$refs.myTestarea.rows = 1
} else if (addNum >= addNum - 1 && addNum < addNum + 1) { } else if (addNum >= addNum - 1 && addNum < addNum + 1) {
...@@ -613,7 +613,8 @@ export default { ...@@ -613,7 +613,8 @@ export default {
} }
}, },
addRowsLive (e) { addRowsLive (e) {
let addNum = parseInt(e.length / 25) let addNum = parseInt(e.length / 16)
console.log(addNum)
if (addNum === 0) { if (addNum === 0) {
this.$refs.myTestareaLive.rows = 1 this.$refs.myTestareaLive.rows = 1
} else if (addNum >= addNum - 1 && addNum < addNum + 1) { } else if (addNum >= addNum - 1 && addNum < addNum + 1) {
......
...@@ -564,7 +564,7 @@ export default { ...@@ -564,7 +564,7 @@ export default {
}) })
}, },
addRows (e) { addRows (e) {
let addNum = parseInt(e.length / 25) let addNum = parseInt(e.length / 16)
if (addNum === 0) { if (addNum === 0) {
this.$refs.myTestarea.rows = 1 this.$refs.myTestarea.rows = 1
} else if (addNum >= addNum - 1 && addNum < addNum + 1) { } else if (addNum >= addNum - 1 && addNum < addNum + 1) {
...@@ -572,7 +572,7 @@ export default { ...@@ -572,7 +572,7 @@ export default {
} }
}, },
addRowsLive (e) { addRowsLive (e) {
let addNum = parseInt(e.length / 25) let addNum = parseInt(e.length / 16)
if (addNum === 0) { if (addNum === 0) {
this.$refs.myTestareaLive.rows = 1 this.$refs.myTestareaLive.rows = 1
} else if (addNum >= addNum - 1 && addNum < addNum + 1) { } else if (addNum >= addNum - 1 && addNum < addNum + 1) {
...@@ -580,7 +580,7 @@ export default { ...@@ -580,7 +580,7 @@ export default {
} }
}, },
addAddressRows (e) { addAddressRows (e) {
let addNum = parseInt(e.length / 25) let addNum = parseInt(e.length / 16)
if (addNum === 0) { if (addNum === 0) {
this.$refs.address.rows = 1 this.$refs.address.rows = 1
} else if (addNum >= addNum - 1 && addNum < addNum + 1) { } else if (addNum >= addNum - 1 && addNum < addNum + 1) {
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
}) })
}, },
addRows (e) { addRows (e) {
let addNum = parseInt(e.length / 25) let addNum = parseInt(e.length / 16)
if (addNum === 0) { if (addNum === 0) {
this.$refs.myTestarea.rows = 1 this.$refs.myTestarea.rows = 1
} else if (addNum >= addNum - 1 && addNum < addNum + 1) { } else if (addNum >= addNum - 1 && addNum < addNum + 1) {
...@@ -147,7 +147,8 @@ export default { ...@@ -147,7 +147,8 @@ export default {
} }
}, },
addRowsLive (e) { addRowsLive (e) {
let addNum = parseInt(e.length / 25) let addNum = parseInt(e.length / 16)
console.log(addNum)
if (addNum === 0) { if (addNum === 0) {
this.$refs.myTestareaLive.rows = 1 this.$refs.myTestareaLive.rows = 1
} else if (addNum >= addNum - 1 && addNum < addNum + 1) { } else if (addNum >= addNum - 1 && addNum < addNum + 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment