修改工单问题

This commit is contained in:
2025-11-14 14:17:57 +08:00
parent edfd386e1b
commit 3259eb2465
5 changed files with 54 additions and 9 deletions

View File

@@ -17,11 +17,23 @@
<searchSelectWrapper
label="金额"
placeholder="请输入金额"
text="{{meterName}}"
fieldType="number"
type="input"
text="{{money}}"
bind:changeText="onChangeMoney"
/>
useSlot="{{true}}"
hideBorder="{{true}}"
hideMargin="{{true}}"
type=""
>
<view class="inputContent">
<van-field
value="{{ money }}"
placeholder="请输入金额"
border="{{ false }}"
bind:change="onChangeMoney"
custom-style="padding: 8rpx 0;font-size: 30rpx;line-height: 32rpx;"
/>
</view>
</searchSelectWrapper>
<searchSelectWrapper
label="付款方式"
placeholder="请选择付款方式"
@@ -31,9 +43,24 @@
<searchSelectWrapper
label="凭证"
placeholder="请输入凭证"
type="input"
bind:changeText="onChangeVoucherNo"
/>
text="{{voucherNo}}"
fieldType="number"
bind:changeText="onChangeMoney"
useSlot="{{true}}"
hideBorder="{{true}}"
hideMargin="{{true}}"
type=""
>
<view class="inputContent">
<van-field
value="{{ voucherNo }}"
placeholder="请输入凭证"
border="{{ false }}"
bind:change="onChangeVoucherNo"
custom-style="padding: 8rpx 0;font-size: 30rpx;line-height: 32rpx;"
/>
</view>
</searchSelectWrapper>
</van-cell-group>
<view style="margin-top: 60rpx;display: flex; justify-content: center; align-items: center;">

View File

@@ -1 +1,17 @@
/* pages/workBenchNew/components/recharge/index.wxss */
/* pages/workBenchNew/components/recharge/index.wxss */
.inputContent {
flex: 1;
margin-right: 10rpx;
display: flex;
padding: 0 20rpx;
border-radius: 12rpx;
border: 1rpx solid #ccc;
background-color: #fff;
position: relative;
}
.text {
flex: 1;
}

View File

@@ -107,6 +107,7 @@ Page({
const { code, message } = await handleOperateMeterMode({ ids: [meter], mode, days: days == null ? undefined : Number(days), reason, images: url })
if (code !== OK) {
alertInfo(message)
await that.init();
return
}
alertSuccess("操作成功")