Compare commits

..

No commits in common. "4c9277b361304376d409be4b04252554ff1bd712" and "3be7ac42371fc4f77108015d1c28f2af68bec33b" have entirely different histories.

10 changed files with 42 additions and 58 deletions

View File

@ -1,7 +1,7 @@
/*
* @Author: zhp
* @Date: 2023-12-12 13:49:02
* @LastEditTime: 2024-03-12 11:16:01
* @LastEditTime: 2024-01-24 15:54:58
* @LastEditors: zhp
* @Description:
*/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-07-19 15:18:30
* @LastEditors: zhp
* @LastEditTime: 2024-03-12 09:05:20
* @LastEditTime: 2024-02-29 15:48:47
* @Description:
-->
<template>
@ -870,8 +870,6 @@ export default {
</script>
<style lang="scss" scoped>
.visual-container {
width: 1920px;
height: 1080px;
@ -888,16 +886,14 @@ export default {
position: relative;
.unit{
position: absolute;
left: 290px;
left: 260px;
top:25px;
color: rgba($color: #ffffff, $alpha: 8);
font-size: 20px;
}
.time{
position: absolute;
left: 1360px;
top:25px;
color: rgba($color: #ffffff, $alpha: 8);
font-size: 20px;
}
.title-button {

View File

@ -24,7 +24,7 @@
<div class="bar-item">
<div v-if="title" class="bar-title" ds>
<span>
<svg-icon :icon-class="titleIcon" style="font-size: 1em; position: relative; top: .01em" />
<svg-icon :icon-class="titleIcon" style="font-size: 1em; position: relative; top: .08em" />
{{ title }}
</span>
<!-- <span v-if="showTime" style="font-size: 20px;color:#52FFF8;margin-left: 10px;margin-top: 2px;">

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-07-19 15:18:30
* @LastEditors: zhp
* @LastEditTime: 2024-03-12 09:34:06
* @LastEditTime: 2024-03-06 12:01:10
* @Description:
-->
<template>
@ -982,8 +982,6 @@ export default {
</script>
<style lang="scss" scoped>
.visual-container {
width: 1920px;
height: 1080px;
@ -995,15 +993,12 @@ export default {
background: url('../../assets/img/OperationalOverview/title.png') no-repeat;
background-size: 100% 100%;
color: #00fff0;
// word-spacing: 8px;
letter-spacing: 8px;
word-spacing: 8px;
text-align: center;
.unit {
position: absolute;
left: 290px;
left: 260px;
top: 25px;
letter-spacing: 0px;
color: rgba($color: #ffffff, $alpha: 8);
font-size: 20px;
}
@ -1011,8 +1006,6 @@ export default {
position: absolute;
left: 1360px;
top: 25px;
letter-spacing: 0px;
color: rgba($color: #ffffff, $alpha: 8);
font-size: 20px;
}
.title-button {

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-12-12 13:45:25
* @LastEditTime: 2024-03-12 11:17:53
* @LastEditTime: 2024-03-11 16:13:38
* @LastEditors: zhp
* @Description:
-->
@ -114,14 +114,13 @@
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.goodProductPassTrend" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.goodProductPassTrend ? scope.row.goodProductPassTrend + '%' : undefined }}
</span>
<span v-else>{{ scope.row.goodProductPassTrend ? scope.row.goodProductPassTrend + '%' : undefined }} </span>
</template>
</el-table-column>
</el-table-column>
</el-table-column>
<div style="height: 50px;" class="remark" slot="append">
<el-input placeholder="备注" v-if="!disabled" v-model="remark" :disabled="disabled">
<div class="remark" slot="append">
<el-input placeholder="备注" v-if="disabled" v-model="remark" :disabled="disabled">
</el-input>
<span v-else>{{ remark }} </span>
</div>
@ -531,13 +530,14 @@ export default {
const result = await Promise.all([
await updateSumProductionDataList(obj),
await updateProductionDataList(updateArr),
])
console.log(result);
if (result[0].data == true && result[1].data == true) {
]);
if (result[0] == true && result[1] == true) {
// console.log(res)
this.disabled = true
this.isSave = false
this.getDataList()
} else {
this.$modal.msgError('更新失败');
}
},
async getDict() {

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-12-12 13:45:25
* @LastEditTime: 2024-03-12 11:14:04
* @LastEditTime: 2024-03-11 16:16:31
* @LastEditors: zhp
* @Description:
-->
@ -122,8 +122,8 @@
</el-table-column>
</el-table-column>
</el-table-column>
<div style="height: 50px;" class="remark" slot="append">
<el-input placeholder="备注" v-if="!disabled" v-model="remark" :disabled="disabled">
<div class="remark" slot="append">
<el-input placeholder="备注" v-if="disabled" v-model="remark" :disabled="disabled">
</el-input>
<span v-else>{{ remark }} </span>
</div>
@ -535,13 +535,14 @@ export default {
const result = await Promise.all([
await updateSumProductionDataList(obj),
await updateProductionDataList(updateArr),
])
console.log(result);
if (result[0].data == true && result[1].data == true) {
]);
if (result[0] == true && result[1] == true) {
// console.log(res)
this.disabled = true
this.isSave = false
this.getDataList()
} else {
this.$modal.msgError('更新失败');
}
},
async getDataList() {

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-12-12 13:45:25
* @LastEditTime: 2024-03-12 11:17:14
* @LastEditTime: 2024-03-11 15:43:16
* @LastEditors: zhp
* @Description:
-->
@ -33,12 +33,6 @@
<span v-else>{{ scope.row.glassType }} </span>
</template>
</el-table-column>
<el-table-column prop="productionH" label="厚度" align="center">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.productionH" :disabled="disabled"></el-input>
<span v-else>{{ scope.row.productionH }} </span>
</template>
</el-table-column>
<el-table-column label="规格" align="center">
<el-table-column label="成品" align="center">
<el-table-column :show-header="false">
@ -160,8 +154,8 @@
</el-table-column>
<!-- </el-table-column> -->
<div style="height: 50px;" class="remark" slot="append">
<el-input placeholder="备注" v-if="!disabled" v-model="remark" :disabled="disabled">
<div class="remark" slot="append">
<el-input placeholder="备注" v-if="disabled" v-model="remark" :disabled="disabled">
</el-input>
<span v-else>{{ remark }} </span>
</div>
@ -186,10 +180,8 @@
<script>
import {
getAutoDeliveDataList,
// updateSumAutoDeliveDataList,
// updateAutoDeliveDataList
updateAutoDeliveDataList,
updateSumAutoDeliveDataList
updateSumAutoDeliveDataList,
updateAutoDeliveDataList
} from '@/api/report/production';
// import Editor from '@/components/Editor';
import moment from 'moment';
@ -517,10 +509,10 @@ export default {
let updateArr = this.list
// console.log(JSON.stringify(updateArr[1]))
const result = await Promise.all([
await updateAutoDeliveDataList(obj),
await updateSumAutoDeliveDataList(updateArr),
await updateSumProductionDataList(obj),
await updateAutoDeliveDataList(updateArr),
]);
if (result[0].data == true && result[1].data == true) {
if (result[0] == true && result[1] == true) {
// console.log(res)
this.disabled = true
this.isSave = false

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-12-12 13:45:25
* @LastEditTime: 2024-03-12 11:14:55
* @LastEditTime: 2024-03-11 17:05:50
* @LastEditors: zhp
* @Description:
-->
@ -123,8 +123,8 @@
</el-table-column>
</el-table-column>
</el-table-column>
<div style="height: 50px;" class="remark" slot="append">
<el-input placeholder="备注" v-if="!disabled" v-model="remark" :disabled="disabled">
<div class="remark" slot="append">
<el-input placeholder="备注" v-if="disabled" v-model="remark" :disabled="disabled">
</el-input>
<span v-else>{{ remark }} </span>
</div>
@ -505,13 +505,14 @@ export default {
const result = await Promise.all([
await updateSumProductionDataList(obj),
await updateProductionDataList(updateArr),
])
console.log(result);
]);
if (result[0].data == true && result[1].data == true) {
// console.log(res)
this.disabled = true
this.isSave = false
this.getDataList()
} else {
this.$modal.msgError('更新失败');
}
},
changeTime(val) {

View File

@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-12-12 13:45:25
* @LastEditTime: 2024-03-12 11:15:05
* @LastEditTime: 2024-03-11 16:18:07
* @LastEditors: zhp
* @Description:
-->
@ -126,8 +126,8 @@
</el-table-column>
</el-table-column>
</el-table-column>
<div style="height: 50px;" class="remark" slot="append">
<el-input placeholder="备注" v-if="!disabled" v-model="remark" :disabled="disabled">
<div class="remark" slot="append">
<el-input placeholder="备注" v-if="disabled" v-model="remark" :disabled="disabled">
</el-input>
<span v-else>{{ remark }} </span>
</div>
@ -449,13 +449,14 @@ export default {
const result = await Promise.all([
await updateSumProductionDataList(obj),
await updateProductionDataList(updateArr),
])
console.log(result);
]);
if (result[0].data == true && result[1].data == true) {
// console.log(res)
this.disabled = true
this.isSave = false
this.getDataList()
} else {
this.$modal.msgError('更新失败');
}
},
transformYear(timeStamp) {//