Browse Source

修改bug

master
songguoqiang 12 months ago
parent
commit
4a6f51169b
  1. 4
      src/views/spc/detectiontemplate/templateItemDetails.data.ts
  2. 5
      src/views/tjanalysis/zlanalysis/index.vue

4
src/views/spc/detectiontemplate/templateItemDetails.data.ts

@ -75,7 +75,7 @@ export const TemplateItemDetails = useCrudSchemas(reactive<CrudSchema[]>([
form: {
component: 'InputNumber',
componentProps: {
min: 0.00,
// min: 0.00,
precision: 2
}
}
@ -88,7 +88,7 @@ export const TemplateItemDetails = useCrudSchemas(reactive<CrudSchema[]>([
form: {
component: 'InputNumber',
componentProps: {
min: 0.00,
// min: 0.00,
precision: 2
}
}

5
src/views/tjanalysis/zlanalysis/index.vue

@ -545,7 +545,6 @@ const changTabIndex = async (tIndexV) => {
tabIndex.value = tIndexV
queryParams.ecTab = tIndexV
const dvDatas = await ZlnalysisAPI.getZcnlEcharts(queryParams)
debugger
if (dvDatas != null) {
if (tIndexV == 0) {
setChart1(dvDatas.menMap)
@ -602,8 +601,10 @@ const initQuerys = async () => {
itemList.value = _itemList
queryParams.itemCode = _itemList[0].code
}
const _detectionItemList = await TemplateItemDetailsApi.selectDetectionItems(queryParams.itemCode , queryParams.detectionType)
if (_detectionItemList != null && _detectionItemList.lenght > 0) {
if (_detectionItemList != null && _detectionItemList.length > 0) {
detectionItemList.value = _detectionItemList
queryParams.detectionItemContentId = _detectionItemList[0].value
}

Loading…
Cancel
Save