|
|
|
@ -20,73 +20,81 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="chart2">
|
|
|
|
|
<div style="background-color: #1077bc19;height: 50px;line-height: 50px;">
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 11%">
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 18%">
|
|
|
|
|
任务编号
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 31%">
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 22%">
|
|
|
|
|
销售订单
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 13%">
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 12%">
|
|
|
|
|
产线
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 13%">
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 12%">
|
|
|
|
|
成品名称
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 11%">
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 10%">
|
|
|
|
|
成品规格
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 11%">
|
|
|
|
|
数量
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 10%">
|
|
|
|
|
计划数量
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 10%">
|
|
|
|
|
完成数量
|
|
|
|
|
</div>
|
|
|
|
|
<div class="scrollTableItem" style="padding:0;color:#65c2f3;font-weight: bold;width: 6%">
|
|
|
|
|
状态
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<vue-seamless-scroll
|
|
|
|
|
:class-option="scrollTableOption"
|
|
|
|
|
:data="scrollTableData1"
|
|
|
|
|
:data="scrollTableData"
|
|
|
|
|
class="case-item"
|
|
|
|
|
style="height: calc(100% - 50px);overflow: hidden;"
|
|
|
|
|
style="height: calc(100% - 50px);overflow: hidden;font-size: 0.8vw"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
v-for="(item, index) in scrollTableData1"
|
|
|
|
|
v-for="(item, index) in scrollTableData"
|
|
|
|
|
:key="index"
|
|
|
|
|
>
|
|
|
|
|
<div :style='"background-color:" + ((index % 2 === 0)? "#1077bc19":"#1077bc05") '>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style="width: 11%"
|
|
|
|
|
class="scrollTableItem" style="width: 18%"
|
|
|
|
|
>
|
|
|
|
|
{{ item.processId }}
|
|
|
|
|
{{ item.orderCode }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style="width: 31%"
|
|
|
|
|
class="scrollTableItem" style="width: 22%"
|
|
|
|
|
>
|
|
|
|
|
{{ item.processName }}
|
|
|
|
|
{{ item.saleorderCode }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style="width: 13%"
|
|
|
|
|
class="scrollTableItem" style="width: 12%"
|
|
|
|
|
>
|
|
|
|
|
{{ item.planAmount }}
|
|
|
|
|
{{ item.dispatchName }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style="width: 13%"
|
|
|
|
|
class="scrollTableItem" style="width: 12%"
|
|
|
|
|
>
|
|
|
|
|
{{ item.completeAmount }}
|
|
|
|
|
{{ item.materialName }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style="width: 11%"
|
|
|
|
|
class="scrollTableItem" style="width: 10%"
|
|
|
|
|
>
|
|
|
|
|
{{ item.quantityAmount }}
|
|
|
|
|
{{ item.materialSpec }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style="width: 11%"
|
|
|
|
|
class="scrollTableItem" style="width: 10%"
|
|
|
|
|
>
|
|
|
|
|
{{ item.finishingRate }}%
|
|
|
|
|
{{ item.planAmount }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style="width: 10%"
|
|
|
|
|
>
|
|
|
|
|
{{ item.completeAmount }}
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
|
|
|
|
class="scrollTableItem" style="width: 11%"
|
|
|
|
|
class="scrollTableItem" style="width: 6%"
|
|
|
|
|
>
|
|
|
|
|
{{ item.finishingRate }}%
|
|
|
|
|
{{ item.orderStatusStr }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -183,7 +191,57 @@ export default {
|
|
|
|
|
singleWidth: 0, // 单步运动停止的宽度(默认值0是无缝不停止的滚动) direction => 2/3
|
|
|
|
|
waitTime: 0
|
|
|
|
|
},
|
|
|
|
|
scrollTableData: []
|
|
|
|
|
scrollTableData: [ {
|
|
|
|
|
"createBy": "admin",
|
|
|
|
|
"createTime": "2024-11-24 20:11:12",
|
|
|
|
|
"updateBy": "chenmingle",
|
|
|
|
|
"updateTime": "2024-11-24 20:14:50",
|
|
|
|
|
"remark": null,
|
|
|
|
|
"productOrderId": 112,
|
|
|
|
|
"orderCode": "20241124201030OC001",
|
|
|
|
|
"saleOrderId": 158,
|
|
|
|
|
"saleorderCode": "20241124200629CG001",
|
|
|
|
|
"saleorderLinenumber": null,
|
|
|
|
|
"projectNo": null,
|
|
|
|
|
"saleType": "2",
|
|
|
|
|
"materialId": 17930,
|
|
|
|
|
"materialBomId": 2366,
|
|
|
|
|
"produceMaterialId": 17938,
|
|
|
|
|
"materialBomDesc": "T3号-4楼成品柜体4-5",
|
|
|
|
|
"dispatchType": "2",
|
|
|
|
|
"dispatchId": 3,
|
|
|
|
|
"cabinetChannel": null,
|
|
|
|
|
"saleAmount": 1.000000,
|
|
|
|
|
"planAmount": 1.000000,
|
|
|
|
|
"dispatchAmount": 1.000000,
|
|
|
|
|
"completeAmount": 0.000000,
|
|
|
|
|
"releaseTime": "2024-11-24 20:11:18",
|
|
|
|
|
"planBeginTime": "2024-11-25 00:00:00",
|
|
|
|
|
"planEndTime": "2024-11-29 00:00:00",
|
|
|
|
|
"realBeginTime": "2024-11-24 20:14:50",
|
|
|
|
|
"realEndTime": null,
|
|
|
|
|
"planDeliveryDate": "2024-12-06 00:00:00",
|
|
|
|
|
"orderStatus": "3",
|
|
|
|
|
"stockLockFlag": "0",
|
|
|
|
|
"saleOrderFlag": "1",
|
|
|
|
|
"dispatchName": "四楼工艺路线",
|
|
|
|
|
"materialCode": "MES.EP.TEST45-P53",
|
|
|
|
|
"materialName": "T3号-5楼成品柜体4-5",
|
|
|
|
|
"materialSpec": "T3号-5楼成品柜体4-5spec",
|
|
|
|
|
"produceMaterialCode": null,
|
|
|
|
|
"produceMaterialName": null,
|
|
|
|
|
"produceMaterialSpec": null,
|
|
|
|
|
"productionTime": null,
|
|
|
|
|
"preOrderId": null,
|
|
|
|
|
"preOrderCode": null,
|
|
|
|
|
"planId": null,
|
|
|
|
|
"planCode": null,
|
|
|
|
|
"planDateRange": null,
|
|
|
|
|
"orderStatusStr": null,
|
|
|
|
|
"overtimeFlag": null,
|
|
|
|
|
"mesProductPlanList": null,
|
|
|
|
|
"baseProcessInfoList": null
|
|
|
|
|
}]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
@ -198,16 +256,6 @@ export default {
|
|
|
|
|
methods: {
|
|
|
|
|
getData() {
|
|
|
|
|
workOrderProgress().then(e => {
|
|
|
|
|
this.scrollTableData = e.data.map((v, k) => {
|
|
|
|
|
return {
|
|
|
|
|
no: k + 1,
|
|
|
|
|
orderCode: v.orderCode,
|
|
|
|
|
planAmount: v.planAmount,
|
|
|
|
|
completeAmount: v.completeAmount,
|
|
|
|
|
quantityAmount: parseFloat(v.planAmount) - parseFloat(v.completeAmount),
|
|
|
|
|
finishingRate: parseFloat(v.completeAmount) === 0 ? 0 : (parseFloat(v.completeAmount) / parseFloat(v.completeAmount)) * 100
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|