样式调整

This commit is contained in:
pengyuthon
2026-01-24 20:09:39 +08:00
parent 86610abfe6
commit 0821ef3364
4 changed files with 26 additions and 19 deletions
@@ -19,4 +19,16 @@
}
.o_comment_combined_input {
flex: 2;
}
.o_kanban_soong_wkf_record {
.o_kanban_record_headings {
flex: 1;
}
.o_kanban_record_bottom {
flex: 0 0 94px;
@include media-breakpoint-down(sm) {
flex: 0 0 56px;
}
}
}
@@ -175,21 +175,21 @@
<field name="node_btn_name"/>
<templates>
<t t-name="kanban-box">
<div class="o_kanban_record d-md-none card h-100">
<div class="o_kanban_record d-md-none card h-100 border-0">
<div class="card-body">
<div class="mb-2">
<small>
节点:<field name="name" />
</small>
<div class="d-flex justify-content-between align-items-center">
<small>
节点:<field name="name" />
</small>
<small>
状态:<field name="approval_state"/>
</small>
</div>
</div>
<div class="mb-2">
<small>
状态:<field name="approval_state"/>
</small>
</div>
<div class="mb-2">
<small>
经办人:<field name="done_by"/>
经办人:<field name="done_by"/> <field name="lase_click_date"/>
</small>
</div>
<div class="mb-2">
@@ -197,7 +197,7 @@
意见:<field name="comment"/>
</small>
</div>
<div class="mb-2">
<div class="mb-2" t-if="record.document_ids.raw_value.length">
<small>
附件:<field name="document_ids" widget="preview_many2many"/>
</small>
@@ -315,7 +315,7 @@
<t t-name="kanban-box">
<div class="oe_kanban_card oe_kanban_global_click">
<div class="oe_kanban_details">
<div class="o_kanban_record_top mb-0">
<div class="o_kanban_record_top mb-0 o_kanban_soong_wkf_record">
<div class="o_kanban_record_headings">
<strong class="o_kanban_record_title">
<field name="name"/>
@@ -8,13 +8,8 @@ export class CustomAttendanceMealConfirmController extends ListController {
super.setup();
}
async getAction(lock_type) {
const action = await this.orm.call('vacation.meal.line', 'confirm', [lock_type], {context: this.props.context});
action["context"] = {
...action.context,
...this.model.root.context,
}
return action
async getAction() {
await this.orm.call('vacation.meal.line', 'confirm', []);
}
}