|
|
@ -34,7 +34,7 @@
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="报工时间" prop="feedbackTimeArray">
|
|
|
|
<el-form-item label="生产时间" prop="feedbackTimeArray">
|
|
|
|
<el-date-picker
|
|
|
|
<el-date-picker
|
|
|
|
v-model="queryParams.feedbackTimeArray"
|
|
|
|
v-model="queryParams.feedbackTimeArray"
|
|
|
|
format="yyyy-MM-dd"
|
|
|
|
format="yyyy-MM-dd"
|
|
|
@ -150,6 +150,7 @@
|
|
|
|
>{{scope.row.workorderCode}}</el-button>
|
|
|
|
>{{scope.row.workorderCode}}</el-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="sap工单编码" align="center" prop="workorderCodeSap" width="130"/>
|
|
|
|
<el-table-column label="产品编码" align="center" prop="productCode" width="130"
|
|
|
|
<el-table-column label="产品编码" align="center" prop="productCode" width="130"
|
|
|
|
:formatter="productCodeFormate"
|
|
|
|
:formatter="productCodeFormate"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
@ -161,7 +162,7 @@
|
|
|
|
<el-table-column label="累计报工数量" align="center" prop="quantityFeedback" width="100"/>
|
|
|
|
<el-table-column label="累计报工数量" align="center" prop="quantityFeedback" width="100"/>
|
|
|
|
<el-table-column label="累计用人数" align="center" prop="useMan" width="100"/>
|
|
|
|
<el-table-column label="累计用人数" align="center" prop="useMan" width="100"/>
|
|
|
|
<el-table-column label="累计工时" align="center" prop="workTime" />
|
|
|
|
<el-table-column label="累计工时" align="center" prop="workTime" />
|
|
|
|
<el-table-column label="报工时间" align="center" prop="feedbackTimeStr" width="100"/><!--加时分秒生成报工单的逻辑要变切记!!-->
|
|
|
|
<el-table-column label="生产时间" align="center" prop="productDate" width="100"/>
|
|
|
|
<el-table-column label="SAP报工状态" align="center" prop="uploadStatus" width="150"/>
|
|
|
|
<el-table-column label="SAP报工状态" align="center" prop="uploadStatus" width="150"/>
|
|
|
|
<el-table-column label="SAP报工时间" align="center" prop="uploadTime" width="150"/>
|
|
|
|
<el-table-column label="SAP报工时间" align="center" prop="uploadTime" width="150"/>
|
|
|
|
|
|
|
|
|
|
|
@ -724,7 +725,7 @@ export default {
|
|
|
|
var y = dd.getFullYear();
|
|
|
|
var y = dd.getFullYear();
|
|
|
|
var m = dd.getMonth() + 1;//获取当前月份的日期
|
|
|
|
var m = dd.getMonth() + 1;//获取当前月份的日期
|
|
|
|
var d = dd.getDate();
|
|
|
|
var d = dd.getDate();
|
|
|
|
return y + "-" + m + "-" + d+" 00:00:00";
|
|
|
|
return y + "-" + m + "-" + d;
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 查询报工报表列表 */
|
|
|
|
/** 查询报工报表列表 */
|
|
|
@ -736,8 +737,8 @@ export default {
|
|
|
|
}**/
|
|
|
|
}**/
|
|
|
|
|
|
|
|
|
|
|
|
if(this.queryParams.feedbackTimeArray !=null && this.queryParams.feedbackTimeArray.length>0){
|
|
|
|
if(this.queryParams.feedbackTimeArray !=null && this.queryParams.feedbackTimeArray.length>0){
|
|
|
|
this.queryParams.feedbackTimeStart = moment(this.queryParams.feedbackTimeArray[0]).format('YYYY-MM-DD 00:00:00');
|
|
|
|
this.queryParams.feedbackTimeStart = moment(this.queryParams.feedbackTimeArray[0]).format('YYYY-MM-DD');
|
|
|
|
this.queryParams.feedbackTimeEnd = moment(this.queryParams.feedbackTimeArray[1]).format('YYYY-MM-DD 23:59:59');
|
|
|
|
this.queryParams.feedbackTimeEnd = moment(this.queryParams.feedbackTimeArray[1]).format('YYYY-MM-DD');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
listReportWork(this.queryParams).then(response => {
|
|
|
|
listReportWork(this.queryParams).then(response => {
|
|
|
|