submit
This commit is contained in:
parent
581a84bb9c
commit
7387056f84
@ -69,6 +69,14 @@
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/signwebview/index",
|
||||
"style": {
|
||||
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order-goods/order-details",
|
||||
"style": {
|
||||
|
@ -103,7 +103,7 @@
|
||||
<div class="wrap1_1_1">画作编号</div>
|
||||
<div class="wrap1_1_2"></div>
|
||||
<div class="wrap1_1_3">
|
||||
<input disabled placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="info.artworkNum"/>
|
||||
<input placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="info.artworkNum"/>
|
||||
</div>
|
||||
<div class="wrap1_1_4"></div>
|
||||
</div>
|
||||
@ -111,7 +111,7 @@
|
||||
<div class="wrap1_1_1">画作名称</div>
|
||||
<div class="wrap1_1_2"></div>
|
||||
<div class="wrap1_1_3">
|
||||
<input disabled placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="info.artworkName"/>
|
||||
<input placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="info.artworkName"/>
|
||||
</div>
|
||||
<div class="wrap1_1_4"></div>
|
||||
</div>
|
||||
@ -119,7 +119,7 @@
|
||||
<div class="wrap1_1_1">画家名称</div>
|
||||
<div class="wrap1_1_2"></div>
|
||||
<div class="wrap1_1_3">
|
||||
<input disabled placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="info.artistName"/>
|
||||
<input placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="info.artistName"/>
|
||||
</div>
|
||||
<div class="wrap1_1_4">
|
||||
</div>
|
||||
@ -128,7 +128,7 @@
|
||||
<div class="wrap1_1_1">画作平尺数</div>
|
||||
<div class="wrap1_1_2"></div>
|
||||
<div class="wrap1_1_3">
|
||||
<input disabled placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="info.artworkSquareSize"/>
|
||||
<input placeholder-style="color: #939393;font-size: 24rpx;" :placeholder="info.artworkSquareSize"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -168,7 +168,7 @@
|
||||
<div class="wrap1_1">*仅微信付款</div>
|
||||
<div class="wrap1_2">预计 ¥{{expectedPayment}}</div>
|
||||
</div>
|
||||
<div class="wrap2">确认金额并签署合同</div>
|
||||
<div class="wrap2" @click="signContract">确认金额并签署合同</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@ -237,6 +237,21 @@ export default {
|
||||
this.data = [today.getFullYear(), today.getMonth() + 1, today.getDate()]
|
||||
},
|
||||
methods: {
|
||||
async signContract(){
|
||||
const data={
|
||||
cycleId:this.cycleId,
|
||||
warehouseID:this.warehouseID,
|
||||
artworkSquareSize:this.info.artworkSquareSize
|
||||
}
|
||||
const res = await postDataByParams('/api/warehouse/fdd/contract/h5',data)
|
||||
if (res.code===200){
|
||||
uni.setStorageSync("jumpUrl", res.data.jumpUrl)
|
||||
uni.navigateTo({
|
||||
url: `/pages/signwebview/index`,
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
async obtainAmount(){
|
||||
const data={
|
||||
cycleID:this.cycleId,
|
||||
|
@ -120,22 +120,34 @@ export default {
|
||||
computed: {},
|
||||
methods: {
|
||||
popForward() {
|
||||
|
||||
if (this.messageText === '确认补款吗') {
|
||||
this.supplementaryPayment()
|
||||
} else if (this.messageText === '确认删除吗') {
|
||||
this.deleteClick()
|
||||
}
|
||||
},
|
||||
openShow2() {
|
||||
openShow2(item) {
|
||||
this.item = item
|
||||
this.messageText = `确认补款吗`
|
||||
this.$refs.alertDialog.open()
|
||||
},
|
||||
async supplementaryPayment(item) {
|
||||
async supplementaryPayment() {
|
||||
const data = {
|
||||
ID: item.ID
|
||||
ID: this.item.ID
|
||||
}
|
||||
const res = await postDataByParams('/api/warehouse/supply/paid', data)
|
||||
if (res.code===200){
|
||||
uni.showToast({
|
||||
title: '补款成功',
|
||||
icon: 'none'
|
||||
})
|
||||
}else {
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none'
|
||||
})
|
||||
}
|
||||
const res = await postDataByParams('/api/warehouse/remove', data)
|
||||
console.log(res, 'supplementaryPayment')
|
||||
},
|
||||
async getDistanceFromTopToPageBottom(classValue) {
|
||||
const {windowHeight, windowWidth} = await uni.getSystemInfo();
|
||||
|
23
pages/signwebview/index.vue
Normal file
23
pages/signwebview/index.vue
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
<template>
|
||||
<web-view :src="url"></web-view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: "index",
|
||||
data(){
|
||||
return{
|
||||
url:''
|
||||
}
|
||||
},
|
||||
mounted(){
|
||||
this.url=uni.getStorageSync("jumpUrl")
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user