|
@@ -60,7 +60,7 @@
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
<el-select style="width: 100%" v-model="form.produceType" filterable @change="produceTypeChange">
|
|
<el-select style="width: 100%" v-model="form.produceType" filterable @change="produceTypeChange">
|
|
|
- <el-option v-for="item in dictList" :key="item.value" :value="item.value"
|
|
|
|
|
|
|
+ <el-option v-for="item in produceTypeList" :key="item.value" :value="item.value"
|
|
|
:label="item.label"></el-option>
|
|
:label="item.label"></el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -271,6 +271,7 @@ import { getCode, rootCategoryCode, fieldModel, checkExist } from '@/api/codeMan
|
|
|
import { addMaterial } from '@/api/material/list.js';
|
|
import { addMaterial } from '@/api/material/list.js';
|
|
|
import { deepClone } from '@/utils/index';
|
|
import { deepClone } from '@/utils/index';
|
|
|
import { finishPageTab, reloadPageTab } from '@/utils/page-tab-util';
|
|
import { finishPageTab, reloadPageTab } from '@/utils/page-tab-util';
|
|
|
|
|
+import { produceTypeList } from '@/enum/dict.js';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: 'product',
|
|
name: 'product',
|
|
@@ -297,6 +298,7 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
isShow: true,
|
|
isShow: true,
|
|
|
|
|
+ produceTypeList,
|
|
|
packagingSpecificationList: [],
|
|
packagingSpecificationList: [],
|
|
|
loading: false,
|
|
loading: false,
|
|
|
measureTypeList: [
|
|
measureTypeList: [
|