|
|
@ -118,16 +118,16 @@ |
|
|
|
}, |
|
|
|
save() { |
|
|
|
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) { |
|
|
|
this.shortToast('请输入或扫描20位提货编码') |
|
|
|
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 |
|
|
|
_this.$api.pickUpCardBind(this.page).then((resp) => { |
|
|
|
_this.$api.bindAllCard(this.page).then((resp) => { |
|
|
|
bus.$emit('order', "监听回调"); |
|
|
|
// setTimeout(() => { |
|
|
|
// uni.$emit('order', "监听回调") |
|
|
|