浏览代码

Merge branch 'master' of http://139.196.39.194:9021/chenc/sen-yu-new-web

jbb 2 年之前
父节点
当前提交
51ee539f62
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      src/views/cost-allocation-total/fabricLossesSummary.vue

+ 5 - 3
src/views/cost-allocation-total/fabricLossesSummary.vue

@@ -26,7 +26,7 @@
             <template v-if="toggleSearchStatus">
             <template v-if="toggleSearchStatus">
               <a-col :md="6" :sm="8">
               <a-col :md="6" :sm="8">
               <a-form-item label="计划单号">
               <a-form-item label="计划单号">
-                <a-input placeholder="请输入" v-model="queryParam.ccode"></a-input>
+                <a-input placeholder="请输入" v-model="queryParam.cCode"></a-input>
               </a-form-item>
               </a-form-item>
             </a-col>
             </a-col>
             <a-col :md="6" :sm="8">
             <a-col :md="6" :sm="8">
@@ -94,7 +94,7 @@
         @change="handleTableChange"
         @change="handleTableChange"
       >
       >
       <span slot="action" slot-scope="text, record">
       <span slot="action" slot-scope="text, record">
-          <a @click="handleApply(record)" v-if="apply == 1">发起申请</a>
+          <a @click="handleApply(record)" v-if="apply == 1 && (record.status=='保存' || record.status=='' || record.status==undefined)">发起申请</a>
           
           
         </span>
         </span>
       </a-table>
       </a-table>
@@ -194,13 +194,15 @@ export default {
           className: 'replacecolor',
           className: 'replacecolor',
         },
         },
         { title: '制单人', width: 120, dataIndex: 'makingPeople', ellipsis: true,className: 'replacecolor' },
         { title: '制单人', width: 120, dataIndex: 'makingPeople', ellipsis: true,className: 'replacecolor' },
+        { title: '状态', width: 80, dataIndex: 'status', ellipsis: true,className: 'replacecolor' },
          {
          {
             title: '操作',
             title: '操作',
             dataIndex: 'action',
             dataIndex: 'action',
             scopedSlots: { customRender: 'action' },
             scopedSlots: { customRender: 'action' },
             align: 'center',
             align: 'center',
             width: 80
             width: 80
-          }
+          },
+        
 
 
       ],
       ],
       fabricLossesData: [],
       fabricLossesData: [],