Browse Source

Merge branch 'milestone-20250913-现金管理' of http://39.101.133.168:8807/huangqizhen/gold-vue into milestone-20250913-现金管理

lihuilin/feature-20250923114949-现金
zhangrenyuan 1 month ago
parent
commit
493bf0162c
  1. 4
      src/views/moneyManage/executor/executor.vue
  2. 7
      src/views/moneyManage/receiveDetail/receiveDetail.vue

4
src/views/moneyManage/executor/executor.vue

@ -62,9 +62,9 @@
<el-table-column prop="marketName" label="所属地区" width="120" />
<el-table-column prop="goodsName" label="产品名称" width="120" />
<el-table-column prop="goodNum" label="产品数量" width="120" />
<el-table-column prop="refundType" label="退款方式" width="120">
<el-table-column prop="refundModel" label="退款方式" width="120">
<template #default="scope">
{{ scope.row.refundType === 1 ? '部分退款' : '全部退款' }}
{{ scope.row.refundModel === 1 ? '部分退款' : '全部退款' }}
</template>
</el-table-column>
<el-table-column prop="refundCurrency" label="退款币种" width="120">

7
src/views/moneyManage/receiveDetail/receiveDetail.vue

@ -849,8 +849,9 @@ const selectItems = [
];
const productUnit = ref('个')
const ifGold = () => {
if (addFormData.value.goodsName == '金币充值') {
if (addFormData.value.goodsName === '金币充值') {
isGold.value = true
addFormData.value.goodNum = 0
} else {
isGold.value = false
if (selectItems.includes(addFormData.value.goodsName)) {
@ -862,7 +863,7 @@ const ifGold = () => {
}
const isEditGold = ref(false)
const EditifGold = () => {
if (editFormData.value.goodsName == '金币充值') {
if (editFormData.value.goodsName === '金币充值') {
isEditGold.value = true
} else {
isEditGold.value = false
@ -968,7 +969,7 @@ const handleAddForm = async () => {
}
console.log('返回参数:', result);
} catch (error) {
console.log(error);
console.log('出啥错了?',error);
ElMessage.error('请完善表单信息后提交');
}
}

Loading…
Cancel
Save