submit
This commit is contained in:
parent
448d81131b
commit
e1ea7f2697
4
App.vue
4
App.vue
@ -33,6 +33,8 @@ export default {
|
|||||||
width: 404rpx!important;
|
width: 404rpx!important;
|
||||||
height: 306rpx!important;
|
height: 306rpx!important;
|
||||||
}
|
}
|
||||||
|
.u-transition{
|
||||||
|
z-index: 999!important;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -112,6 +112,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="wrap2" @click="signContract">付款</div>
|
<div class="wrap2" @click="signContract">付款</div>
|
||||||
</div>
|
</div>
|
||||||
|
<u-loading-page bgColor="rgba(0,0,0,0.5)" :loading="loading" loading-text="正在生成订单并付款..."></u-loading-page>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@ -121,6 +122,7 @@ export default {
|
|||||||
name: "confirm-order",
|
name: "confirm-order",
|
||||||
data(){
|
data(){
|
||||||
return{
|
return{
|
||||||
|
loading:false,
|
||||||
orderingInfo:uni.getStorageSync('orderingInfo'),
|
orderingInfo:uni.getStorageSync('orderingInfo'),
|
||||||
expectedPayment:'',
|
expectedPayment:'',
|
||||||
distance:'',
|
distance:'',
|
||||||
@ -166,6 +168,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async signContract(){
|
async signContract(){
|
||||||
|
this.loading=true
|
||||||
const data1={
|
const data1={
|
||||||
artworkName:this.orderingInfo.info.artworkName,
|
artworkName:this.orderingInfo.info.artworkName,
|
||||||
artworkNum:this.orderingInfo.info.artworkNum,
|
artworkNum:this.orderingInfo.info.artworkNum,
|
||||||
@ -179,6 +182,7 @@ export default {
|
|||||||
artworkSquareSize:Number(this.orderingInfo.info.artworkSquareSize),
|
artworkSquareSize:Number(this.orderingInfo.info.artworkSquareSize),
|
||||||
contractTransactionId:this.orderingInfo.transactionId
|
contractTransactionId:this.orderingInfo.transactionId
|
||||||
}
|
}
|
||||||
|
|
||||||
const res1 = await postDataByParams('/api/warehouse/create',data1)
|
const res1 = await postDataByParams('/api/warehouse/create',data1)
|
||||||
if (res1.code===200){
|
if (res1.code===200){
|
||||||
const res2 = await postDataByParams('/api/warehouse/paid',{
|
const res2 = await postDataByParams('/api/warehouse/paid',{
|
||||||
@ -188,6 +192,7 @@ export default {
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/paySuccess/paySuccess?ID=${res1.data.ID}`,
|
url: `/pages/paySuccess/paySuccess?ID=${res1.data.ID}`,
|
||||||
});
|
});
|
||||||
|
this.loading=false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -188,6 +188,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="wrap2" @click="signContract">确认金额并签署合同</div>
|
<div class="wrap2" @click="signContract">确认金额并签署合同</div>
|
||||||
</div>
|
</div>
|
||||||
|
<u-loading-page bgColor="rgba(0,0,0,0.5)" :loading="loading" loading-text="正在进入法大大签署..."></u-loading-page>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@ -213,6 +214,7 @@ export default {
|
|||||||
days.push(i)
|
days.push(i)
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
loading:false,
|
||||||
fileList1:[],
|
fileList1:[],
|
||||||
dayMoney:'',
|
dayMoney:'',
|
||||||
expectedPayment:'',
|
expectedPayment:'',
|
||||||
@ -333,6 +335,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.loading=true
|
||||||
const data={
|
const data={
|
||||||
cycleId:this.cycleId,
|
cycleId:this.cycleId,
|
||||||
warehouseID:this.warehouseID,
|
warehouseID:this.warehouseID,
|
||||||
@ -355,6 +358,7 @@ export default {
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/signwebview/index`,
|
url: `/pages/signwebview/index`,
|
||||||
});
|
});
|
||||||
|
this.loading=false
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user