|
|
@ -55,17 +55,17 @@ |
|
|
|
<input maxlength="20" placeholder="请输入/扫码" |
|
|
|
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number" |
|
|
|
:value="page.code" @input="onKeyInput1" /> |
|
|
|
<!-- <view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> |
|
|
|
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view> |
|
|
|
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;" |
|
|
|
@click="scan" /> --> |
|
|
|
@click="scan" /> |
|
|
|
</view> |
|
|
|
<!-- <text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> |
|
|
|
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text> |
|
|
|
<view style="display: flex;flex-direction: row;justify-content: space-between; |
|
|
|
background: #F8F8F8;border-radius: 5px; padding:10px 0px; |
|
|
|
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;"> |
|
|
|
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;" |
|
|
|
type="number" :value="page.codeKey" @input="onKeyInput2" /> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px; |
|
|
|
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex; |
|
|
@ -178,13 +178,16 @@ |
|
|
|
this.shortToast('请输入20位提货编码') |
|
|
|
return |
|
|
|
} |
|
|
|
// if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { |
|
|
|
// this.shortToast('请输入6位提货密码') |
|
|
|
// return |
|
|
|
// } |
|
|
|
if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) { |
|
|
|
this.shortToast('请输入6位提货密码') |
|
|
|
return |
|
|
|
} |
|
|
|
let _this = this |
|
|
|
|
|
|
|
console.log("+++++++++++",this.page); |
|
|
|
|
|
|
|
_this.$api.bindAllCard(this.page).then((resp) => { |
|
|
|
bus.$emit('order', "监听回调"); |
|
|
|
// bus.$emit('order', "监听回调"); |
|
|
|
uni.switchTab({ |
|
|
|
url: '/pages/home/myCellar' |
|
|
|
}) |
|
|
|