chengxiangling
2025-05-12 230015cfc9e0c89e86d65796ab37db8d0de0615d
提交钣金订单管理有无风险i18nwatch监听切换中英文
已修改1个文件
23 ■■■■ 文件已修改
src/views/mainPlan/sheetMetalOrderManage/index.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mainPlan/sheetMetalOrderManage/index.vue
@@ -49,7 +49,7 @@
            prop="mainPartNumber"
          >
            <el-input
              :style="{ width:'280px' }"
              :style="{ width: '280px' }"
              v-model="queryParams.mainPartNumber"
              :placeholder="`${$t('common.common.placeholder')}${$t(
                'plan.query.itemNumber'
@@ -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" },
      {