增加提示

This commit is contained in:
wyy
2024-01-08 10:04:58 +08:00
parent 8eb8354d71
commit 003d10f09e

View File

@@ -430,15 +430,11 @@ const addOrUpdateRef = ref(null)
/** /**
* 可配送区域和运费编辑 * 可配送区域和运费编辑
*/ */
const onAddOrUpdate = (rowIndex) => { const onAddOrUpdate = () => {
addOrUpdateVisible.value = true ElMessage({
let allSelectCityList = [] message: '该功能未开源',
for (let i = 1; i < dataForm.value.transfees.length; i++) { type: 'warning',
const cityList = dataForm.value.transfees[i].cityList duration: 1500
allSelectCityList = allSelectCityList.concat(cityList)
}
nextTick(() => {
addOrUpdateRef.value?.init(rowIndex, dataForm.value.transfees[rowIndex].cityList || [], allSelectCityList, 0)
}) })
} }