Browse Source

天线不显示操作按钮

ecss-tx
han\hanst 4 weeks ago
parent
commit
8c4288815e
  1. 12
      src/views/modules/ecss/codelnotify.vue

12
src/views/modules/ecss/codelnotify.vue

@ -93,7 +93,7 @@
width="140" width="140"
fixed="left" fixed="left"
label="操作"> label="操作">
<template slot-scope="scope">
<template slot-scope="scope" v-if="scope.row.buNo==='01-Label' || scope.row.buNo==='03-RFID'">
<a type="text" size="small" @click="updateHeaderModelDo(scope.row)">修改</a> <a type="text" size="small" @click="updateHeaderModelDo(scope.row)">修改</a>
<a type="text" style="color: green" size="small" v-if="scope.row.notifyStatus==='已计划' && scope.row.notifyStatus!=='订单取消' && !xiadaLoading" @click="xiadaChoose(scope.row)">下达</a> <a type="text" style="color: green" size="small" v-if="scope.row.notifyStatus==='已计划' && scope.row.notifyStatus!=='订单取消' && !xiadaLoading" @click="xiadaChoose(scope.row)">下达</a>
<a type="text" style="color: orange" size="small" v-if="scope.row.notifyStatus==='已下达'&& scope.row.notifyStatus!=='订单取消'" @click="jihuaEcssDel(scope.row)">取消下达</a> <a type="text" style="color: orange" size="small" v-if="scope.row.notifyStatus==='已下达'&& scope.row.notifyStatus!=='订单取消'" @click="jihuaEcssDel(scope.row)">取消下达</a>
@ -131,10 +131,10 @@
</el-pagination> </el-pagination>
<el-tabs style="font-size: 12px;min-height: 200px" class="customer-tab" v-model="activeName" type="border-card" @tab-click="tabClick" > <el-tabs style="font-size: 12px;min-height: 200px" class="customer-tab" v-model="activeName" type="border-card" @tab-click="tabClick" >
<el-tab-pane :label="currentRow.cmcInvoice+'明细'" name="detail"> <el-tab-pane :label="currentRow.cmcInvoice+'明细'" name="detail">
<el-button v-show="currentRow.notifyStatus!=='订单取消'" @click="openCreateDetailModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'新增'}}</el-button>
<el-button v-show="currentRow.notifyStatus!=='订单取消'" @click="importDetailModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'改单导入'}}</el-button>
<el-button v-show="currentRow.notifyStatus!=='订单取消'" @click="importUpcModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'UPC导入'}}</el-button>
<el-button v-show="currentRow.notifyStatus!=='订单取消'" @click="fixTtlAmountHandle()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'TTL Amount修正'}}</el-button>
<el-button v-show="currentRow.notifyStatus!=='订单取消' && (currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID')" @click="openCreateDetailModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'新增'}}</el-button>
<el-button v-show="currentRow.notifyStatus!=='订单取消' && (currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID')" @click="importDetailModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'改单导入'}}</el-button>
<el-button v-show="currentRow.notifyStatus!=='订单取消' && (currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID')" @click="importUpcModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'UPC导入'}}</el-button>
<el-button v-show="currentRow.notifyStatus!=='订单取消' && (currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID')" @click="fixTtlAmountHandle()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'TTL Amount修正'}}</el-button>
<el-table ref="detailTable" <el-table ref="detailTable"
:height="height" :height="height"
:data="dataList2" :cell-style="cellStyleDetail" :data="dataList2" :cell-style="cellStyleDetail"
@ -179,7 +179,7 @@
fixed="left" fixed="left"
header-align="center" header-align="center"
align="center" align="center"
width="100" v-if="currentRow.notifyStatus!=='订单取消'"
width="100" v-if="currentRow.notifyStatus!=='订单取消' && (currentRow.buNo==='01-Label' || currentRow.buNo==='03-RFID')"
label="操作" > label="操作" >
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="currentRow.notifyStatus!=='订单取消'&& scope.row.qty!==0" type="text" size="small" @click="openUpdateDetailModel(scope.row)">修改</a> <a v-if="currentRow.notifyStatus!=='订单取消'&& scope.row.qty!==0" type="text" size="small" @click="openUpdateDetailModel(scope.row)">修改</a>

Loading…
Cancel
Save