修改bug

This commit is contained in:
‘937886381’
2024-03-11 15:47:46 +08:00
parent 756ed9772d
commit df75aa04a1
11 changed files with 192 additions and 218 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-12-12 13:45:25
* @LastEditTime: 2024-03-07 16:10:47
* @LastEditTime: 2024-03-11 15:43:16
* @LastEditors: zhp
* @Description:
-->
@@ -26,7 +26,7 @@
background: '#F2F4F9',
color: '#606266'
}">
<el-table-column :label="'许昌安彩周成品生产汇总' + timeTips" align="center">
<el-table-column :label="'许昌安彩周成品发货及库存日报' + '(' + timeTips + ')'" align="center">
<el-table-column prop="glassType" label="品种" align="center">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.glassType" :disabled="disabled"></el-input>
@@ -54,7 +54,7 @@
</template>
</el-table-column>
</el-table-column>
<el-table-column label="原片">
<el-table-column label="原片" align="center">
<el-table-column prop="originalGlassSize">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.originalGlassSize" :disabled="disabled">
@@ -66,77 +66,77 @@
</el-table-column>
<!-- <el-table-column label="完成良品产量"> -->
<el-table-column prop="customerId" label="用户">
<el-table-column prop="customerId" align="center" label="用户">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.customerId" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.customerId }} </span>
</template>
</el-table-column>
<el-table-column prop="packageType" label="包装形式">
<el-table-column prop="packageType" align="center" label="包装形式">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.packageType" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.packageType }} </span>
</template>
</el-table-column>
<el-table-column prop="orderNum" label="订单数量">
<el-table-column prop="orderNum" align="center" label="订单数量">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.orderNum" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.orderNum }} </span>
</template>
</el-table-column>
<el-table-column prop="orderFinish" label="订单完成">
<el-table-column prop="orderFinish" align="center" label="订单完成">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.orderFinish" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.orderFinish }} </span>
</template>
</el-table-column>
<el-table-column prop="orderRemaining" label="未完成订单">
<el-table-column prop="orderRemaining" align="center" label="未完成订单">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.orderRemaining" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.orderRemaining }} </span>
</template>
</el-table-column>
<el-table-column prop="stockLastMonth" label="上月库存">
<el-table-column prop="stockLastMonth" align="center" label="上月库存">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.stockLastMonth" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.stockLastMonth }} </span>
</template>
</el-table-column>
<el-table-column prop="productNumThisMonth" label="本月生产成品">
<el-table-column prop="productNumThisMonth" align="center" label="本月生产成品">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.productNumThisMonth" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.productNumThisMonth }} </span>
</template>
</el-table-column>
<el-table-column prop="deliveNum" label="发货量">
<el-table-column prop="deliveNum" align="center" label="发货量">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.deliveNum" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.deliveNum }} </span>
</template>
</el-table-column>
<el-table-column prop="undeliveNum" label="未发货量">
<el-table-column prop="undeliveNum" align="center" label="未发货量">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.undeliveNum" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.undeliveNum }} </span>
</template>
</el-table-column>
<el-table-column prop="undeliveArea" label="未发货面积">
<el-table-column prop="undeliveArea" align="center" label="未发货面积">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.undeliveArea" :disabled="disabled">
</el-input>
<span v-else>{{ scope.row.undeliveArea }} </span>
</template>
</el-table-column>
<el-table-column prop="deliveArea" label="发货面积">
<el-table-column prop="deliveArea" align="center" label="发货面积">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.deliveArea" :disabled="disabled">
</el-input>
@@ -144,7 +144,7 @@
</template>
</el-table-column>
<el-table-column prop="productAreaThisMonth" label="本月生产面积">
<el-table-column prop="productAreaThisMonth" align="center" label="本月生产面积">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.productAreaThisMonth" :disabled="disabled">
</el-input>
@@ -154,9 +154,8 @@
</el-table-column>
<!-- </el-table-column> -->
<div style="height: 50px;" class="remark" slot="append">
<h3 style="float: left;text-align: center;margin-left: 20px;">备注</h3>
<el-input 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>
@@ -442,21 +441,6 @@ export default {
// this.getProductLineList();
},
mounted() {
// if (this.$route.params.startTime && this.$route.params.endTime) {
// this.searchBarFormConfig[0].defaultSelect = [
// this.$route.params.startTime,
// this.$route.params.endTime,
// ];
// this.queryParams.param = {};
// this.$set(
// this.queryParams.param,
// 'startTime',
// this.$route.params.startTime
// );
// this.$set(this.queryParams.param, 'endTime', this.$route.params.endTime);
// } else {
// this.searchBarFormConfig[0].defaultSelect = [];
// }
this.getDataList()
this.getDict()
},