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', sort: 'custom',
isSearch: false, isSearch: false,
table: { table: {
width: 170, width: 200,
}, },
form: { form: {
component: 'InputNumber', component: 'InputNumber',

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

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

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

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

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

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

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

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

Loading…
Cancel
Save