diff --git a/src/api/taskmanage/tasklist.js b/src/api/taskmanage/tasklist.js
index 941dbb3..d3ad4fb 100644
--- a/src/api/taskmanage/tasklist.js
+++ b/src/api/taskmanage/tasklist.js
@@ -19,4 +19,4 @@ export const getTaskDetailList = data => createAPI(`taskmanage/taskDetail/taskDe
export const updateTaskDetail = data => createAPI(`taskmanage/taskDetail/updateTaskDetail`, 'post', data);
-
+export const getTaskDetailListBoard= data => createAPI(`board/getTaskDetailListBoard`, 'post', data);
diff --git a/src/views/modules/production/cancelSfdc.vue b/src/views/modules/production/cancelSfdc.vue
index 166dfa9..b034181 100644
--- a/src/views/modules/production/cancelSfdc.vue
+++ b/src/views/modules/production/cancelSfdc.vue
@@ -168,8 +168,7 @@
关闭
-
-
+
@@ -182,17 +181,7 @@
} from '@/api/production/generateReport.js'
import Chooselist from '@/views/modules/common/Chooselist'
- import {
- saveTableDefaultList,
- getTableDefaultListLanguage,
- getTableUserListLanguage,
- removerDefault,
- removerUser
- } from "@/api/table.js"
- import column from "../common/column";
- // import {
- // printSeqNoLabel,
- // } from "@/views/modules/production/print_seqNo_label.js"
+
export default {
name: 'searchSOScheduleRouting',
diff --git a/src/views/modules/production/generateReport.vue b/src/views/modules/production/generateReport.vue
index 7092362..7c1572c 100644
--- a/src/views/modules/production/generateReport.vue
+++ b/src/views/modules/production/generateReport.vue
@@ -966,7 +966,8 @@
this.qty2 ='';
this.saveHeaderData.planStartTime = this.dayjs(new Date()).format('YYYY-MM-DD 00:00:00')
this.saveHeaderData.planFinishTime = this.dayjs(new Date()).format('YYYY-MM-DD 00:00:00')
- searchReportedQty(this.saveHeaderData).then(({data}) => {
+
+ (this.saveHeaderData).then(({data}) => {
if(data.code===0) {
this.cavity= data.row.cavity
this.qty1 = data.row.qtyReported;
diff --git a/src/views/modules/production/scheduleForSOTask.vue b/src/views/modules/production/scheduleForSOTask.vue
index be632e5..14d8a89 100644
--- a/src/views/modules/production/scheduleForSOTask.vue
+++ b/src/views/modules/production/scheduleForSOTask.vue
@@ -498,6 +498,7 @@
orderDate:'',
operatorId:'',
efficiency:'',
+ partPlanQty:'',
},
scheduledModalFlag: false,
availableResourceList: [],
@@ -571,6 +572,7 @@
}
this.schedulingModalData = {
weightFactor: row.weightFactor,
+ partPlanQty: row.partPlanQty,
orderNo: row.orderNo,
site: row.site,
orderRef1: row.orderRef1,
@@ -615,13 +617,22 @@
// })
// return false
// }
- this.schedulingModalTableData.push({
- scheduleQty: '',
- resourceId: this.schedulingModalData.resourceId,
- shiftNo: this.schedulingModalData.shiftNo,
- scheduleDate: null,
- operatorId:this.schedulingModalData.operatorId,
- })
+ let data={
+ scheduleQty: '',
+ weight:'',
+ resourceId: this.schedulingModalData.resourceId,
+ shiftNo: this.schedulingModalData.shiftNo,
+ scheduleDate: null,
+ operatorId:this.schedulingModalData.operatorId,
+ }
+ if(this.schedulingModalData.partPlanQty!=null&&this.schedulingModalData.partPlanQty!=''&&this.schedulingModalData.partPlanQty!=0){
+ data.scheduleQty=this.schedulingModalData.partPlanQty;
+ if(this.schedulingModalData.weightFactor==null||this.schedulingModalData.weightFactor==''||this.schedulingModalData.weightFactor=='0'){
+ }else {
+ data.weight=Math.round( data.scheduleQty*this.schedulingModalData.weightFactor)
+ }
+ }
+ this.schedulingModalTableData.push(data)
this.sumQty += this.schedulingModalData.scheduleQty
},
changeSum () {
diff --git a/src/views/modules/production/scheduleForShopOrder.vue b/src/views/modules/production/scheduleForShopOrder.vue
index 710949c..a1e05c6 100644
--- a/src/views/modules/production/scheduleForShopOrder.vue
+++ b/src/views/modules/production/scheduleForShopOrder.vue
@@ -560,6 +560,7 @@
efficiency:'',
qty1:'',
lastApproveQty:'',
+ partPlanQty:'',
},
scheduledModalFlag: false,
availableResourceList: [],
@@ -628,6 +629,7 @@
}
this.schedulingModalData = {
weightFactor: row.weightFactor,
+ partPlanQty: row.partPlanQty,
orderNo: row.orderNo,
site: row.site,
needDate: row.needDate,
@@ -684,14 +686,22 @@
// })
// return false
// }
- this.schedulingModalTableData.push({
+ let data={
scheduleQty: '',
+ weight:'',
resourceId: this.schedulingModalData.resourceId,
shiftNo: this.schedulingModalData.shiftNo,
scheduleDate: null,
operatorId:this.schedulingModalData.operatorId,
- weight:'',
- })
+ }
+ if(this.schedulingModalData.partPlanQty!=null&&this.schedulingModalData.partPlanQty!=''&&this.schedulingModalData.partPlanQty!=0){
+ data.scheduleQty=this.schedulingModalData.partPlanQty;
+ if(this.schedulingModalData.weightFactor==null||this.schedulingModalData.weightFactor==''||this.schedulingModalData.weightFactor=='0'){
+ }else {
+ data.weight=Math.round( data.scheduleQty*this.schedulingModalData.weightFactor)
+ }
+ }
+ this.schedulingModalTableData.push(data)
this.sumQty += this.schedulingModalData.scheduleQty
},
changeSum () {
diff --git a/src/views/modules/taskmanage/mysendtasklist.vue b/src/views/modules/taskmanage/mysendtasklist.vue
index 3b46260..167f6a3 100644
--- a/src/views/modules/taskmanage/mysendtasklist.vue
+++ b/src/views/modules/taskmanage/mysendtasklist.vue
@@ -85,6 +85,7 @@
border
:height="height"
v-loading="dataListLoading"
+ :row-class-name="tableRowClassName"
@selection-change="selectionChangeHandle"
highlight-current-row
style="width: 100%;">
@@ -558,6 +559,11 @@
})
})
},
+ tableRowClassName({row, rowIndex}) {
+ if (row.chatLastType == '有新回复'&&row.finalStatus=='未完成') {
+ return 'newChat'
+ }
+ },
// 新增 / 修改
addOrUpdateHandle(id) {
this.addOrUpdateVisible = true
@@ -587,5 +593,7 @@
}
diff --git a/src/views/modules/taskmanage/mytasklist.vue b/src/views/modules/taskmanage/mytasklist.vue
index b757f1f..9ffc5d3 100644
--- a/src/views/modules/taskmanage/mytasklist.vue
+++ b/src/views/modules/taskmanage/mytasklist.vue
@@ -78,6 +78,7 @@
border
:height="height"
v-loading="dataListLoading"
+ :row-class-name="tableRowClassName"
@selection-change="selectionChangeHandle"
highlight-current-row
style="width: 100%;">
@@ -466,6 +467,11 @@
})
},
methods: {
+ tableRowClassName({row, rowIndex}) {
+ if (row.chatLastType == '有新消息'&&row.finalStatus=='未完成') {
+ return 'newChat'
+ }
+ },
// 获取数据列表
getDataList() {
this.dataListLoading = true
@@ -564,6 +570,8 @@
}
}
-
diff --git a/src/views/modules/taskmanage/taskReport.vue b/src/views/modules/taskmanage/taskReport.vue
index ebb4773..02c408b 100644
--- a/src/views/modules/taskmanage/taskReport.vue
+++ b/src/views/modules/taskmanage/taskReport.vue
@@ -45,7 +45,7 @@