chengxiangling
2025-05-12 230015cfc9e0c89e86d65796ab37db8d0de0615d
src/views/mainPlan/sheetMetalOrderManage/index.vue
@@ -269,16 +269,7 @@
const { t, locale } = useI18n();
const basicStore = useBasicStore();
const { proxy } = getCurrentInstance();
const delayRiskOptions = ref([
  {
    label: t("plan.options.hasRisk"),
    value: "1",
  },
  {
    label: t("plan.options.noRisk"),
    value: "0",
  },
]);
const delayRiskOptions = ref([]);
const radio = ref(1);
const customicDate = ref("");
const openDialog = ref(false);
@@ -330,6 +321,16 @@
watch(
  locale,
  (newLocale) => {
    delayRiskOptions.value = [
      {
        label: t("plan.options.hasRisk"),
        value: "1",
      },
      {
        label: t("plan.options.noRisk"),
        value: "0",
      },
    ];
    columns.value = [
      { type: "checkbox", width: 60, align: "center", fixed: "left" },
      {