submit
This commit is contained in:
parent
2b4669ebc6
commit
3214344fe7
@ -66,9 +66,8 @@
|
||||
<div class="wrap1_1_3">
|
||||
<input disabled placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="orderingInfo.endAt"/>
|
||||
</div>
|
||||
|
||||
<div class="wrap1_1_4"></div>
|
||||
</div>
|
||||
|
||||
<!-- <div class="wrap1_1">
|
||||
<div class="wrap1_1_1">订单金额</div>
|
||||
<div class="wrap1_1_2"></div>
|
||||
|
@ -264,8 +264,7 @@ export default {
|
||||
mounted() {
|
||||
const date = new Date();
|
||||
date.setHours(0, 0, 0, 0);
|
||||
this.minDate = date.getTime() + 24 * 60 * 60 * 1000;
|
||||
// this.value1=this.timestampToDateString(date.getTime() + 24 * 60 * 60 * 1000)
|
||||
this.minDate = date.getTime() + 120 * 24 * 60 * 60 * 1000;
|
||||
this.getCycle()
|
||||
if (this.$mp.query.url){
|
||||
this.url=this.$mp.query.url
|
||||
|
@ -7,6 +7,7 @@
|
||||
</div>
|
||||
</template>-->
|
||||
</title-block>
|
||||
|
||||
<div class="content2">
|
||||
<div class="wrap1">合同名称</div>
|
||||
<div class="wrap2">合同编号</div>
|
||||
@ -15,10 +16,14 @@
|
||||
|
||||
<div class="content3">
|
||||
<scroll-view :style="{height:`${elementBottom}rpx`}" :scroll-y="true" @scrolltolower="loadMore">
|
||||
<div class="wrap1" v-for="(item,index) in mainList" :key="index">
|
||||
<div class="wrap1" v-for="(item,index) in mainList" :key="index" @click="previewContract(item)">
|
||||
<div class="wrap1_1">{{ item.contractTile }}</div>
|
||||
<div class="wrap1_2">{{item.contractId.length>10?`${item.contractId.slice(0,10)}...`:item.contractId}}</div>
|
||||
<div class="wrap1_3"><div class="wrap1_3_1">{{item.signDate}}</div></div>
|
||||
<div class="wrap1_2">
|
||||
{{ item.contractId.length > 10 ? `${item.contractId.slice(0, 10)}...` : item.contractId }}
|
||||
</div>
|
||||
<div class="wrap1_3">
|
||||
<div class="wrap1_3_1">{{ item.signDate }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</scroll-view>
|
||||
</div>
|
||||
@ -35,6 +40,7 @@ export default {
|
||||
components: {tabbar},
|
||||
data() {
|
||||
return {
|
||||
show: false,
|
||||
page: 1,
|
||||
pageSize: 999,
|
||||
mainList: [],
|
||||
@ -50,6 +56,18 @@ export default {
|
||||
|
||||
},
|
||||
methods: {
|
||||
async previewContract(item) {
|
||||
const data={
|
||||
ID:item.ID
|
||||
}
|
||||
const res = await postDataByParams('/api/warehouse/fdd/pdf/url',data )
|
||||
if (res.code===200){
|
||||
uni.setStorageSync("jumpUrl",res.data.jumpUrl)
|
||||
uni.navigateTo({
|
||||
url: `/pages/signwebview/index`,
|
||||
});
|
||||
}
|
||||
},
|
||||
async getDistanceFromTopToPageBottom(classValue) {
|
||||
const {windowHeight, windowWidth} = await uni.getSystemInfo();
|
||||
const [{top}] = await new Promise(resolve => uni.createSelectorQuery().select(classValue).boundingClientRect().exec(resolve));
|
||||
@ -86,6 +104,7 @@ export default {
|
||||
background-size: cover;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
.content3 {
|
||||
margin-top: 20rpx;
|
||||
margin-bottom: 166rpx;
|
||||
@ -97,6 +116,7 @@ export default {
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.wrap1_1 {
|
||||
flex: 1 1 0rpx;
|
||||
font-size: 28rpx;
|
||||
@ -105,6 +125,7 @@ export default {
|
||||
align-items: center;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.wrap1_2 {
|
||||
flex: 1 1 0rpx;
|
||||
color: #808080;
|
||||
@ -114,11 +135,13 @@ export default {
|
||||
align-items: center;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.wrap1_3 {
|
||||
flex: 1 1 0rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.wrap1_3_1 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@ -133,12 +156,14 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content2 {
|
||||
margin-top: 46rpx;
|
||||
display: flex;
|
||||
border-radius: 20rpx;
|
||||
height: 70rpx;
|
||||
background: #76C458;
|
||||
|
||||
.wrap1 {
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
@ -147,6 +172,7 @@ border-radius: 20rpx;
|
||||
align-items: center;
|
||||
flex: 1 1 0rpx;
|
||||
}
|
||||
|
||||
.wrap2 {
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
@ -155,6 +181,7 @@ border-radius: 20rpx;
|
||||
align-items: center;
|
||||
flex: 1 1 0rpx;
|
||||
}
|
||||
|
||||
.wrap3 {
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
@ -165,17 +192,21 @@ border-radius: 20rpx;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.content1 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.wrap1 {
|
||||
width: 120rpx;
|
||||
height: 20rpx;
|
||||
}
|
||||
|
||||
.wrap2 {
|
||||
color: #4E964D;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
.wrap3 {
|
||||
image {
|
||||
width: 132rpx;
|
||||
|
Loading…
Reference in New Issue
Block a user