|
@@ -9,9 +9,9 @@
|
|
|
>
|
|
|
<div>
|
|
|
<el-descriptions>
|
|
|
- <el-descriptions-item label="支付单号">{{ data.outTradeNo }}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="配件费用">¥{{ data.payValue }}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="收款方">{{ data.subMchNo || data.mchNo || '' }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="支付单号">{{ data.id }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="配件费用">¥{{ data.payAmount }}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="收款方">{{ item.websitName }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="支付方式">
|
|
|
<el-radio v-model="radio" label="wx">微信支付</el-radio>
|
|
|
<el-radio v-if="partsIsCash" v-model="radio" label="xj">现金支付</el-radio>
|
|
@@ -81,24 +81,27 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
- visible(newVal) {
|
|
|
- this.dialogVisible = newVal
|
|
|
- if (newVal) {
|
|
|
- this.$nextTick(() => {
|
|
|
- if (this.item.websitId) {
|
|
|
- adminWebsitPayConfigList({
|
|
|
- status: true,
|
|
|
- websitId: this.item.websitId,
|
|
|
- category: 'P'
|
|
|
- }).then(res => {
|
|
|
- this.payConfigs = res.data
|
|
|
- if (this.payConfigs.length > 0) {
|
|
|
- this.payConfigId = this.payConfigs[0].id
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
+ visible: {
|
|
|
+ handler(newVal) {
|
|
|
+ this.dialogVisible = newVal
|
|
|
+ if (newVal) {
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (this.item.websitId) {
|
|
|
+ adminWebsitPayConfigList({
|
|
|
+ status: true,
|
|
|
+ websitId: this.item.websitId,
|
|
|
+ category: 'P'
|
|
|
+ }).then(res => {
|
|
|
+ this.payConfigs = res.data
|
|
|
+ if (this.payConfigs.length > 0) {
|
|
|
+ this.payConfigId = this.payConfigs[0].id
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },
|
|
|
+ immediate: true
|
|
|
},
|
|
|
payConfigId() {
|
|
|
this.showPayQRCode = false
|