This commit is contained in:
wangchengming 2025-11-14 10:09:06 +08:00
parent 1eed363506
commit abe5979868
2 changed files with 7 additions and 4 deletions

View File

@ -798,24 +798,24 @@ const handleChoseSupplier = (val) => {
//
const getMediaTypeOne = () => {
sysMediaTypeListByPid({ parentId: 0 }).then(res => {
ruleForm.value.mediaCategory = undefined
mediaTypeOne.value = res.data
})
}
//
const getMediaTypeTwo = (value) => {
sysMediaTypeListByPid({ parentId: value }).then(res => {
ruleForm.value.mediaTypeTwo = undefined
ruleForm.value.mediaTypeThree = undefined
ruleForm.value.displayForm = undefined
mediaTypeTwo.value = res.data
})
}
//
const getMediaTypeThree = (value) => {
sysMediaTypeListByPid({ parentId: value }).then(res => {
ruleForm.value.mediaTypeThree = undefined
mediaTypeThree.value = res.data
})
}
//
const getDepList = () => {
listDept({ businessFlag: 1 }).then(response => {
@ -1005,6 +1005,8 @@ const handleSubmit = () => {
}
ruleForm.value.mediaFile = mediaFile.value
ruleForm.value.displayForm = ruleForm.value.displayForm ? ruleForm.value.displayForm : -1
if (ruleForm.value.id != undefined) {
updateMedia(ruleForm.value).then(response => {
proxy.$modal.msgSuccess("修改成功")

View File

@ -332,6 +332,7 @@ const getPitchPricePage = () => {
//
const handleChangeType = (val) => {
queryParams.value.type = val
total.value = 0
pitchPriceList.value = []
}