排产看板工序文字展示调整

dev-scheduling
zhangdi 1 day ago
parent da5a6ff952
commit ba39269715
  1. 15
      src/views/productionSchedulingPlan/schedulingDashboard/container.vue

@ -774,8 +774,18 @@ export default {
// //
getNarrowTaskOffsetByLayerLeft(processName) { getNarrowTaskOffsetByLayerLeft(processName) {
// //
const offset = processName.length >= 5 ? -30 : -7; // const offset = processName.length >= 5 ? -30 : -15;
return offset; const offset = null;
if (processName.length >= 7) {
return -33;
}
if (processName.length >= 6) {
return -20;
}
if (processName.length >= 5) {
return -17;
}
return -7
}, },
handleParamsChange() { handleParamsChange() {
// //
@ -909,7 +919,6 @@ export default {
return `星期${days[dayIndex]}`; return `星期${days[dayIndex]}`;
}, },
processChange(val) { processChange(val) {
console.log(9999, val);
if (val) { if (val) {
this.formLabelAlign.processName = val.name; this.formLabelAlign.processName = val.name;
} else { } else {

Loading…
Cancel
Save