diff --git a/src/pages/back/backCode.vue b/src/pages/back/backCode.vue
index 897e3e6..f98c228 100644
--- a/src/pages/back/backCode.vue
+++ b/src/pages/back/backCode.vue
@@ -66,7 +66,11 @@
             
                 外观判定:
                 
-                    
+                    
+                    
+                        完好
+                        损坏
+                    
                 
             
             
@@ -99,10 +103,15 @@ const typeName = ref("")//物资类型
 const materialName = ref("")  //规格型号
 const typeId = ref("")  //类型id
 const maStatusName = ref("")  //状态
-const apDetection = ref("")  //外观判定
+const apDetection = ref("完好")  //外观判定
 const imgBeseUrl = ref("")  //图片展示
 const bmFileInfos = ref([])//图片数组
 
+const changeRadio = (e) => {
+    console.log(e.detail.value)
+    apDetection.value = e.detail.value
+}
+
 //根据编码获取设备类型
 const getMaInfo = () => {
     console.log(maCode.value)
@@ -213,6 +222,8 @@ const submitCode = () => {
 		   "maCode":maCode.value,
 		   "typeId":typeId.value,
 		   "apDetection":apDetection.value,
+           goodNum: apDetection.value == '完好' ? 1 : 0,
+           badNum: apDetection.value == '损坏' ? 1 : 0,
 		   "bmFileInfos":bmFileInfos.value
 		}
 		let param = {
@@ -230,7 +241,7 @@ const submitCode = () => {
 				maId.value=""
 				maCode.value=""
 				typeId.value=""
-				apDetection.value=""
+				apDetection.value="完好"
 				bmFileInfos.value=[]
 				// uni.navigateBack({
 				// 	delta: 1 // 返回到已存在的页面
@@ -295,7 +306,11 @@ onLoad((options)=>{
 })
 
 
-