scorpio 2 years ago
parent
commit
5c939b7e17
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/views/contract/component/info.vue
  2. 1 1
      src/views/contract/component/info2.vue

+ 1 - 1
src/views/contract/component/info.vue

@@ -20,7 +20,7 @@
       >
       >
         <div class="full-width flex flex-center flex-justify-between">
         <div class="full-width flex flex-center flex-justify-between">
           <el-form-item label="合同名称" class="flex-child-average">
           <el-form-item label="合同名称" class="flex-child-average">
-            <el-input v-model="form.fileFolder.title" />
+            <el-input v-if="form.fileFolder" v-model="form.fileFolder.title" />
           </el-form-item>
           </el-form-item>
           <el-form-item label="合同类别" class="flex-child-average">
           <el-form-item label="合同类别" class="flex-child-average">
             <div class="full-width">
             <div class="full-width">

+ 1 - 1
src/views/contract/component/info2.vue

@@ -93,7 +93,7 @@ export default {
             label: '款项类别',
             label: '款项类别',
             prop: 'dictKey',
             prop: 'dictKey',
             type: 'select',
             type: 'select',
-            dicUrl: '/api/blade-system/dict-biz/dictionary?code=contract-type',
+            dicUrl: '/api/blade-system/dict-biz/dictionary?code=payment-type',
             props: {
             props: {
               label: 'dictValue',
               label: 'dictValue',
               value: 'dictKey'
               value: 'dictKey'