From 9edc20f04ae1cdc847a2f709831b8d0e6f4f0eda Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期三, 07 六月 2023 14:47:36 +0800
Subject: [PATCH] 1.生产入库无源单提交测试OK 生产入库开发完成2.MES工单 流程单新增工单编码二维码
---
src/lib/v-gantt-chart/lib/components/time-line/index.vue | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/src/lib/v-gantt-chart/lib/components/time-line/index.vue b/src/lib/v-gantt-chart/lib/components/time-line/index.vue
index 5e43426..4998893 100644
--- a/src/lib/v-gantt-chart/lib/components/time-line/index.vue
+++ b/src/lib/v-gantt-chart/lib/components/time-line/index.vue
@@ -12,6 +12,7 @@
<div
class="gantt-timeline-day "
:style="heightStyle"
+
>
{{ day.format('YYYY-MM-DD') }}
{{ getDayMy(day.format('YYYY-MM-DD')) }}
@@ -19,13 +20,18 @@
<div
class="gantt-timeline-scale"
:style="heightStyle"
- style="border-right: 1px solid #eee"
+
+
>
+<!-- style="border-right: 1px solid #eee"-->
<div
v-for="(hour,ind) in getTimeScales(day)"
:key="ind"
:style="cellWidthStyle"
+
+
>
+<!-- style="border-right: 1px solid #eee;"-->
{{ hour }}
<!-- <span v-if="hour !='01' ">{{hour}}</span> -->
</div>
@@ -85,7 +91,12 @@
},
cellWidthStyle() {
return {
- width: `${this.cellWidth}px`
+ width: `${this.cellWidth}px`,
+
+ // width: `${this.cellWidth/2}px`,
+
+
+ // marginLeft:`${this.cellWidth/2}px`
}
},
heightStyle() {
@@ -165,7 +176,7 @@
</script>
<style lang="scss" scoped>
.gantt-timeline-day {
- border-right: 1px solid #ebeef5;
+ //border-right: 1px solid #ebeef5;
border-bottom: 1px solid #ebeef5;
//background: rgb(245, 245, 245);
background: #fff;
--
Gitblit v1.9.3