ZaiZai 1 năm trước cách đây
mục cha
commit
f8c616a3d6

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20240329173154"
+  "value": "20240407180419"
 }

+ 1 - 1
src/config/index.json

@@ -1,6 +1,6 @@
 {
     "version": "20230607160059",
-    "target": "http://39.108.216.210:8090",
+    "target": "http://192.168.0.125:8090",
     "smsPhone": "",
     "vite": {
         "port": 5180,

+ 1 - 3
src/views/debit-pay/admin/components/middlepay/addModal.vue

@@ -177,14 +177,12 @@ import { nextTick, ref, watch } from 'vue'
 import { isNumberReg, keepdecimal } from '~uti/tools'
 import HcBillBaseModal from './addBillBaseModal.vue'
 import qualityRleation from './qualityRleation.vue'
-import { arrDelKey, arrToId, arrToKey, deepClone, getArrValue, getObjValue, getRandom, isAllNull, isArrIndex, isNullES } from 'js-fast-way'
+import { arrDelKey, arrToId, arrToKey, deepClone, getArrValue, getObjValue, getRandom, isArrIndex, isNullES } from 'js-fast-way'
 import BigNumber from 'bignumber.js'
-import { getHeader } from 'hc-vue3-ui'
 
 import unitApi from '~api/project/debit/contract/unit'
 import mainApi from '~api/debit-pay/admin/middlepay'
 
-
 import { getStoreValue, setStoreValue } from '~src/utils/storage'
 const props = defineProps({
     projectId: {

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

@@ -131,13 +131,13 @@ const getKey1Data = async ()=>{
         let newArr = getArrValue(data), info = getObjValue(newArr[newArr.length - 1])
         searchForm.value.contractPeriodId = info.id
         approveStatus.value = info.approveStatus
-      
+
         key1Data.value = newArr
         key1Data.value.unshift({
             id:-1,
             periodNumber:'全部',
         })
-       
+
     } else {
         key1Data.value = []
     }
@@ -245,7 +245,7 @@ const sortClick = (type) => {
 //查看报表
 const rawUrl = ref('')
 const viewPdf = ()=>{
-  
+
     toPdfPage(rawUrl.value)
 }
 //获取表格计量期
@@ -323,6 +323,9 @@ const addModalFinish = () => {
     TreeAutoExpandKeys.value = getStoreValue('middlepay-tree-auto-expand-keys') || []
     treeKey.value = getRandom(2)
     getTableData().then()
+    nextTick(() => {
+        addModalShow.value = true
+    })
 }
 
 //收方清单明细
@@ -352,7 +355,7 @@ const reportFinish = () => {
 const autoLoading = ref(false)
 const autoClick = async ()=>{
     const { code, msg } = await mainApi.autoBatchMeter(
-        { 
+        {
             PeriodId:searchForm.value.contractPeriodId,
             contractId:contractId.value,
             projectId:projectId.value,