Просмотр исходного кода

质量事故单增加查询条件

yuansh 5 дней назад
Родитель
Сommit
ae7e6cbee2
1 измененных файлов с 32 добавлено и 2 удалено
  1. 32 2
      src/views/oa/IncidentTicketList.vue

+ 32 - 2
src/views/oa/IncidentTicketList.vue

@@ -28,6 +28,7 @@
                 <j-input placeholder="请输入财务备注" v-model="queryParam.financeRemark"></j-input>
               </a-form-item>
             </a-col>
+            
             <a-col :xl="5" :lg="7" :md="8" :sm="24">
               <a-form-item label="计划单号">
                 <!-- <j-dict-select-tag placeholder="请选择业务员" v-model="queryParam.businessPeople" dictCode="sys_user,realname,username"/> -->
@@ -93,8 +94,17 @@
               
             </a-col>
             
-            
-            
+            <a-col :xl="5" :lg="7" :md="8" :sm="24">
+                <a-form-item label="超期">
+                  <a-select placeholder="" v-model="queryParam.frequency">
+                    <a-select-option value="">请选择</a-select-option>
+                    <a-select-option value="1">一级</a-select-option>
+                    <a-select-option value="2">二级</a-select-option>
+                    <a-select-option value="0">未超期</a-select-option>
+                  </a-select>
+                </a-form-item>
+                
+              </a-col> 
            
            
           <!-- </template> -->
@@ -356,6 +366,26 @@ import moment from 'moment'
             fixed:"right",
             width:120
           },
+          {
+            title:'超期',
+            align:"center",
+            dataIndex: 'frequency',
+            customRender:function (t,r,index) {
+              if(r.state == 6){
+                 return '';
+              }else{
+                if(t == 1){
+                   return '一级';
+                }else if(t > 1){
+                   return '二级';
+                }else{
+                     return '';
+                }
+              }
+            },
+            fixed:"right",
+            width:120
+          },
           {
             title: '操作',
             dataIndex: 'action',