diff --git a/pages/index/addHangOrder.vue b/pages/index/addHangOrder.vue index a2206f7..918a8e2 100644 --- a/pages/index/addHangOrder.vue +++ b/pages/index/addHangOrder.vue @@ -22,8 +22,7 @@ 扫码开单 语音备注 - - + @@ -35,13 +34,12 @@ 女士连衣裙(HD738206579) - + 颜色:黑色,尺码:s码 * 2 颜色:黑色,尺码:s码 * 2 - - 保存 + @@ -124,15 +122,15 @@ - + - + - + @@ -253,6 +251,24 @@ this.tui.toast(res.message) } }).catch((res) => {}) + }, + //查看大图 + largeImg(){ + this.$refs.imgPopup.open() + }, + //新增挂单 + addReg(e){ + this.tui.request("/app/sale/saveOrder", "POST", { + saleName: e + }, false, false).then((res) => { + if (res.code == 200) { + + } else { + this.tui.toast(res.message) + } + }).catch((res) => { + this.tui.toast(res) + }) } } } @@ -278,7 +294,7 @@ .order-list ul {} .order-list li { - width: 95%; + width: 100%; height: 160rpx; line-height: 80rpx; font-size: 37rpx; @@ -295,7 +311,6 @@ .name-date { font-size: 28rpx; } - .bj-btn { width: auto; /* height: 60rpx; */ @@ -303,7 +318,7 @@ background: #fff; margin: 0; float: left; - padding-right: 36rpx; + padding-right: 20rpx; color: blue; text-decoration: underline; } @@ -324,7 +339,10 @@ margin: 0 auto; padding: 20rpx; } - + .img-popup-content{ + width: 500rpx; + height: 500rpx; + } .order-notes { height: 100rpx; line-height: 50rpx;