生产计划管理-表字段更新 12.19

zhc4dev
zhc077 2 years ago
parent 520ce4fb7b
commit fd931f6dba
  1. 4
      ant-design-vue-jeecg/src/views/productplan/ZyProductPlanList.vue
  2. 6
      ant-design-vue-jeecg/src/views/productplan/modules/ZyProductPlanForm.vue
  3. 2
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/entity/ZyProductPlan.java

@ -184,7 +184,7 @@ export default {
{
title: '生产时长',
align: "center",
dataIndex: 'offTime'
dataIndex: 'duration'
},
{
title: '状态',
@ -252,7 +252,7 @@ export default {
fieldList.push({type: 'string', value: 'teamId', text: '班组', dictCode: ''})
fieldList.push({type: 'string', value: 'teamLeader', text: '组长', dictCode: ''})
fieldList.push({type: 'date', value: 'workTime', text: '生产开始时间'})
fieldList.push({type: 'int', value: 'offTime', text: '生产时长', dictCode: ''})
fieldList.push({type: 'int', value: 'duration', text: '生产时长', dictCode: ''})
fieldList.push({type: 'int', value: 'status', text: '状态', dictCode: ''})
fieldList.push({type: 'int', value: 'speedUp', text: '是否加急', dictCode: ''})
fieldList.push({type: 'string', value: 'auditBy', text: '审核人', dictCode: ''})

@ -57,8 +57,8 @@
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="生产时长" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="offTime">
<a-input-number v-model="model.offTime" placeholder="请输入生产时长" style="width: 100%"/>
<a-form-model-item label="生产时长" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="duration">
<a-input-number v-model="model.duration" placeholder="请输入生产时长" style="width: 100%"/>
</a-form-model-item>
</a-col>
<a-col :span="24">
@ -134,7 +134,7 @@ export default {
// status: [
// {required: true,message: ""},
// ],
offTime: [
duration: [
{required: true, message: "生产时长不能不空"},
{pattern: /^[0-9]{0,100}$/, message: '生产时间不能为空且长度为正整数'}
],

@ -103,7 +103,7 @@ public class ZyProductPlan implements Serializable {
*/
@Excel(name = "生产时长", width = 15)
@ApiModelProperty(value = "生产时长")
private Integer offTime;
private Integer duration;
/**
* 未审核0已审核1生产中2已完成3已撤销8异常9默认0
*/

Loading…
Cancel
Save