|
@@ -44,7 +44,7 @@
|
|
</view>
|
|
</view>
|
|
</u-checkbox-group>
|
|
</u-checkbox-group>
|
|
<view style="height: 100rpx;"></view>
|
|
<view style="height: 100rpx;"></view>
|
|
- <view class="submitBar">
|
|
|
|
|
|
+ <view class="submitBar" style="padding-bottom: env(safe-area-inset-bottom);">
|
|
<view class="bar_view">
|
|
<view class="bar_view">
|
|
<view v-if="!editDel" style="margin-left: 300rpx;">
|
|
<view v-if="!editDel" style="margin-left: 300rpx;">
|
|
<view>总计:¥<text>{{totalPrice}}</text></view>
|
|
<view>总计:¥<text>{{totalPrice}}</text></view>
|
|
@@ -91,7 +91,7 @@ import { logo } from '../../../common/setting'
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
companyValue() {
|
|
companyValue() {
|
|
-
|
|
|
|
|
|
+
|
|
if (this.companyValue.length != 0 || this.companyValueLength != 0) {
|
|
if (this.companyValue.length != 0 || this.companyValueLength != 0) {
|
|
if (this.companyValue.length == this.companyValueLength) {
|
|
if (this.companyValue.length == this.companyValueLength) {
|
|
this.radiovalue = ["全选"]
|
|
this.radiovalue = ["全选"]
|
|
@@ -114,7 +114,7 @@ import { logo } from '../../../common/setting'
|
|
onShow() {
|
|
onShow() {
|
|
this.editDel = false
|
|
this.editDel = false
|
|
this.companyValue = []
|
|
this.companyValue = []
|
|
- this.isLoading = true
|
|
|
|
|
|
+ this.isLoading = true
|
|
obligationList().then(res => {
|
|
obligationList().then(res => {
|
|
console.log(res);
|
|
console.log(res);
|
|
this.dataList = res.data
|
|
this.dataList = res.data
|
|
@@ -128,7 +128,7 @@ import { logo } from '../../../common/setting'
|
|
methods: {
|
|
methods: {
|
|
deleteGoods(val) {
|
|
deleteGoods(val) {
|
|
console.log(val);
|
|
console.log(val);
|
|
-
|
|
|
|
|
|
+
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
title: '加载中',
|
|
title: '加载中',
|
|
mask: true
|
|
mask: true
|
|
@@ -167,7 +167,7 @@ import { logo } from '../../../common/setting'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
-
|
|
|
|
|
|
+
|
|
console.log(data.join(","));
|
|
console.log(data.join(","));
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
title: '加载中',
|
|
title: '加载中',
|
|
@@ -216,7 +216,7 @@ import { logo } from '../../../common/setting'
|
|
payPrepay({srcOrderNo:data[0].name}).then(res => {
|
|
payPrepay({srcOrderNo:data[0].name}).then(res => {
|
|
console.log(res);
|
|
console.log(res);
|
|
uni.requestPayment({
|
|
uni.requestPayment({
|
|
- provider: "wxpay",
|
|
|
|
|
|
+ provider: "wxpay",
|
|
appId:res.data.appId,
|
|
appId:res.data.appId,
|
|
timeStamp: res.data.timeStamp,
|
|
timeStamp: res.data.timeStamp,
|
|
nonceStr: res.data.nonceStr,
|
|
nonceStr: res.data.nonceStr,
|
|
@@ -246,8 +246,8 @@ import { logo } from '../../../common/setting'
|
|
// this_.refresh(res.data.id)
|
|
// this_.refresh(res.data.id)
|
|
}, 1000);
|
|
}, 1000);
|
|
}
|
|
}
|
|
- })
|
|
|
|
-
|
|
|
|
|
|
+ })
|
|
|
|
+
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: "提交成功",
|
|
title: "提交成功",
|
|
icon: 'none'
|
|
icon: 'none'
|
|
@@ -309,7 +309,7 @@ import { logo } from '../../../common/setting'
|
|
this.totalFreight += 5
|
|
this.totalFreight += 5
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
this.totalFreight = this.totalFreight.toFixed(2)
|
|
this.totalFreight = this.totalFreight.toFixed(2)
|
|
this.totalPrice = this.totalPrice.toFixed(2)
|
|
this.totalPrice = this.totalPrice.toFixed(2)
|
|
@@ -363,4 +363,4 @@ import { logo } from '../../../common/setting'
|
|
padding: 10rpx;
|
|
padding: 10rpx;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|