| | |
| | | <uni-td align="center"> |
| | | <view class="btnBox"> |
| | | <!-- --> |
| | | <u-button type='primary' text='修改' size='mini' v-if="subItem.isWeight === 0 || subItem.isWeight === 2 " @click="editOrder(subItem)"></u-button> |
| | | <!-- <u-button type='primary' text='修改' size='mini' v-if="subItem.isWeight === 0 || subItem.isWeight === 2 " @click="editOrder(subItem)"></u-button> --> |
| | | <u-button type='primary' text='拼单' size='mini' v-if="isPinShow(item)" @click="pinDan(subItem)"></u-button> |
| | | </view></uni-td> |
| | | <uni-td w align="center"> |
| | |
| | | //确认 |
| | | confirmEnter(){ |
| | | this.$reqPost('oneClickLoading',{tmId:this.paramsItem.id},'params').then((res) => { |
| | | if(res.code == 0){ |
| | | console.log(res,'res') |
| | | this.$u.toast('一键确认成功') |
| | | this.showConfim = false; |
| | | setTimeout(() => { |
| | | this.getDetailData(); |
| | | }, 500); |
| | | }else{ |
| | | this.$u.toast(res.msg ? res.msg : '一键确认失败'); |
| | | } |
| | | |
| | | }).catch(err=>{ |
| | | this.$u.toast(err ? err : '操作异常') |
| | | }) |
| | | |
| | | }, |