Commit 645458fd authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_producton_planning: show current edit car notification and change

css name
parent f6895886
......@@ -275,7 +275,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: "error" if (cell and ((not cell.getSpecialise() and cell.getQuantity()) or (cell.getSpecialiseValue().getQuantity() != cell.getQuantity()))) else ""</string> </value>
<value> <string>python: "warning" if (cell and ((not cell.getSpecialise() and cell.getQuantity()) or (cell.getSpecialiseValue().getQuantity() != cell.getQuantity()))) else ""</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -47,6 +47,10 @@ function recalculateSumLine(idx, element) {
var input = inputs[i];
var tmp = input.querySelector('input');
if (tmp) {
text = tmp.parentElement.parentElement.parentElement.querySelector('.matrixbox_label_column').innerText;
span = document.createElement('span');
span.innerText=text;
tmp.parentElement.appendChild(span);
v = parse(tmp.value);
} else {
v = parse(input.innerText);
......
.matrixbox_production_planning table tbody td span:last-child {
position: relative;
}
.matrixbox_production_planning table tbody td span:last-child span{
display: none;
position: absolute;
left: 100px;
background: black;
color: white;
z-index:100;
}
.matrixbox_production_planning table tbody td span:last-child:focus span,
.matrixbox_production_planning table tbody td span:last-child:hover span {
display: inline;
}
.content .field .warning {
color: #f40;
}
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>production_planning.css</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment