修改模型下拉框影响分页大小的bug

This commit is contained in:
17630416519 2026-01-13 13:32:46 +08:00
parent 00bea48195
commit b04c138c20
6 changed files with 38 additions and 21 deletions

View File

@ -290,3 +290,25 @@ function handleDelete(row) {
initDict()
handleQuery()
</script>
<style scoped lang="scss">
::v-deep .el-select__wrapper {
align-items: center;
background-color: var(--el-fill-color-blank);
border-radius: var(--el-border-radius-base);
box-shadow: 0 0 0 1px var(--el-border-color) inset;
box-sizing: border-box;
cursor: pointer;
display: flex;
font-size: 14px;
gap: 6px;
line-height: 24px;
min-height: 32px;
padding: 4px 12px;
position: relative;
text-align: left;
transform: translateZ(0);
transition: var(--el-transition-duration);
/* width: 373px; */
}
</style>

View File

@ -504,7 +504,7 @@ onUnmounted(() => {
text-align: left;
transform: translateZ(0);
transition: var(--el-transition-duration);
width: 375px;
/* width: 375px; */
}
</style>

View File

@ -350,6 +350,6 @@ handleQuery()
text-align: left;
transform: translateZ(0);
transition: var(--el-transition-duration);
width: 395px;
/* width: 353px; */
}
</style>

View File

@ -445,6 +445,6 @@ handleQuery()
text-align: left;
transform: translateZ(0);
transition: var(--el-transition-duration);
width: 365px;
/* width: 365px; */
}
</style>

View File

@ -106,7 +106,8 @@
</el-col>
<el-col :lg="12">
<el-form-item label="工序序号" prop="operationSeq">
<el-input v-model.number="form.operationSeq" placeholder="请输入工序序号" />
<!-- <el-input v-model.number="form.operationSeq" placeholder="请输入工序序号" /> -->
<el-input-number v-model="form.operationSeq" :min="0" @change="handleChangeNumber" />
</el-form-item>
</el-col>
<el-col :lg="12">
@ -678,7 +679,9 @@ function handleFlowName(val, row) {
}
})
}
function handleChangeNumber(val) {
form.value.operationSeq = val
}
function cancelClick() {
console.log('取消');
drawer.value = false
@ -852,6 +855,7 @@ const state = reactive({
single: true,
multiple: true,
form: {
operationSeq: 0,
standardTime: 0,
},
form1: {
@ -944,7 +948,7 @@ function reset() {
fkRoutingCode: null,
operationCode: null,
operationName: null,
operationSeq: null,
operationSeq: 0,
operationType: null,
description: null,
standardTime: 0,
@ -971,10 +975,10 @@ function handleAdd() {
opertype.value = 1
initTransferData()
getProcessRouteSelectData()
form.value.isSkippable='1'
form.value.isReworkable='1'
form.value.isParallel='1'
form.value.status=1
form.value.isSkippable = '1'
form.value.isReworkable = '1'
form.value.isParallel = '1'
form.value.status = 1
}
const fkRoutingCodeData = ref('')
@ -1088,15 +1092,6 @@ handleQuery()
</script>
<style scoped>
::v-deep .el-drawer__header {
align-items: center;
display: flex;
font-weight: bold;
color: #000;
overflow: hidden;
margin-bottom: -5px;
}
::v-deep .el-select__wrapper {
align-items: center;
background-color: var(--el-fill-color-blank);
@ -1114,6 +1109,6 @@ handleQuery()
text-align: left;
transform: translateZ(0);
transition: var(--el-transition-duration);
width: 353px;
/* width: 353px; */
}
</style>

View File

@ -1024,6 +1024,6 @@ handleQuery()
text-align: left;
transform: translateZ(0);
transition: var(--el-transition-duration);
width: 373px;
/* width: 373px; */
}
</style>