+
+
+
+ {{ $t(key('search')) }}
+
{{ $t(key('query')) }}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t(key('is_unique')) }}
+
+
+ {{ $t(key('yes')) }}
+ {{ $t(key('no')) }}
+
+
+
+
+
+
+
+ {{ $t(key('is_upload')) }}
+
+
+ {{ $t(key('yes')) }}
+ {{ $t(key('no')) }}
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $t(key('yes')) }}
- {{ $t(key('no')) }}
-
-
-
-
- {{ $t(key('yes')) }}
- {{ $t(key('no')) }}
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t(key('yes')) }}
+ {{ $t(key('no')) }}
+
+
+
+
+
+
+ {{ $t(key('yes')) }}
+ {{ $t(key('no')) }}
+
+
+
+
{{ $t(key('cancel')) }}
@@ -480,8 +508,17 @@ export default {
diff --git a/src/views/production-master-data/process-model/process-step/index.vue b/src/views/production-master-data/process-model/process-step/index.vue
index 39cfc2bc..80361706 100644
--- a/src/views/production-master-data/process-model/process-step/index.vue
+++ b/src/views/production-master-data/process-model/process-step/index.vue
@@ -101,7 +101,7 @@
@@ -271,7 +271,7 @@ export default {
color: 'warning',
auth: '/production_configuration/technology_model/technology_flow_workingsubclass/setting',
onClick: this.openSetting,
- visible: row => !!row.setting_plugin
+ visible: row => !!row.setting_plugin || this.isFormationSettingRow(row)
},
{
key: 'result',
@@ -359,6 +359,9 @@ export default {
onSelect (rows) {
this.selectedRows = rows
},
+ isFormationSettingRow (row) {
+ return ['FORMATION', 'YC', 'HC', 'IC', 'FORMATION_SS'].includes(row.device_category_code)
+ },
resetForm () {
this.formData = { code: '', name: '', device_category_id: '', is_denglu_process: '0', remark: '' }
this.editId = ''
@@ -432,9 +435,9 @@ export default {
openSetting (row) {
this.currentRowId = row.id
this.settingTitle = `【${row.name}】${this.$t(this.key('preset_setting'))}`
- this.settingType = row.setting_plugin || ''
+ this.settingType = row.setting_plugin || (this.isFormationSettingRow(row) ? 'FormationPlugin' : '')
this.settingCode = row.code
- this.settingWidth = row.setting_plugin_width ? `${row.setting_plugin_width}%` : '35%'
+ this.settingWidth = row.setting_plugin_width ? `${row.setting_plugin_width}%` : (this.isFormationSettingRow(row) ? '90%' : '35%')
this.settingPluginData = row.default_setting || {}
this.settingVisible = true
},