| | |
| | | </view> |
| | | <view class="chuany-width48 c-p-t-14"> |
| | | <view class="chuany-width10"> |
| | | <up-button class="button-layout__item" text="确认" size="mini" |
| | | :loading='item.isLoading' loadingText="确认中" |
| | | <up-button class="button-layout__item" :text="item.isShenPiName!=='已结算'?'确认':'修改'" size="mini" |
| | | :loading='item.isLoading' :loadingText="item.isShenPiName!=='已结算'?'确认中':'修改中'" |
| | | @tap.stop='saveDakaDetailCompany(item)' type="warning"></up-button> |
| | | </view> |
| | | </view> |
| | |
| | | obj.workCount = item.workCount |
| | | } |
| | | item.isLoading = true |
| | | console.log(item.isShenPiName,'item.isShenPiName’'); |
| | | this.$api.saveDakaDetailCompany(obj).then(res => { |
| | | if (res.code == 1) { |
| | | this.$util.showToast({ |
| | | title: '确认成功!', |
| | | title: item.isShenPiName=='已结算'?'修改成功!':'确认成功!', |
| | | icon: 'success' |
| | | }) |
| | | this.PostMyComDakaListPage(); |