Przeglądaj źródła

提交相关代码

Lijy 6 miesięcy temu
rodzic
commit
2509131ae6

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/contract/components/contractManagement.vue

@@ -6,7 +6,7 @@
         <!-- 合同编号/名称 -->
         <el-form-item>
           <div style="display: flex;align-items: center;height: 40px;">
-            <el-input v-model="keyword" class="input-with-select" @keyup.enter.native="searchFilter" :placeholder="keyword == 1 ? $t('qing-shu-ru-he-tong-bian-hao') : $t('qing-shu-ru-he-tong-ming-cheng')" clearable size="small">
+            <el-input v-model="keyword" class="input-with-select" @keyup.enter.native="searchFilter" :placeholder="searchField == 1 ? $t('qing-shu-ru-he-tong-bian-hao') : $t('qing-shu-ru-he-tong-ming-cheng')" clearable size="small">
               <el-select slot="prepend" v-model="searchField" :placeholder="$t('defaultText.pleaseChoose')" style="width:120px">
                 <el-option :label="$t('he-tong-ming-cheng')" :value="0"></el-option>
                 <el-option :label="$t('contractno')" :value="1"></el-option>

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/src/views/contract/components/customContract.vue

@@ -6,7 +6,7 @@
         <!-- 合同编号/名称 -->
         <el-form-item>
           <div style="display: flex;align-items: center;height: 40px;">
-            <el-input v-model="keyword" class="input-with-select" @keyup.enter.native="searchFilter" :placeholder="keyword == 1 ? $t('qing-shu-ru-he-tong-bian-hao') : $t('qing-shu-ru-he-tong-ming-cheng')" clearable size="small">
+            <el-input v-model="keyword" class="input-with-select" @keyup.enter.native="searchFilter" :placeholder="searchField == 1 ? $t('qing-shu-ru-he-tong-bian-hao') : $t('qing-shu-ru-he-tong-ming-cheng')" clearable size="small">
               <el-select slot="prepend" v-model="searchField" :placeholder="$t('defaultText.pleaseChoose')" style="width:120px">
                 <el-option :label="$t('he-tong-ming-cheng')" :value="0"></el-option>
                 <el-option :label="$t('contractno')" :value="1"></el-option>