-
zhangwei
2024-09-12 f7aa204aa8d20b090d7943969ddeb9871a1fad76
src/pages/company/index.vue
@@ -79,8 +79,8 @@
                     </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>
@@ -153,10 +153,11 @@
               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();