修改问题

This commit is contained in:
余同学 2024-12-23 18:18:02 +08:00
parent 5af43012a9
commit ef09010f2b
4 changed files with 24 additions and 12 deletions

View File

@ -2,7 +2,7 @@
<div> <div>
<obj-modal <obj-modal
ref="modal" ref="modal"
labelWidth="150px" labelWidth="190px"
:modalCols="modalCols" :modalCols="modalCols"
:modalConfig="modalConfig" :modalConfig="modalConfig"
:modalData="modalData" :modalData="modalData"

View File

@ -962,14 +962,14 @@ export default {
// let res = await this.$api.mer_admin.getProductCategory(); // let res = await this.$api.mer_admin.getProductCategory();
// return res.data.data; // return res.data.data;
// }, // },
async getSaleUnit() { // async getSaleUnit() {
let res = await this.$api.mer_admin.getSaleUnit({ // let res = await this.$api.mer_admin.getSaleUnit({
shopId: JSON.parse(sessionStorage.getItem("userInfo")).shopId, // shopId: JSON.parse(sessionStorage.getItem("userInfo")).shopId,
}); // });
console.log(res); // console.log(res);
return res.data.data; // return res.data.data;
}, // },
}, },
}; };
</script> </script>

View File

@ -227,8 +227,15 @@
<div style="font-size: 16px; margin: 0 0 20px 0; font-weight: 600"> <div style="font-size: 16px; margin: 0 0 20px 0; font-weight: 600">
钱包账单 钱包账单
</div> </div>
<div style="background: #fff; padding: 10px; height: 51vh;min-width: 400px; <div
overflow-y:scroll;"> style="
background: #fff;
padding: 10px;
height: 51vh;
min-width: 400px;
overflow-y: scroll;
"
>
<div <div
v-for="item in billList" v-for="item in billList"
:key="item.id" :key="item.id"
@ -268,7 +275,11 @@
</el-col> </el-col>
</el-row> </el-row>
<!-- 提现 --> <!-- 提现 -->
<withdrawal @init="init" ref="withdrawal"></withdrawal> <withdrawal
@init="init"
@getWithdrawalRecord="getWithdrawalRecord"
ref="withdrawal"
></withdrawal>
</div> </div>
</template> </template>

View File

@ -127,6 +127,7 @@ export default {
console.log(valid); console.log(valid);
this.$api.wallet.Withdrawal(this.ruleForm).then((res) => { this.$api.wallet.Withdrawal(this.ruleForm).then((res) => {
this.$emit("init"); this.$emit("init");
this.$emit("getWithdrawalRecord");
this.toggle(); this.toggle();
}); });
} }