| | |
| | | <view @click.stop="clickButton('delete')" class="button button-search-delete" style="margin-top: -1rpx;">
|
| | | </view>
|
| | | </view>
|
| | | <view class="top-buttons" v-if="type==='delete'">
|
| | | <view v-if="type === 'delete'" class="button t-red " @click.stop="deleteSelected()">删除</view>
|
| | | <view v-if="type === 'delete'" class="button " @click.stop="recoverSelected()">恢复</view>
|
| | | |
| | | <view class="recycle-button" v-if="type==='delete'">
|
| | | <view class="buttons" >
|
| | | <view v-if="type === 'delete'" class="button t-red" @click.stop="deleteSelected()">删除</view>
|
| | | <view v-if="type === 'delete'" class="button" @click.stop="recoverSelected()">恢复</view>
|
| | | </view>
|
| | | </view>
|
| | | |
| | | <view class="p15" style="min-height: calc(100vh - 500rpx);">
|
| | | <no-data v-if="!list||list.length==0" style="width: 100%;"></no-data>
|
| | |
|
| | |
| | | <view class="button" @click.stop="openValue(item,'stock')">库存</view>
|
| | | <view class="button" @click.stop="toDetailAdd(item)">复制</view>
|
| | |
|
| | | <view class="button t-red" @click.stop="buttonDelete(item)">删除</view>
|
| | | <view v-if="type !== 'delete' && (item.status==='OFF' || item.status==='FORCE_OFF') " class="button t-red" @click.stop="buttonDelete(item)">删除</view>
|
| | |
|
| | | </view>
|
| | | </view>
|
| | |
| | |
|
| | | }
|
| | | }
|
| | | |
| | | .recycle-button{
|
| | | |
| | | |
| | | |
| | | min-height: 50rpx;
|
| | | background-color: #fff;
|
| | | |
| | | .buttons {
|
| | | display: flex;
|
| | | justify-content: flex-end;
|
| | | background-color: #fff;
|
| | | padding: 22rpx 42rpx;
|
| | | |
| | | .button {
|
| | | margin: 0 auto;
|
| | | width: 98rpx;
|
| | | line-height: 48rpx;
|
| | | border-radius: 24rpx;
|
| | | border: 2rpx solid #CECECE;
|
| | | text-align: center;
|
| | | font-size: 24rpx;
|
| | | color: #666666;
|
| | | line-height: 34rpx;
|
| | | }
|
| | | }
|
| | | }
|
| | | |
| | | }
|
| | | </style> |