Browse Source

BUG修改

hella_online_20240829
parent
commit
3d0fc84e97
  1. 3
      src/views/qms/inspectionQ1/index.vue
  2. 9
      src/views/qms/inspectionQ1/inspectionQ1.data.ts
  3. 3
      src/views/qms/inspectionQ2/index.vue
  4. 12
      src/views/qms/inspectionQ2/inspectionQ2.data.ts
  5. 3
      src/views/qms/inspectionQ3/index.vue
  6. 12
      src/views/qms/inspectionQ3/inspectionQ3.data.ts
  7. 2
      src/views/qms/inspectionRequest/inspectionRequestMain.data.ts

3
src/views/qms/inspectionQ1/index.vue

@ -185,7 +185,8 @@ const openForm = (type: string, row?: any) => {
nextTick(() => { nextTick(() => {
    basicFormRef.value.formRef.setValues({     basicFormRef.value.formRef.setValues({
handleTime: new Date().getTime(), handleTime: new Date().getTime(),
claimTime: new Date().getTime() claimTime: new Date().getTime(),
priority: '3',
    })     })
  })   })
} }

9
src/views/qms/inspectionQ1/inspectionQ1.data.ts

@ -141,10 +141,13 @@ export const Q1 = useCrudSchemas(
width: 150 width: 150
}, },
form: { form: {
component: 'InputNumber' component: 'InputNumber',
componentProps: {
min: 1,
precision: 2
}
} }
}, },
{ {
label: '单位', label: '单位',
field: 'uom', field: 'uom',
@ -291,7 +294,7 @@ export const Q1 = useCrudSchemas(
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
type: 'datetime', type: 'datetime',
valueFormat: 'x', valueFormat: 'x'
} }
} }
}, },

3
src/views/qms/inspectionQ2/index.vue

@ -193,7 +193,8 @@ const openForm = (type: string, row?: any) => {
nextTick(() => { nextTick(() => {
    basicFormRef.value.formRef.setValues({     basicFormRef.value.formRef.setValues({
handleTime: new Date().getTime(), handleTime: new Date().getTime(),
claimTime: new Date().getTime() claimTime: new Date().getTime(),
priority: '3',
    })     })
  })   })
} }

12
src/views/qms/inspectionQ2/inspectionQ2.data.ts

@ -71,6 +71,11 @@ export const Q2 = useCrudSchemas(
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
},
{
key: 'status',
value: '0',
isMainValue: false
} }
] ]
} }
@ -227,10 +232,13 @@ export const Q2 = useCrudSchemas(
width: 150 width: 150
}, },
form: { form: {
component: 'InputNumber' component: 'InputNumber',
componentProps: {
min: 1,
precision: 2
}
} }
}, },
{ {
label: '编码', label: '编码',
field: 'code', field: 'code',

3
src/views/qms/inspectionQ3/index.vue

@ -186,7 +186,8 @@ const openForm = (type: string, row?: any) => {
if (type=='create') { if (type=='create') {
nextTick(() => { nextTick(() => {
    basicFormRef.value.formRef.setValues({     basicFormRef.value.formRef.setValues({
handleTime: new Date().getTime() handleTime: new Date().getTime(),
priority: '3',
    })     })
  })   })
} }

12
src/views/qms/inspectionQ3/inspectionQ3.data.ts

@ -65,6 +65,11 @@ export const Q3 = useCrudSchemas(
key: 'available', key: 'available',
value: 'TRUE', value: 'TRUE',
isMainValue: false isMainValue: false
},
{
key: 'status',
value: '0',
isMainValue: false
} }
] ]
} }
@ -93,6 +98,7 @@ export const Q3 = useCrudSchemas(
label: '物料代码', label: '物料代码',
field: 'itemCode', field: 'itemCode',
sort: 'custom', sort: 'custom',
isSearch: true,
table: { table: {
width: 150 width: 150
}, },
@ -140,7 +146,11 @@ export const Q3 = useCrudSchemas(
width: 150 width: 150
}, },
form: { form: {
component: 'InputNumber' component: 'InputNumber',
componentProps: {
min: 1,
precision: 2
}
} }
}, },
{ {

2
src/views/qms/inspectionRequest/inspectionRequestMain.data.ts

@ -237,6 +237,7 @@ export const InspectionMain = useCrudSchemas(
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchTitle: '供应商信息', // 查询弹窗标题 searchTitle: '供应商信息', // 查询弹窗标题
searchListPlaceholder: '请选择供应商', // 输入框占位文本
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类 searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法 searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法
@ -277,6 +278,7 @@ export const InspectionMain = useCrudSchemas(
componentProps: { componentProps: {
isSearchList: true, // 开启查询弹窗 isSearchList: true, // 开启查询弹窗
searchTitle: '物料信息', // 查询弹窗标题 searchTitle: '物料信息', // 查询弹窗标题
searchListPlaceholder: '请选择物料', // 输入框占位文本
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchPage: ItemApi.getItembasicPage, // 查询弹窗所需分页方法 searchPage: ItemApi.getItembasicPage, // 查询弹窗所需分页方法

Loading…
Cancel
Save