Browse Source

BUG修改

master
parent
commit
c97caf2802
  1. 2
      src/views/eam/basic/deviceMaintenance/deviceMaintenance.data.ts
  2. 50
      src/views/eam/basic/item/item.data.ts
  3. 2
      src/views/eam/basic/moldMaintenance/moldMaintenance.data.ts
  4. 2
      src/views/eam/device/problemSolving/index.vue
  5. 2
      src/views/eam/item/itemOrderMain/index.vue

2
src/views/eam/basic/deviceMaintenance/deviceMaintenance.data.ts

@ -145,7 +145,7 @@ export const DeviceMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: false,
table: {
width: 170,
width: 200,
},
form: {
component: 'InputNumber',

50
src/views/eam/basic/item/item.data.ts

@ -231,31 +231,31 @@ export const Item = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
// {
// label: '是否可用',
// field: 'available',
// dictType: DICT_TYPE.TRUE_FALSE,
// dictClass: 'string',
// isSearch: false,
// isTable: true,
// sort: 'custom',
// table: {
// width: 150
// },
// tableForm: {
// type: 'Select',
// inactiveValue: 'FALSE',
// disabled: true
// },
// form: {
// component: 'Switch',
// value: 'TRUE',
// componentProps: {
// inactiveValue: 'FALSE',
// activeValue: 'TRUE'
// }
// }
// },
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: false,
isTable: true,
sort: 'custom',
table: {
width: 150
},
tableForm: {
type: 'Select',
inactiveValue: 'FALSE',
disabled: true
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
}
},
{
label: '创建时间',
field: 'createTime',

2
src/views/eam/basic/moldMaintenance/moldMaintenance.data.ts

@ -144,7 +144,7 @@ export const MoldMaintenance = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: false,
table: {
width: 170,
width: 200,
},
form: {
component: 'InputNumber',

2
src/views/eam/device/problemSolving/index.vue

@ -184,7 +184,7 @@ const formsSuccess = async (formType, data) => {
await ProblemSolvingApi.createProblemSolving(data)
message.success(t('common.createSuccess'))
} else {
await ProblemSolvingApi.createProblemSolving(data)
await ProblemSolvingApi.updateProblemSolving(data)
message.success(t('common.updateSuccess'))
}
basicFormRef.value.dialogVisible = false

2
src/views/eam/item/itemOrderMain/index.vue

@ -170,7 +170,7 @@
if (val == 'edit') { //
openForm('update', row)
}
else if (val == 'mainOrderCOMPLETE') { //
else if (val == 'mainOrderCOMPLETE') { //
handleCOMPLETE(row.id)
}
else if (val == 'delete') { //

Loading…
Cancel
Save