|
|
|
@ -73,9 +73,9 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="创建人" align="center" prop="createBy" />
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createTime" />
|
|
|
|
|
<el-table-column label="可用标识" align="center" prop="Active">
|
|
|
|
|
<el-table-column label="可用标识" align="center" prop="active">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.Active == 1 ? "是" : "否" }}
|
|
|
|
|
{{ scope.row.active == 1 ? "是" : "否" }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column label="企业主键" align="center" prop="enterpriseId" />
|
|
|
|
@ -114,13 +114,13 @@
|
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
|
|
|
|
|
<el-form-item label="物料类别编码" prop="pgCode">
|
|
|
|
|
<el-input v-model="form.pgCode" placeholder="请输入物料类别编码" />
|
|
|
|
|
<el-input v-model="form.pgCode" placeholder="请输入物料类别编码" style="width:300px"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item label="产品分组简称" prop="pgDesc">
|
|
|
|
|
<el-input v-model="form.pgDesc" placeholder="请输入产品分组简称" />
|
|
|
|
|
</el-form-item> -->
|
|
|
|
|
<el-form-item label="物料类别名称" prop="pgDescGlobal">
|
|
|
|
|
<el-select v-model="form.pgDescGlobal" placeholder="请选择物料类别名称">
|
|
|
|
|
<el-select v-model="form.pgDescGlobal" placeholder="请选择物料类别名称" style="width:300px">
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.material_type"
|
|
|
|
|
:key="dict.value"
|
|
|
|
@ -132,9 +132,9 @@
|
|
|
|
|
<!-- <el-form-item label="产品分组扩展名称" prop="pgDescExtended">
|
|
|
|
|
<el-input v-model="form.pgDescExtended" placeholder="请输入产品分组扩展名称" />
|
|
|
|
|
</el-form-item> -->
|
|
|
|
|
<el-form-item label="可用标识" prop="Active">
|
|
|
|
|
<el-select v-model="form.Active" placeholder="请选择是否启用" @change="$forceUpdate()" clearable>
|
|
|
|
|
<el-option v-for="item in options" :key="item.Active" :label="item.label" :value="item.Active"></el-option>
|
|
|
|
|
<el-form-item label="可用标识" prop="active">
|
|
|
|
|
<el-select v-model="form.active" placeholder="请选择是否启用" @change="$forceUpdate()" clearable style="width:300px">
|
|
|
|
|
<el-option v-for="item in options" :key="item.active" :label="item.label" :value="item.active"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item label="企业主键" prop="enterpriseId">
|
|
|
|
@ -192,17 +192,17 @@ export default {
|
|
|
|
|
pgDesc: null,
|
|
|
|
|
pgDescGlobal: null,
|
|
|
|
|
pgDescExtended: null,
|
|
|
|
|
Active: null,
|
|
|
|
|
active: null,
|
|
|
|
|
enterpriseId: null,
|
|
|
|
|
enterpriseCode: null,
|
|
|
|
|
siteId: null,
|
|
|
|
|
siteCode: null
|
|
|
|
|
},
|
|
|
|
|
options: [{
|
|
|
|
|
Active: "1",
|
|
|
|
|
active: "1",
|
|
|
|
|
label: '是'
|
|
|
|
|
}, {
|
|
|
|
|
Active: "0",
|
|
|
|
|
active: "0",
|
|
|
|
|
label: '否'
|
|
|
|
|
}],
|
|
|
|
|
// 表单参数
|
|
|
|
@ -255,7 +255,7 @@ export default {
|
|
|
|
|
createTime: null,
|
|
|
|
|
updateBy: null,
|
|
|
|
|
updateTime: null,
|
|
|
|
|
Active: null,
|
|
|
|
|
active: null,
|
|
|
|
|
enterpriseId: null,
|
|
|
|
|
enterpriseCode: null,
|
|
|
|
|
siteId: null,
|
|
|
|
|