新增主生产计划模块
This commit is contained in:
49
mrp_mps/static/src/components/main.xml
Normal file
49
mrp_mps/static/src/components/main.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?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&OP meetings.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Reference in New Issue
Block a user