111111111
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
console.log("params+++++++++++++++", params);
|
||||
|
||||
_this.$api.receiveTransferGoods(params).then((resp) => {
|
||||
bus.$emit('order', "监听回调");
|
||||
// bus.$emit('order', "监听回调");
|
||||
// setTimeout(() => {
|
||||
// uni.$emit('order', "监听回调")
|
||||
// }, 500)
|
||||
|
||||
@@ -128,7 +128,7 @@
|
||||
// }
|
||||
let _this = this
|
||||
_this.$api.bindAllCard(this.page).then((resp) => {
|
||||
bus.$emit('order', "监听回调");
|
||||
// bus.$emit('order', "监听回调");
|
||||
// setTimeout(() => {
|
||||
// uni.$emit('order', "监听回调")
|
||||
// }, 500)
|
||||
|
||||
@@ -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'
|
||||
})
|
||||
|
||||
@@ -431,8 +431,8 @@
|
||||
_this.data = resp
|
||||
_this.pickingUpGoods = []
|
||||
_this.baseDataSuccess = true
|
||||
_this.getgoods()
|
||||
_this.selectIndex = 0
|
||||
_this.getgoods()
|
||||
}).catch(e => {
|
||||
_this.$nextTick(() => {
|
||||
_this.$refs.pageView.setLoadState(1)
|
||||
@@ -447,6 +447,7 @@
|
||||
affiliation: this.data[this.selectIndex].id
|
||||
}
|
||||
|
||||
|
||||
_this.$api.vegeCellarList(params).then((resp) => {
|
||||
_this.goods = resp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user