ZaiZai před 8 měsíci
rodič
revize
412457b249

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240703090959"
+  "value": "20240703173018"
 }

+ 4 - 4
src/views/debit-pay/admin/components/middlepay/qualityRleation.vue

@@ -81,8 +81,7 @@ const emit = defineEmits(['close', 'finish'])
 const useAppState = useAppStore()
 const contractInfo = ref(useAppState.getContractInfo)
 const projectId = ref(useAppState.getProjectId || '')
-const { contractType } = contractInfo.value
-const classifyType = ref(contractType === 2 ? '2' : '1')
+const classifyType = ref('1')
 const qualityMoadal = ref(props.qualityMoadal)
 const cid = ref(props.cid)
 const periodId = ref(props.periodId)
@@ -117,17 +116,18 @@ const uuid = getRandom(4)
 watch(qualityMoadal, (val) => {
     if (val) {
         nextTick(() => {
+            const { contractType } = getObjValue(contractInfo.value)
+            classifyType.value = contractType === 2 ? '2' : '1'
             setSplitRef()
             tableData.value = []
             oriCheckRows.value = getStoreValue('checkRows') || []
             if (!isRemianOldCheck.value) {
                 oriCheckRows.value = []
             }
-
         })
     }
-
 })
+
 //初始化设置拖动分割线
 const setSplitRef = () => {
     //配置参考: https://split.js.org/#/?direction=vertical&snapOffset=0