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`, url: `/coreplay/durianfruitdetail/getDetailInfoByTreeId`,
method: 'GET', method: 'GET',
query: param.query, query: param.query,
load: true,
}) })
}, },
/** /**

View File

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

View File

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

View File

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