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(() => {
    basicFormRef.value.formRef.setValues({
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
},
form: {
component: 'InputNumber'
component: 'InputNumber',
componentProps: {
min: 1,
precision: 2
}
}
},
{
label: '单位',
field: 'uom',
@ -291,7 +294,7 @@ export const Q1 = useCrudSchemas(
component: 'DatePicker',
componentProps: {
type: 'datetime',
valueFormat: 'x',
valueFormat: 'x'
}
}
},

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

@ -193,7 +193,8 @@ const openForm = (type: string, row?: any) => {
nextTick(() => {
    basicFormRef.value.formRef.setValues({
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',
value: 'TRUE',
isMainValue: false
},
{
key: 'status',
value: '0',
isMainValue: false
}
]
}
@ -227,10 +232,13 @@ export const Q2 = useCrudSchemas(
width: 150
},
form: {
component: 'InputNumber'
component: 'InputNumber',
componentProps: {
min: 1,
precision: 2
}
}
},
{
label: '编码',
field: 'code',

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

@ -186,7 +186,8 @@ const openForm = (type: string, row?: any) => {
if (type=='create') {
nextTick(() => {
    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',
value: 'TRUE',
isMainValue: false
},
{
key: 'status',
value: '0',
isMainValue: false
}
]
}
@ -93,6 +98,7 @@ export const Q3 = useCrudSchemas(
label: '物料代码',
field: 'itemCode',
sort: 'custom',
isSearch: true,
table: {
width: 150
},
@ -140,7 +146,11 @@ export const Q3 = useCrudSchemas(
width: 150
},
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: {
isSearchList: true, // 开启查询弹窗
searchTitle: '供应商信息', // 查询弹窗标题
searchListPlaceholder: '请选择供应商', // 输入框占位文本
searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类
searchField: 'code', // 查询弹窗赋值字段
searchPage: SupplierApi.getSupplierPage, // 查询弹窗所需分页方法
@ -277,6 +278,7 @@ export const InspectionMain = useCrudSchemas(
componentProps: {
isSearchList: true, // 开启查询弹窗
searchTitle: '物料信息', // 查询弹窗标题
searchListPlaceholder: '请选择物料', // 输入框占位文本
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchField: 'code', // 查询弹窗赋值字段
searchPage: ItemApi.getItembasicPage, // 查询弹窗所需分页方法

Loading…
Cancel
Save