| | |
| | | <view class="popup-item-left">项目:</view> |
| | | <view class="popup-item-right"><input type="text" v-model="url.project"></view> |
| | | </view> |
| | | <view class="popup-item"> |
| | | <!-- <view class="popup-item"> |
| | | <view class="popup-item-left">仓库:</view> |
| | | <view class="popup-item-right" style="border:none;padding: 0;"> |
| | | <uni-combox style="height: 34rpx;" :candidates="storeList" placeholder="选择仓库" v-model="store" |
| | | @input="getStore" /> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <view class="btn"> |
| | | <view class="btn-left" @click="close">取消</view> |
| | | <view class="btn-right" @click="settingConfirm">确认</view> |
| | |
| | | }, |
| | | onLogin() { |
| | | let that = this |
| | | if (that.url.storeId == null) { |
| | | uni.showToast({ icon: 'error', title: '请选择仓库' }) |
| | | return |
| | | } |
| | | // if (that.url.storeId == null) { |
| | | // uni.showToast({ icon: 'error', title: '请选择仓库' }) |
| | | // return |
| | | // } |
| | | uni.request({ |
| | | url: that.baseUrl + '/login.action', |
| | | fail(result) { |