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

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

Loading…
Cancel
Save