Prechádzať zdrojové kódy

【修改】工程发货申请单 限制删除按钮

howie 2 rokov pred
rodič
commit
cac67b2dcb

+ 1 - 1
src/views/supply/apply/engin_list.vue

@@ -322,7 +322,7 @@
                   style="margin-left: 10px;"
                   title="确定删除吗?"
                   @onConfirm="handleDelete(scope.row.id)"
-                  v-if="$checkBtnRole('del', $route.meta.roles)">
+                  v-if="scope.row.examineStatus !== 'OK'">
                   <el-button slot="reference" type="text" style="color: #f56c6c;">删除</el-button>
                 </el-popconfirm>
               </template>

+ 1 - 1
src/views/supply/deliver/commerce_list.vue

@@ -122,7 +122,7 @@
             :summary-method="$getSummaries">
           <el-table-column align="left" label="订单类型" prop="type" min-width="100" show-overflow-tooltip>
               <template slot-scope="scope">
-                {{scope.row.type | orderTypeFilter}}
+                {{scope.row.type =="1"?"申请发货单":scope.row.type =="2"?"退货单":"直调发货单" }}
               </template>
             </el-table-column>
             <el-table-column align="left" label="发货申请单" prop="id" min-width="130" show-overflow-tooltip>