Browse Source

修改物料基础数据中描述1字段名变成方案描述

linshi20240813
parent
commit
5b50c444d6
  1. 4
      src/views/qms/inspectionScheme/addForm.vue
  2. 2
      src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

4
src/views/qms/inspectionScheme/addForm.vue

@ -1371,7 +1371,7 @@ const searchTableSuccess = async (formField, searchField, val, type, row) => {
data.value.samplePieceSize = 1 data.value.samplePieceSize = 1
isSamplePieceSizeDisabled.value = false isSamplePieceSizeDisabled.value = false
} }
data.value.description = val[0].desc1 // data.value.description = val[0].desc1
} else if (formField == 'inspectionType') { } else if (formField == 'inspectionType') {
data.value.testTypeName = val[0].description data.value.testTypeName = val[0].description
} else if (formField == 'programmeTemplateCode') { } else if (formField == 'programmeTemplateCode') {
@ -1478,7 +1478,7 @@ const onItemBlur= async (field, pageApi, item) => {
const obj = array.list[0] const obj = array.list[0]
if (obj) { if (obj) {
dataObj['itemName'] = obj.name dataObj['itemName'] = obj.name
dataObj['description'] = obj.desc1 // dataObj['description'] = obj.desc1
} else { } else {
message.alert('暂无数据') message.alert('暂无数据')
dataObj[field + 'Code'] = '' dataObj[field + 'Code'] = ''

2
src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts

@ -48,7 +48,7 @@ export const Itembasic = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '描述1', label: '方案描述',
field: 'desc1', field: 'desc1',
sort: 'custom', sort: 'custom',
table: { table: {

Loading…
Cancel
Save