fix: H5功能测试问题大整改。

This commit is contained in:
tianyongbao
2024-07-19 14:36:01 +08:00
parent 6cff60c160
commit 7bc9c4acd5
56 changed files with 81 additions and 19 deletions

View File

@@ -29,7 +29,7 @@
inputAlign="right" border="none"></u--input>
<u-icon slot="right" name="arrow-down"></u-icon>
</u-form-item>
<u-form-item label="备注" prop="remark" required labelPosition="top">
<u-form-item label="备注" prop="remark" labelPosition="top">
<u--textarea v-model="form.remark" placeholder="请填写备注" border="none" autoHeight inputAlign="right" count
maxlength="20000" style="padding:18rpx 0;"></u--textarea>
</u-form-item>
@@ -183,7 +183,7 @@ onLoad((option) => {
proxy.$refs['createTimeRef'].innerValue = new Date().getTime()
}
function datePickConfirm(e) {
form.value.createTime = dayjs(e.value).format("YYYY-MM-DD")
form.value.billDate = dayjs(e.value).format("YYYY-MM-DD")
datePickShow.value = false
}
function submit() {

View File

@@ -127,6 +127,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -112,6 +112,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -250,7 +250,7 @@ onLoad((option) => {
updateInstallmentHistory(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '修改成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` })
uni.navigateTo({ url: `/pages/work/bill/creditInstallmentHistory/list` })
}
})
})
@@ -258,7 +258,7 @@ onLoad((option) => {
addInstallmentHistory(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '新增成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` })
uni.navigateTo({ url: `/pages/work/bill/creditInstallmentHistory/list` })
}
})
})

View File

@@ -95,6 +95,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -148,6 +148,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -24,7 +24,7 @@
<u--input v-model="form.queryDate" disabled disabledColor="#ffffff" placeholder="请选择查询日期" inputAlign="right" border="none"></u--input>
<u-icon slot="right" name="arrow-right"></u-icon>
</u-form-item>
<u-form-item label="备注" prop="remark" required labelPosition="top">
<u-form-item label="备注" prop="remark" labelPosition="top">
<u--textarea v-model="form.remark" placeholder="请填写备注" border="none" autoHeight inputAlign="right" count
maxlength="20000" style="padding:18rpx 0;"></u--textarea>
</u-form-item>

View File

@@ -108,6 +108,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -152,7 +152,7 @@ onLoad((option) => {
proxy.$refs['createTimeRef'].innerValue = new Date().getTime()
}
function datePickConfirm(e) {
form.value.createTime = dayjs(e.value).format("YYYY-MM-DD")
form.value.billDate = dayjs(e.value).format("YYYY-MM-DD")
datePickShow.value = false
}
function submit() {

View File

@@ -127,6 +127,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -87,6 +87,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -95,6 +95,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -148,6 +148,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -226,7 +226,7 @@ onLoad((option) => {
updateInstallmentHistory(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '修改成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` })
uni.navigateTo({ url: `/pages/work/bill/peopleLendHistory/list` })
}
})
})
@@ -234,7 +234,7 @@ onLoad((option) => {
addInstallmentHistory(form.value).then(res => {
proxy.$refs['uToast'].show({
message: '新增成功', complete() {
uni.navigateTo({ url: `/pages/work/bill/onlineLendHistory/list` })
uni.navigateTo({ url: `/pages/work/bill/peopleLendHistory/list` })
}
})
})

View File

@@ -116,6 +116,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -152,7 +152,7 @@ onLoad((option) => {
proxy.$refs['createTimeRef'].innerValue = new Date().getTime()
}
function datePickConfirm(e) {
form.value.createTime = dayjs(e.value).format("YYYY-MM-DD")
form.value.billDate = dayjs(e.value).format("YYYY-MM-DD")
datePickShow.value = false
}
function submit() {

View File

@@ -127,6 +127,7 @@ onLoad((option) => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}

View File

@@ -87,6 +87,7 @@ onLoad(() => {
onShow(() => {
if (isShow.value) {
listData.value=[]
getList()
isShow.value = false
}