2025 02 19 工作代码提交

This commit is contained in:
sx 2025-02-19 18:02:15 +08:00
parent 0ee1576f8b
commit a3f0bb6703
4 changed files with 22 additions and 5 deletions

View File

@ -23,6 +23,7 @@ export const durian = {
url: `/coreplay/durianfruitdetail/getDetailInfoByTreeId`,
method: 'GET',
query: param.query,
load: true,
})
},
/**

View File

@ -263,7 +263,7 @@
{
"path": "pages/index/durianLog",
"style": {
"navigationBarTitleText": "榴莲果明细",
"navigationBarTitleText": "榴莲果产出明细",
"navigationBarBackgroundColor": "#fff",
"enablePullDownRefresh": true
}

View File

@ -148,6 +148,13 @@
}).then(rs => {
if (rs.code == 200) {
if (rs.data) proxy.$refs.payPwdRef.open()
else {
util.alert({
content: '姓名不匹配',
showCancel: false,
})
form.first = ''
}
return
}
util.alert({
@ -167,10 +174,6 @@
util.alert('请输入对方姓名首字母')
return
}
if (!form.first) {
util.alert('请输入对方姓名首字母')
return
}
if (!form.account) {
util.alert('请输入账号')
return
@ -191,6 +194,8 @@
transactionType: 10,
//
fruitAmount: form.fruitAmount,
//
totalAmount: form.fruitAmount,
//
name: `${form.first}${form.name}`,
//
@ -200,8 +205,15 @@
}
}).then(rs => {
if (rs.code === 200) {
form.fruitAmount = ''
form.account = ''
form.first = ''
proxy.$refs.dealRef.close()
proxy.$refs.payee.close()
//
util.getPurse()
//
util.alert('转让成功')
return
}
util.alert({
@ -415,6 +427,7 @@
//
.payee {
//
.side {
width: 80rpx;

View File

@ -110,6 +110,9 @@
</view>
</view>
</view>
<!-- 暂无更多 -->
<view class="nomore mtb50" v-if="!scrollLog.data[0]">暂无明细~</view>
</view>
<!-- 填充 -->