|
|
|
@ -22,8 +22,7 @@ |
|
|
|
<view class="bj-btn" @tap.stop="scanCodeAdd">扫码开单</view> |
|
|
|
<view class="bj-btn" @tap="toggle('center')">语音备注</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<uni-icons type="bottom" size="25" style="position: absolute;bottom:0;right:0;"></uni-icons> |
|
|
|
<uni-icons type="bottom" size="25" style="position: absolute;bottom:0;right:30rpx;"></uni-icons> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</view> |
|
|
|
@ -35,13 +34,12 @@ |
|
|
|
<view class="shop-list"> |
|
|
|
<view> |
|
|
|
女士连衣裙(HD738206579) |
|
|
|
<img src="/static/images/datu.png" @tap="" alt=""> |
|
|
|
<img src="/static/images/datu.png" @tap="largeImg" alt=""> |
|
|
|
</view> |
|
|
|
<view>颜色:黑色,尺码:s码 * 2</view> |
|
|
|
<view>颜色:黑色,尺码:s码 * 2</view> |
|
|
|
<view><uni-icons color="red" type="minus" size="26"></uni-icons></view> |
|
|
|
</view> |
|
|
|
<view class="save-btn">保存</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
@ -124,15 +122,15 @@ |
|
|
|
</view> |
|
|
|
</uni-popup> |
|
|
|
</view> |
|
|
|
<!-- 弹出输入框 --> |
|
|
|
<!-- 新增挂单输入框 --> |
|
|
|
<uni-popup ref="inputDialog" type="dialog"> |
|
|
|
<uni-popup-dialog ref="inputClose" mode="input" title="临时改价" placeholder="请输入临时售价" |
|
|
|
@confirm="dialogInputConfirm"></uni-popup-dialog> |
|
|
|
<uni-popup-dialog ref="inputClose" mode="input" title="挂单名称" placeholder="请输入挂单名称" |
|
|
|
@confirm="addReg"></uni-popup-dialog> |
|
|
|
</uni-popup> |
|
|
|
<!-- 查看大图弹出层 --> |
|
|
|
<uni-popup ref="imgPopup" background-color="#fff" @change="change"> |
|
|
|
<view class="img-popup-content"> |
|
|
|
<img src="/static/images/logo.png" alt=""> |
|
|
|
<img src="/static/images/logo.png" alt="" style="width: 100%;height: 100%;"> |
|
|
|
</view> |
|
|
|
</uni-popup> |
|
|
|
</view> |
|
|
|
@ -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; |
|
|
|
|