模具 布产类型
This commit is contained in:
parent
293106346f
commit
d6c7878d52
|
|
@ -24,9 +24,21 @@
|
|||
</vxe-column>
|
||||
<vxe-column field="mold_component" title="部件" width="160" :params="editor_component" formatter="formatRef"
|
||||
:edit-render="{ name: 'MkGridDataSelector' }"></vxe-column>
|
||||
<vxe-column field="production_type" title="布产类型" width="160" :params="{ data: options_production_type }"
|
||||
formatter='formatEnum'
|
||||
:edit-render="{ name: '$select', props: { options: options_production_type } }"></vxe-column>
|
||||
|
||||
|
||||
<vxe-column field="production_type" title="布产类型" width="160" :edit-render="{}">
|
||||
<template #default="{ row }">
|
||||
<span>{{ $mk.formatEnum(row.production_type, options_production_type) }}</span>
|
||||
</template>
|
||||
<template #edit="{ row }">
|
||||
<vxe-select v-model="row.production_type" transfer>
|
||||
<vxe-option v-for="item in options_production_type" :key="item.value" :value="item.value"
|
||||
:label="item.label"></vxe-option>
|
||||
</vxe-select>
|
||||
</template>
|
||||
</vxe-column>
|
||||
|
||||
|
||||
|
||||
<vxe-column field="process_uid_info" title="加工人员" width="160" :params="editor_staff" formatter="formatRef"
|
||||
:edit-render="{ name: 'MkGridDataSelector' }"></vxe-column>
|
||||
|
|
@ -74,6 +86,8 @@
|
|||
<script>
|
||||
import BASE_URL from '@/services/mes/api.js';
|
||||
|
||||
const settings = require('../basic/settings.js');
|
||||
|
||||
export default {
|
||||
|
||||
name: '',
|
||||
|
|
@ -90,11 +104,15 @@ export default {
|
|||
|
||||
data() {
|
||||
|
||||
const options_production_type = settings.options_production_type;
|
||||
|
||||
//let _this = this;
|
||||
// 页面数据变量
|
||||
var pageData = {
|
||||
|
||||
options_production_type: [{ value: '1', label: '正常布产' }, { value: '2', label: '委托布产' }],
|
||||
options_production_type: options_production_type,
|
||||
|
||||
|
||||
// 当前项目名称
|
||||
currentConfigName: "",
|
||||
// 当前项目ID
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue