ZaiZai hai 1 ano
pai
achega
289204b8f7

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240710144946"
+  "value": "20240710160722"
 }

+ 4 - 1
src/views/debit-pay/start-work/components/order/dataModal.vue

@@ -26,7 +26,7 @@
                     <el-form-item label="申请依据:">
                         <el-input v-model="baseForm.applyCause" :autosize="{ minRows: 2, maxRows: 6 }" type="textarea" />
                     </el-form-item>
-                    <el-form-item label="支付期限:">
+                    <el-form-item v-if="contractType === 2" label="支付期限:">
                         <div class="w-full">
                             <hc-date-picker :dates="betweenTime1" format="YYYY年MM月DD日" clearable @change="betweenTimeUpdate1" />
                         </div>
@@ -88,6 +88,7 @@ const props = defineProps({
 const emit = defineEmits(['finish', 'close'])
 const useAppState = useAppStore()
 const contractId = ref(useAppState.getContractId)
+const contractInfo = ref(useAppState.getContractInfo)
 const projectId = ref(useAppState.getProjectId)
 const infoData = ref(props.infoData)
 const ids = ref(props.ids)
@@ -143,9 +144,11 @@ watch(isShow, (val) => {
     }
 })
 
+const contractType = ref()
 const setDataApi = () => {
     getKey1Data()
     getStartAmountData()
+    contractType.value = contractInfo.value?.contractType
     baseForm.value.meterPeriodId = props.periodId
     const { payDate } = baseForm.value
     if (isNullES(payDate)) return