Files
jikimo_sf/mrp_mps/static/src/components/main.xml
qihao.gong@jikimo.com 1533ef7be9 新增主生产计划模块
2023-08-15 10:36:04 +08:00

50 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<div t-name="mrp_mps.mrp_mps" class="main o_action" owl="1">
<MrpMpsControlPanel/>
<div class="o_mrp_mps o_content bg-view">
<t t-if="lines.length">
<div class="text-nowrap mr0 ml0">
<table class="table o_mps_product_table">
<thead class="table-light">
<tr class="o_mps_period">
<th>
<CheckBox value='isSelected' onChange.bind="toggleSelection"/>
</th>
<th/>
<th/>
<th class="text-end pe-4" scope="col" t-foreach="manufacturingPeriods" t-as="period" t-key="period">
<div><t t-esc="period"/></div>
</th>
</tr>
</thead>
<t t-foreach="lines" t-as="productionSchedule" t-key="productionSchedule.id">
<MpsLineComponent data="productionSchedule" groups="groups"/>
</t>
</table>
</div>
</t>
<t t-else="">
<t t-call="mrp_mps_nocontent_helper"/>
</t>
</div>
</div>
<t t-name="mrp_mps_nocontent_helper" owl="1">
<div class="o_view_nocontent">
<div class="o_nocontent_help">
<p class="o_view_nocontent_smiling_face">
No product yet. Add one to start scheduling.
</p><p>
The master schedule translates your sales and demand forecasts into a production and purchase planning for each component.
It ensures everything gets scheduled on time, based on constraints such as: safety stock, production capacity, lead times.
It's the perfect tool to support your S&amp;OP meetings.
</p>
</div>
</div>
</t>
</templates>