CD配唱片
2025-04-29 3dba7511e533e85c0284a210fcc5150146b134b7
提交产能计划保存,取消,编辑的取消逻辑修正
已修改1个文件
11 ■■■■■ 文件已修改
src/views/mainPlan/gasPlanning/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mainPlan/gasPlanning/index.vue
@@ -519,6 +519,8 @@
const height = ref(document.documentElement.clientHeight - 400 + "px;");
const loading = ref(false);
const loading2 = ref(false);
const clickedQuery = ref(false);
const clickedQuery2 = ref(false);
const data = reactive({
  queryParams: {
    date: "",
@@ -658,13 +660,18 @@
}
const handleCancleStaus = () => {
  clickedTableRef.value = false;
  if(!clickedQuery.value){
    return
  }
  const year = queryParams.value.date.split("-")[0];
  const month = parseInt(queryParams.value.date.split("-")[1]);
  getRouteList(year, month);
};
const handleCancleStausGas = () => {
  clickedTableRefGas.value = false;
  if(!clickedQuery2.value){
    return
  }
  const year = queryParams.value.date.split("-")[0];
  const month = parseInt(queryParams.value.date.split("-")[1]);
  getGasList(year, month);
@@ -817,6 +824,8 @@
  const month = parseInt(queryParams.value.date.split("-")[1]);
  getRouteList(year, month);
  getGasList(year, month);
  clickedQuery.value = true;
  clickedQuery2.value = true
}
function resetQuery() {
  queryParams.value.date = "";