@@ -124,7 +124,7 @@
                         
                             
                         
@@ -215,7 +215,7 @@ const damageReasonList = ref([
 ]) 
 const isChargeList = ref([
     { value: 1, text: '是' },
-    { value: 2, text: '否' },
+    { value: 0, text: '否' },
 ])
 
 //获取维修人员
@@ -312,9 +312,9 @@ const partTreeChange = (val,index) =>{
 
 
 //内部维修
-const partItems = ref([{ partType: '', partNum: '', isCharge: '', partId: '', storageNum: ''}])
+const partItems = ref([{ partNum: '', partType: 0, partId: '', storageNum: ''}])
 const addPart = () => {
-    partItems.value.push({ partType: '', partNum: '', isCharge: '', partId: '' ,storageNum: ''})
+    partItems.value.push({ partNum: '', partType: 0, partId: '' ,storageNum: ''})
 }
 const delPart = (index) => {
     if (partItems.value.length > 1) {
@@ -341,7 +341,7 @@ const getSupplierListData = async () => {
 }
 getSupplierListData()
 const partItemsMiddle = ref([
-    { partName: '', supplierId: '', partNum: '', partPrice: '0', isCharge: '' },
+    { partName: '', supplierId: '', partNum: '', partPrice: '0', partType: 0 },
 ])
 const addMidPart = () => {
     partItemsMiddle.value.push({
@@ -349,7 +349,7 @@ const addMidPart = () => {
         supplierId: '',
         partNum: '',
         partPrice: '0',
-        isCharge: '',
+        partType: 0,
     })
 }
 const delMidPart = (index) => {
@@ -439,10 +439,10 @@ const costCheckNum = (item) => {
 const saveCode = async () => {
 	if(repairPerson.value==""){
 		uni.showToast({ title: '请先选择维修人员!', icon: 'none' })
-	}else{ 
+	}else{
 		rowData.value = queryParams.value;
 		//维修人员
-		rowData.value.repairDeviceList[rowIndex].repairList=[
+		rowData.value.repairDeviceList[rowIndex.value].repairList=[
 			{
 				repairer:repairPerson.value,
 				remark:remark.value,
@@ -451,8 +451,8 @@ const saveCode = async () => {
 		]
 		if (repairType.value == 1) {
 			for (let i = 0; i < partItems.value.length; i++) {
-				rowData.value.repairDeviceList[rowIndex].codeInRepairPartList.push({
-					isCharge: partItems.value[i].isCharge,
+				rowData.value.repairDeviceList[rowIndex.value].codeInRepairPartList.push({
+					partType: partItems.value[i].partType,
 					partId: partItems.value[i].partId,
 					partNum: partItems.value[i].partNum,
 					storageNum: partItems.value[i].storageNum,
@@ -461,8 +461,8 @@ const saveCode = async () => {
 			}
 		} else if (repairType.value == 2) {
 			for (let i = 0; i < partItemsMiddle.value.length; i++) {
-				rowData.value.repairDeviceList[rowIndex].codeOutRepairPartList.push({
-					isCharge: partItemsMiddle.value[i].isCharge,
+				rowData.value.repairDeviceList[rowIndex.value].codeOutRepairPartList.push({
+					partType: partItemsMiddle.value[i].partType,
 					partPrice: partItemsMiddle.value[i].partPrice,
 					partNum: partItemsMiddle.value[i].partNum,
 					partName: partItemsMiddle.value[i].partName,
@@ -471,9 +471,9 @@ const saveCode = async () => {
 				})
 			}
 		} else if (repairType.value == 3) {  
-			rowData.value.repairDeviceList[rowIndex].codeScrapRepairPartList.push(formRight.value)
+			rowData.value.repairDeviceList[rowIndex.value].codeScrapRepairPartList.push(formRight.value)
 		}
-		rowData.value.repairDeviceList[rowIndex].repairType = repairType.value 
+		rowData.value.repairDeviceList[rowIndex.value].repairType = repairType.value;
 		saveRepairRow(rowData.value.repairDeviceList).then(async (response) => {
 			if (response.code == 200) {
 				uni.showToast({ title: '保存成功', icon: 'none' })
@@ -648,7 +648,7 @@ const saveCode = async () => {
                 box-shadow: 0 6rpx 20rpx rgba(46, 204, 113, 0.2);
             }
 
-            // 返场维修按钮
+            // 返厂维修按钮
             &.return {
                 background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
                 box-shadow: 0 6rpx 20rpx rgba(243, 156, 18, 0.2);
diff --git a/src/pages/repair/repairManage/num-operate.vue b/src/pages/repair/repairManage/num-operate.vue
index 948437c..7750cc1 100644
--- a/src/pages/repair/repairManage/num-operate.vue
+++ b/src/pages/repair/repairManage/num-operate.vue
@@ -83,7 +83,7 @@
                             
                                 
                                 
@@ -123,7 +123,7 @@
                         
                             
                         
@@ -217,7 +217,7 @@ const damageReasonList = ref([
 
 const isChargeList = ref([
     { value: 1, text: '是' },
-    { value: 2, text: '否' },
+    { value: 0, text: '否' },
 ])
 
 //获取维修人员
@@ -334,9 +334,9 @@ getSupplierListData()
 const formLeft = ref({
     repairNum: 0,
 })
-const partItems = ref([{ partType: '', partNum: '', isCharge: 2, partId: '', storageNum: ''}]) 
+const partItems = ref([{ partNum: '', partType: 0, partId: '', storageNum: ''}]) 
 const addPart = () => {
-    partItems.value.push({ partType: '', partNum: '', isCharge: 2, partId: '', storageNum: '' })
+    partItems.value.push({ partNum: '', partType: 0, partId: '', storageNum: '' })
 }
 const delPart = (index) => {
     if (partItems.value.length > 1) {
@@ -351,9 +351,9 @@ const formMiddle = ref({
     supplierId: undefined,
     repairNum: 0,
 })
-const partItemsMiddle = ref([{ partName: '', partNum: '', partPrice: '0', isCharge: 2 }])
+const partItemsMiddle = ref([{ partName: '', partNum: '', partPrice: '0', partType: 0 }])
 const addMidPart = () => {
-    partItemsMiddle.value.push({ partName: '', partNum: '', partPrice: '0', isCharge: 2 })
+    partItemsMiddle.value.push({ partName: '', partNum: '', partPrice: '0', partType: 0 })
 }
 const delMidPart = (index) => {
     if (partItemsMiddle.value.length > 1) {
@@ -442,7 +442,7 @@ const saveNumAll = async () => {
 		//内部
 		for (let i = 0; i < partItems.value.length; i++) {
 		    rowData.value.repairDeviceList[0].numberInRepairPartList.push({
-		        isCharge: partItems.value[i].isCharge,
+		        partType: partItems.value[i].partType,
 		        partId: partItems.value[i].partId,
 		        partNum: partItems.value[i].partNum,
 		        storageNum: partItems.value[i].storageNum,
@@ -452,7 +452,7 @@ const saveNumAll = async () => {
 		// 返厂
 		for (let i = 0; i < partItemsMiddle.value.length; i++) {
 		    rowData.value.repairDeviceList[0].numberOutRepairPartList.push({
-		        isCharge: partItemsMiddle.value[i].isCharge,
+		        partType: partItemsMiddle.value[i].partType,
 		        partPrice: partItemsMiddle.value[i].partPrice,
 		        partNum: partItemsMiddle.value[i].partNum,
 		        partName: partItemsMiddle.value[i].partName,