This commit is contained in:
ChenQiuYu 2025-05-27 17:13:28 +08:00
parent d0229e8fb2
commit 9b999fe6c6
3 changed files with 4 additions and 3 deletions

View File

@ -226,7 +226,7 @@ interface childCheck {
}
const addLine = (row: any) => {
post('inventory/goods/getListByIds', {idList: row.selectList}).then((list: any) => {
post(API.Inventory.Goods.ListByIds, {idList: row.selectList}).then((list: any) => {
let children = [];
for (let i = 0; i < list.length; i++) {
let inventoryGoods = list[i];

View File

@ -175,7 +175,7 @@ interface childCheck {
}
const addLine = (row: any) => {
post('inventory/goods/getListByIds', {idList: row.selectList}).then((list: any) => {
post(API.Inventory.Goods.ListByIds, {idList: row.selectList}).then((list: any) => {
let children = [];
for (let i = 0; i < list.length; i++) {
let inventoryGoods = list[i];

View File

@ -56,6 +56,7 @@ import {ref, defineEmits, defineProps, onMounted} from 'vue'
import {post} from "@/utils/request.ts";
import {ElFormItem, ElMessage} from "element-plus";
import Mask from "@/components/common/Mask.vue";
import {API} from "@/assets/config/API.ts";
const isGrant = defineModel()
const emit = defineEmits(['close'])
@ -85,7 +86,7 @@ const grant = async () => {
ruleFormRef.value?.validate((valid: any) => {
if (!valid) return
data.value.vipId = props.info.id
post('vip/integral/add', data.value).then((res: any) => {
post(API.Patient.Integral.Add, data.value).then((res: any) => {
ElMessage.success('已发放')
close()
})