fix: 6车间车间看板

This commit is contained in:
caoqianming 2024-03-20 14:49:00 +08:00
parent 60bad2227b
commit 6d600c309d
1 changed files with 6 additions and 5 deletions

View File

@ -39,7 +39,8 @@
<div style="height: 4px;"></div>
<div class="boxmain" id="scrollContainer1">
<scScrollTavle v-if="table1Visible" :tableHeight="containerHeight1"
:rowData="saleOutData" :titleData="liData1" :refValue="refValue1"></scScrollTavle>
:rowData="saleOutData" :titleData="liData1" :refValue="refValue1">
</scScrollTavle>
</div>
</div>
</el-col>
@ -432,10 +433,10 @@ export default {
getMtask() {
let that = this;
let obj = {
query: { start_date: this.start_date, end_date: this.end_date, dept_name: "6车间" },
query: { start_date: this.weekFirst, end_date: this.weekLast, dept_name: "6车间" },
};
//
that.$API.bi.dataset.exec.req('mgroupWeek', obj).then((res) => {
that.$API.bi.dataset.exec.req('lineWeek', obj).then((res) => {
let data = res.data2.ds0;
if (data.length > 0) {
let processData = [];
@ -444,11 +445,11 @@ export default {
obj1.elType = 'primary';
obj1.value = item.工段;//
obj2.elType = 'primary';
obj2.value = item.物料名;
obj2.value = item.物料名;
obj3.elType = 'primary';
obj3.value = item.型号;
obj4.elType = 'primary';
obj4.value = item.计划;
obj4.value = item.任务;
obj5.elType = 'primary';
obj5.value = item.合格数;
obj6.elType = 'progress';