中空配方添加解决bug,更改磨边表格样式及语言切换
| | |
| | | const handleptask = async() => { |
| | | try { |
| | | const confirmResult = await ElMessageBox.confirm( |
| | | t('workOrder.partasks'), |
| | | t('searchOrder.partasks'), |
| | | t('workOrder.prompt'), |
| | | { |
| | | confirmButtonText: t('workOrder.yes'), |
| | |
| | | <template #default="props"> |
| | | <el-table |
| | | :header-cell-style="{ background: '#F2F3F5', color: '#1D2129' }" |
| | | :data="props.row.details" style="width: 100%;height: 200px;"> |
| | | :data="props.row.details" style="width: 100%;height: 100px;"> |
| | | <el-table-column prop="engineerId" align="center" :label="$t('searchOrder.projectnumber')" min-width="80" /> |
| | | <el-table-column prop="flowCardId" align="center" :label="$t('hellow.flowCardId')" min-width="80" /> |
| | | <el-table-column prop="glassId" align="center" :label="$t('searchOrder.glassID')" min-width="80" /> |
| | |
| | | const handleptask = async() => { |
| | | try { |
| | | const confirmResult = await ElMessageBox.confirm( |
| | | t('workOrder.partasks'), |
| | | t('searchOrder.partasks'), |
| | | t('workOrder.prompt'), |
| | | { |
| | | confirmButtonText: t('workOrder.yes'), |
| | |
| | | <template #default="props"> |
| | | <el-table |
| | | :header-cell-style="{ background: '#F2F3F5', color: '#1D2129' }" |
| | | :data="props.row.details" style="width: 100%;height: 200px;"> |
| | | :data="props.row.details" style="width: 100%;height: 100px;"> |
| | | <el-table-column prop="engineerId" align="center" :label="$t('searchOrder.projectnumber')" min-width="80" /> |
| | | <el-table-column prop="flowCardId" align="center" :label="$t('hellow.flowCardId')" min-width="80" /> |
| | | <el-table-column prop="glassId" align="center" :label="$t('searchOrder.glassID')" min-width="80" /> |
| | |
| | | </el-dialog> |
| | | <!-- 中空配方 --> |
| | | <el-dialog v-model="mulan" top="15vh" width="80%" :title="$t('hellow.hollowformula')"> |
| | | <el-button id="searchButton" type="primary" @click="add = true"> |
| | | <el-button id="searchButton" type="primary" @click="openAddDialog"> |
| | | {{ $t('basicData.add') }} |
| | | </el-button> |
| | | <el-table ref="table" style="margin-top: 20px;height: 400px;" |
| | |
| | | sealInsert.value = row.sealInsert; |
| | | adda.value = true; |
| | | } |
| | | function openAddDialog() { |
| | | formulaName.value = ''; |
| | | filmRemove.value = ''; |
| | | bottomRemove.value = ''; |
| | | leftRemove.value = ''; |
| | | rightRemove.value = ''; |
| | | topRemove.value = ''; |
| | | casFour.value = ''; |
| | | casOne.value = ''; |
| | | casThree.value = ''; |
| | | casTwo.value = ''; |
| | | frameFour.value = ''; |
| | | frameOne.value = ''; |
| | | frameThree.value = ''; |
| | | frameTwo.value = ''; |
| | | intervalFrameHeight.value = ''; |
| | | intervalFrameType.value = ''; |
| | | intervalFrameWidth.value = ''; |
| | | sealInsert.value = ''; |
| | | add.value = true; |
| | | } |
| | | const handlezhiban = () => { |
| | | dialogFormVisiblea.value = true; |
| | | fetchFlowCardId(); |
| | |
| | | </el-dialog> |
| | | <!-- 中空配方 --> |
| | | <el-dialog v-model="mulan" top="15vh" width="70%" :title="$t('hellow.hollowformula')"> |
| | | <el-button id="searchButton" type="primary" @click="add = true"> |
| | | <el-button id="searchButton" type="primary" @click="openAddDialog"> |
| | | {{ $t('basicData.add') }} |
| | | </el-button> |
| | | <el-table ref="table" style="margin-top: 20px;height: 400px;" |
| | |
| | | topRemove.value = row.topRemove; |
| | | adda.value = true; |
| | | } |
| | | function openAddDialog() { |
| | | formulaName.value = ''; |
| | | filmRemove.value = ''; |
| | | bottomRemove.value = ''; |
| | | leftRemove.value = ''; |
| | | rightRemove.value = ''; |
| | | topRemove.value = ''; |
| | | add.value = true; |
| | | } |
| | | const handlezhiban = () => { |
| | | dialogFormVisiblea.value = true; |
| | | fetchFlowCardId(); |