提交钣金订单管理有无风险i18nwatch监听切换中英文
| | |
| | | prop="mainPartNumber" |
| | | > |
| | | <el-input |
| | | :style="{ width:'280px' }" |
| | | :style="{ width: '280px' }" |
| | | v-model="queryParams.mainPartNumber" |
| | | :placeholder="`${$t('common.common.placeholder')}${$t( |
| | | 'plan.query.itemNumber' |
| | |
| | | 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); |
| | |
| | | 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" }, |
| | | { |