24282 11 月之前
父節點
當前提交
e7b2cc61ec
共有 2 個文件被更改,包括 10 次插入12 次删除
  1. 9 12
      jy-ui/src/views/business/payment/remit/index.vue
  2. 1 0
      jy-ui/src/views/business/payment/requests/index.vue

+ 9 - 12
jy-ui/src/views/business/payment/remit/index.vue

@@ -8,7 +8,6 @@ import { addApi, editApi, getDetailApi, getRemitPageApi } from '@/api/business/p
 import { getPageApi as getCorporationPageApi } from '@/api/business/corporation/corporation'
 import { getPageApi as getCorporationPageApi } from '@/api/business/corporation/corporation'
 import DeptTreeSelect from '@/views/components/DeptTreeSelect/index.vue'
 import DeptTreeSelect from '@/views/components/DeptTreeSelect/index.vue'
 import { getPageApi as getCapitalAccountPageApi } from '@/api/business/capital/account'
 import { getPageApi as getCapitalAccountPageApi } from '@/api/business/capital/account'
-import FileUpload from '@/components/FlieUpload/index.vue'
 
 
 const queryRef = ref<InstanceType<typeof AForm>>()
 const queryRef = ref<InstanceType<typeof AForm>>()
 const formRef = ref<InstanceType<typeof AForm>>()
 const formRef = ref<InstanceType<typeof AForm>>()
@@ -243,12 +242,6 @@ const formConfig: FormConfigType[] = [
     span: 24,
     span: 24,
     placeholder: '',
     placeholder: '',
     disabled: true
     disabled: true
-  },
-  {
-    type: 'slot',
-    prop: 'atts',
-    label: '上传附件',
-    span: 24
   }
   }
 ]
 ]
 
 
@@ -342,11 +335,15 @@ function formClosed() {
       @closed="formClosed"
       @closed="formClosed"
       width="1400px"
       width="1400px"
     >
     >
-      <a-form ref="formRef" v-model="formData" :config="formConfig" :span="12" :disabled="disabled">
-        <template #atts>
-          <file-upload v-model="formData.atts" :disabled="disabled" />
-        </template>
-      </a-form>
+      <div v-if="disabled">
+        <a-form ref="formRef" v-model="formData" :config="formConfig" :span="12" disabled></a-form>
+      </div>
+
+      <el-card v-if="!disabled" header="请款信息">
+        <a-form ref="formRef" v-model="formData" :config="formConfig" :span="12"></a-form>
+      </el-card>
+
+      <el-card v-if="!disabled" header="打款信息" style="margin-top: 10px"> </el-card>
     </a-dialog>
     </a-dialog>
   </div>
   </div>
 </template>
 </template>

+ 1 - 0
jy-ui/src/views/business/payment/requests/index.vue

@@ -128,6 +128,7 @@ const toolbarConfig: ToolbarConfigType[] = [
   {
   {
     common: 'add',
     common: 'add',
     click() {
     click() {
+      disabled.value = false
       dialogVisible.value = true
       dialogVisible.value = true
       dialogTitle.value = '新增'
       dialogTitle.value = '新增'
       nextTick(() => deptIdRef.value?.load())
       nextTick(() => deptIdRef.value?.load())