Ver código fonte

LY 工作票

ly 2 anos atrás
pai
commit
7b5d8e1cb5
1 arquivos alterados com 3 adições e 17 exclusões
  1. 3 17
      ui/src/views/ehs/jobticket/index.vue

+ 3 - 17
ui/src/views/ehs/jobticket/index.vue

@@ -457,16 +457,6 @@
         <el-form-item :label="$t('签发时间')" prop="qfsj">
           <el-input v-model="form.qfsj" :placeholder="$t('请输入') + $t('签发时间')"/>
         </el-form-item>
-        <el-form-item :label="$t('签发班组')" prop="qfbz">
-          <el-select v-model="form.qfbz" :placeholder="$t('请选择') + $t('签发班组')">
-            <el-option
-              v-for="dict in qfbzOptions"
-              :key="dict.dictValue"
-              :label="dict.dictLabel"
-              :value="dict.dictValue"
-            ></el-option>
-          </el-select>
-        </el-form-item>
         <el-form-item :label="$t('新票/续票')" prop="xpxp" v-if="isxp" >
           <el-select v-model="form.xpxp" :placeholder="$t('请选择') + $t('新票/续票')" :disabled="isxp">
             <el-option
@@ -699,7 +689,6 @@
         <el-form-item :label="$t('签发时间')" prop="qfsj">
           <el-input v-model="postponeform.qfsj" :placeholder="$t('请输入') + $t('签发时间')"/>
         </el-form-item>
-
         <el-form-item :label="$t('延期许可证号')" prop="yqxkzh">
           <el-input v-model="postponeform.yqxkzh" :placeholder="$t('请输入') + $t('延期许可证号')"/>
         </el-form-item>
@@ -777,8 +766,6 @@ export default {
       open: false,
       // 装置字典
       plantCodeOptions: [],
-      // 签发班组字典
-      qfbzOptions: [],
       // 新票/续票字典
       xpxpOptions: [],
       // 火票级别字典
@@ -923,6 +910,9 @@ export default {
     this.getDicts("PLANT_DIVIDE").then(response => {
       this.plantCodeOptions = response.data;
     });
+    this.getDicts("QFBZ").then(response => {
+      this.qfbzOptions = response.data;
+    });
     this.getDicts("XPXP").then(response => {
       this.xpxpOptions = response.data;
     });
@@ -1126,10 +1116,6 @@ export default {
     plantCodeFormat(row, column) {
       return this.selectDictLabel(this.plantCodeOptions, row.plantCode);
     },
-    // 签发班组字典翻译
-    qfbzFormat(row, column) {
-      return this.selectDictLabel(this.qfbzOptions, row.qfbz);
-    },
     // 新票/续票字典翻译
     xpxpFormat(row, column) {
       return this.selectDictLabel(this.xpxpOptions, row.xpxp);