chengxiangling
2025-05-12 230015cfc9e0c89e86d65796ab37db8d0de0615d
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" },
      {