| | |
| | | <el-col :span="locale === 'zh' ? 5 : 10"> |
| | | <el-form-item |
| | | :label="$t('plan.query.requireTraceID')" |
| | | prop="requireId" |
| | | prop="requireTrackId" |
| | | > |
| | | <el-input |
| | | :style="{ width: locale === 'zh' ? '140px' : '300px' }" |
| | | v-model="queryParams.requireId" |
| | | v-model="queryParams.requireTrackId" |
| | | :placeholder="`${$t('plan.placeholder.requireTraceID')}`" |
| | | clearable |
| | | @keyup.enter="handleQuery" |
| | |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | bomLineCode: null, |
| | | requireId: null |
| | | requireTrackId: null |
| | | }, |
| | | }); |
| | | const { queryParams } = toRefs(data); |
| | |
| | | }, |
| | | { |
| | | title: t("plan.table.requireTraceID"), |
| | | field: "requireId", |
| | | field: "requireTrackId", |
| | | width: 200, |
| | | align: "center", |
| | | }, |
| | |
| | | { |
| | | title: t("plan.table.planEndDayDate"), |
| | | field: "completeDate", |
| | | width: 100, |
| | | width: 200, |
| | | align: "center", |
| | | }, |
| | | { |
| | | title: t("plan.table.requirementDate"), |
| | | field: "demandDate", |
| | | width: 100, |
| | | width: 200, |
| | | align: "center", |
| | | }, |
| | | { |
| | |
| | | { |
| | | title: t("plan.table.productionBase"), |
| | | field: "productionBase", |
| | | width: 100, |
| | | width: 200, |
| | | align: "center", |
| | | }, |
| | | ]; |
| | |
| | | listAll_plant({}).then(response=>{ |
| | | plantList.value = response.data; |
| | | }) |
| | | } |
| | | // 表单重置 |
| | | function reset() { |
| | | queryParams.value = { |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | bomLineCode: null, |
| | | requireId: null |
| | | }; |
| | | proxy.resetForm("queryRef"); |
| | | } |
| | | |
| | | /** 搜索按钮操作 */ |