|
|
|
@ -17,15 +17,21 @@
|
|
|
|
|
name="6"
|
|
|
|
|
multiple
|
|
|
|
|
:maxCount="1"
|
|
|
|
|
width="250"
|
|
|
|
|
height="150"
|
|
|
|
|
width="404rpx"
|
|
|
|
|
height="306rpx"
|
|
|
|
|
>
|
|
|
|
|
<image src="https://cdn.uviewui.com/uview/demo/upload/positive.png"
|
|
|
|
|
mode="widthFix" style="width: 404rpx;height: 306rpx;"></image>
|
|
|
|
|
<div style="width: 404rpx;height: 306rpx;background: #000;border-radius: 20rpx;display: flex;flex-direction: column;align-items: center;justify-content: center">
|
|
|
|
|
<div style="margin-bottom: 14rpx">
|
|
|
|
|
<image style="width: 38.32rpx;height: 38.2rpx" src="../../static/zu142@3x.png"></image>
|
|
|
|
|
</div>
|
|
|
|
|
<div style="font-size: 32rpx;color: #fff">上传画作图片</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <image src="https://cdn.uviewui.com/uview/demo/upload/positive.png"
|
|
|
|
|
mode="widthFix" style="width: 404rpx;height: 306rpx;"></image>-->
|
|
|
|
|
</u-upload>
|
|
|
|
|
<!-- <image :src="info.artworkImg"></image>-->
|
|
|
|
|
</div>
|
|
|
|
|
<tm-poup height="700" v-model="show_2" position="bottom">
|
|
|
|
|
<tm-poup v-model="show_2" position="bottom">
|
|
|
|
|
<div class="poup1" >
|
|
|
|
|
<div class="content1">
|
|
|
|
|
<div class="wrap1">更换您的寄存地址</div>
|
|
|
|
@ -149,25 +155,25 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="content4">
|
|
|
|
|
<div class="wrap1">
|
|
|
|
|
<div class="wrap1_1">
|
|
|
|
|
<div class="wrap1_1" @click="show_2=true">
|
|
|
|
|
<div class="wrap1_1_1">寄存地址</div>
|
|
|
|
|
<div class="wrap1_1_2"></div>
|
|
|
|
|
<div class="wrap1_1_3">
|
|
|
|
|
<input placeholder-style="color: #939393;font-size: 24rpx;"
|
|
|
|
|
<input disabled placeholder-style="color: #939393;font-size: 24rpx;"
|
|
|
|
|
:placeholder="warehouseID?addressList.find(x=>x.ID===warehouseID).address:'寄存地址'"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wrap1_1_4"></div>
|
|
|
|
|
<div @click="show_2=true" class="wrap1_1_5">
|
|
|
|
|
<div class="wrap1_1_5">
|
|
|
|
|
<image src="../../static/zu611@3x.png"></image>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wrap1_1">
|
|
|
|
|
<div class="wrap1_1" @click="show_1=true">
|
|
|
|
|
<div class="wrap1_1_1">寄存时限</div>
|
|
|
|
|
<div class="wrap1_1_2"></div>
|
|
|
|
|
<div class="wrap1_1_3">
|
|
|
|
|
<input placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="cycleId?cycleList.find(x=>x.ID===cycleId).name:'寄存时限'"/>
|
|
|
|
|
<input disabled placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="cycleId?cycleList.find(x=>x.ID===cycleId).name:'寄存时限'"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div @click="show_1=true" class="wrap1_1_5">
|
|
|
|
|
<div class="wrap1_1_5">
|
|
|
|
|
<image src="../../static/zu612@3x.png"></image>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="wrap1_1_4">
|
|
|
|
@ -231,11 +237,6 @@ export default {
|
|
|
|
|
url: ''//二维码扫码的结果用户发起请求的body体
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad(e) {
|
|
|
|
|
if (e) {
|
|
|
|
|
this.url = e.url
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
watch:{
|
|
|
|
|
cycleId(newValue){
|
|
|
|
|
this.obtainAmount()
|
|
|
|
@ -244,7 +245,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.getCycle()
|
|
|
|
|
if (this.url){
|
|
|
|
|
if (this.$mp.query.url){
|
|
|
|
|
this.url=this.$mp.query.url
|
|
|
|
|
this.getDetailUrl()
|
|
|
|
|
}
|
|
|
|
|
this.getAddress()
|
|
|
|
@ -268,9 +270,8 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 删除图片
|
|
|
|
|
deletePic(event) {
|
|
|
|
|
this[`fileList${event.name}`].splice(event.index, 1)
|
|
|
|
|
deletePic() {
|
|
|
|
|
this.fileList1=[]
|
|
|
|
|
},
|
|
|
|
|
// 新增图片
|
|
|
|
|
async afterRead(event) {
|
|
|
|
@ -297,7 +298,22 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
async signContract(){
|
|
|
|
|
|
|
|
|
|
const checks = [{
|
|
|
|
|
value: this.warehouseID,
|
|
|
|
|
message: '请选择寄存地址'
|
|
|
|
|
}, {
|
|
|
|
|
value: this.cycleId,
|
|
|
|
|
message: '请选择寄存时限'
|
|
|
|
|
}]
|
|
|
|
|
for (const check of checks) {
|
|
|
|
|
if (!check.value) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: check.message,
|
|
|
|
|
icon: 'none'
|
|
|
|
|
})
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const data={
|
|
|
|
|
cycleId:this.cycleId,
|
|
|
|
|
warehouseID:this.warehouseID,
|
|
|
|
@ -492,6 +508,7 @@ picker-view {
|
|
|
|
|
padding-top: 28rpx;
|
|
|
|
|
padding-left: 30rpx;
|
|
|
|
|
padding-right: 30rpx;
|
|
|
|
|
margin-bottom: 72rpx;
|
|
|
|
|
|
|
|
|
|
& > .content6 {
|
|
|
|
|
margin-top: 26rpx;
|
|
|
|
@ -593,6 +610,7 @@ picker-view {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.poup {
|
|
|
|
|
margin-bottom: 72rpx;
|
|
|
|
|
padding-top: 28rpx;
|
|
|
|
|
padding-left: 30rpx;
|
|
|
|
|
padding-right: 30rpx;
|
|
|
|
|