只有最后一条抄表记录可以修改
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
</view>
|
||||
|
||||
<view class="th" style="width: 25%; text-align: center; justify-content: center; display: flex; align-items: center;">
|
||||
<van-icon name="edit" size="40rpx" bind:tap="handleUpdate" data-data="{{item}}" color="#15755e" />
|
||||
<van-icon wx:if="{{item.isDelete}}" name="edit" size="40rpx" bind:tap="handleUpdate" data-data="{{item}}" color="#15755e" />
|
||||
<van-icon wx:if="{{item.isDelete}}" name="delete" size="40rpx" bind:tap="handleDelete" data-data="{{item}}" color="#15755e" custom-style="margin-left: 20rpx" />
|
||||
</view>
|
||||
</view>
|
||||
|
@@ -40,7 +40,7 @@
|
||||
type="primary"
|
||||
bind:tap="changeStartStatus"
|
||||
data-routeId="{{item.readingRouteId}}"
|
||||
custom-style="margin-right: 20rpx;"
|
||||
custom-style="margin-right: 20rpx;"
|
||||
data-id="{{item.id}}"
|
||||
wx:if="{{item.status === 0}}"
|
||||
> 开始抄表 </van-button>
|
||||
|
@@ -23,6 +23,9 @@ Component({
|
||||
return;
|
||||
}
|
||||
this.checkFinish(newValue)
|
||||
},
|
||||
"meterInfo": function(newValue) {
|
||||
|
||||
}
|
||||
},
|
||||
/**
|
||||
|
Reference in New Issue
Block a user