2222
This commit is contained in:
@@ -128,6 +128,8 @@ export default {
|
|||||||
transSubmission: (params = {}) => request.post("/transferrecords/submission", params),
|
transSubmission: (params = {}) => request.post("/transferrecords/submission", params),
|
||||||
// 我的菜窖 领取/绑定转赠菜窖
|
// 我的菜窖 领取/绑定转赠菜窖
|
||||||
receiveTransferGoods: (params = {}) => request.post("/vegetablecellar/receiveTransferGoods", params),
|
receiveTransferGoods: (params = {}) => request.post("/vegetablecellar/receiveTransferGoods", params),
|
||||||
|
// 我的菜窖 绑定之前发出的礼品卡
|
||||||
|
bindAllCard: (params = {}) => request.post("/lpkgiftcard/bindAllCard", params),
|
||||||
// 我的菜窖 预约提菜
|
// 我的菜窖 预约提菜
|
||||||
getStoreBySid: (params = {}) => request.get("/customerstore/getStoreBySid/" + params, params),
|
getStoreBySid: (params = {}) => request.get("/customerstore/getStoreBySid/" + params, params),
|
||||||
// 我的菜窖 预约提菜 选择时间范围
|
// 我的菜窖 预约提菜 选择时间范围
|
||||||
|
|||||||
@@ -118,16 +118,16 @@
|
|||||||
},
|
},
|
||||||
save() {
|
save() {
|
||||||
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
|
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
|
||||||
this.shortToast('请输入或扫描20位提货编码')
|
this.shortToast('请输入20位提货编码')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
|
// if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
|
||||||
this.shortToast('请输入6位提货密码')
|
// this.shortToast('请输入6位提货密码')
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
let _this = this
|
let _this = this
|
||||||
_this.$api.pickUpCardBind(this.page).then((resp) => {
|
_this.$api.bindAllCard(this.page).then((resp) => {
|
||||||
bus.$emit('order', "监听回调");
|
bus.$emit('order', "监听回调");
|
||||||
// setTimeout(() => {
|
// setTimeout(() => {
|
||||||
// uni.$emit('order', "监听回调")
|
// uni.$emit('order', "监听回调")
|
||||||
|
|||||||
@@ -175,15 +175,15 @@
|
|||||||
},
|
},
|
||||||
save() {
|
save() {
|
||||||
if (this.stringIsEmpty(this.page.code) || this.page.code.length != 20) {
|
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
|
return
|
||||||
}
|
}
|
||||||
|
// if (this.stringIsEmpty(this.page.codeKey) || this.page.codeKey.length != 6) {
|
||||||
|
// this.shortToast('请输入6位提货密码')
|
||||||
|
// return
|
||||||
|
// }
|
||||||
let _this = this
|
let _this = this
|
||||||
_this.$api.pickUpCardBind(this.page).then((resp) => {
|
_this.$api.bindAllCard(this.page).then((resp) => {
|
||||||
bus.$emit('order', "监听回调");
|
bus.$emit('order', "监听回调");
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/home/myCellar'
|
url: '/pages/home/myCellar'
|
||||||
|
|||||||
Reference in New Issue
Block a user