caozhaorui 8 months ago
parent
commit
d3e9cbeb77

+ 2 - 2
snowy-admin-web/src/views/yqyc/zero/enterprise-ledger/detail.vue

@@ -1254,7 +1254,7 @@ const onChangeRecordQuantity = () => {
 			bodyData.value.recordTotalPrice = ''
 		}
 		if (proxy.$util.isValue(bodyData.value.recordQuantity) && proxy.$util.isValue(bodyData.value.legalQuantity) && (Number(bodyData.value.legalQuantity) > 0)) {
-			bodyData.value.weightRatioFactor = (Number(bodyData.value.recordQuantity) / Number(bodyData.value.legalQuantity) * 100).toFixed(2)
+			bodyData.value.weightRatioFactor = (Number(bodyData.value.recordQuantity) / Number(bodyData.value.legalQuantity)).toFixed(2)
 		} else {
 			bodyData.value.weightRatioFactor = ''
 		}
@@ -1278,7 +1278,7 @@ const onChangeRecordPrice = () => {
 const onChangeLegalQuantity = () => {
 	setTimeout(() => {
 		if (proxy.$util.isValue(bodyData.value.recordQuantity) && proxy.$util.isValue(bodyData.value.legalQuantity) && (Number(bodyData.value.legalQuantity) > 0)) {
-			bodyData.value.weightRatioFactor = (Number(bodyData.value.recordQuantity) / Number(bodyData.value.legalQuantity) * 100).toFixed(2)
+			bodyData.value.weightRatioFactor = (Number(bodyData.value.recordQuantity) / Number(bodyData.value.legalQuantity)).toFixed(2)
 		} else {
 			bodyData.value.weightRatioFactor = ''
 		}

+ 1 - 1
snowy-admin-web/src/views/yqyc/zero/enterprise-qualification/result.vue

@@ -55,7 +55,7 @@ const onOpen = (record, view = false) => {
 	open.value = true
 	if (record) {
 		formData.value = Object.assign({}, record)
-		qyCheckListApi.qyCheckListPage({current: 1, size: 100, companyName: record.companyName}).then(res => {
+		qyCheckListApi.qyCheckListPage({current: 1, size: 100, companyName: record.id}).then(res => {
 			resultList.value = res.records
 		})
 	}

+ 2 - 2
snowy-admin-web/src/views/yqyc/zero/two/out-nuclear-annotation/detail.vue

@@ -1053,7 +1053,7 @@ const onChangProductOrderCode = (val) => {
 const onChangeSbNum = () => {
 	setTimeout(() => {
 		if (proxy.$util.isValue(bodyData.value.sbNum) && proxy.$util.isValue(bodyData.value.legalQuantity) && (Number(bodyData.value.legalQuantity) > 0)) {
-			bodyData.value.weightRatioFactor = (Number(bodyData.value.sbNum) / Number(bodyData.value.legalQuantity) * 100).toFixed(2)
+			bodyData.value.weightRatioFactor = (Number(bodyData.value.sbNum) / Number(bodyData.value.legalQuantity)).toFixed(2)
 		} else {
 			bodyData.value.weightRatioFactor = ''
 		}
@@ -1062,7 +1062,7 @@ const onChangeSbNum = () => {
 const onChangeLegalQuantity = () => {
 	setTimeout(() => {
 		if (proxy.$util.isValue(bodyData.value.sbNum) && proxy.$util.isValue(bodyData.value.legalQuantity) && (Number(bodyData.value.legalQuantity) > 0)) {
-			bodyData.value.weightRatioFactor = (Number(bodyData.value.sbNum) / Number(bodyData.value.legalQuantity) * 100).toFixed(2)
+			bodyData.value.weightRatioFactor = (Number(bodyData.value.sbNum) / Number(bodyData.value.legalQuantity)).toFixed(2)
 		} else {
 			bodyData.value.weightRatioFactor = ''
 		}