Browse Source

2026-01-08

收货入库任务通知和拣货出库任务通知,只有主信息的单据状态是"草稿"或者"编辑中"时,下面的明细页签才显示【新增】【删除】【批量编辑】按钮
master
fengyuan_yang 5 days ago
parent
commit
8529f4091e
  1. 6
      src/views/modules/qc/inboundNotification.vue
  2. 6
      src/views/modules/qc/outboundNotification.vue

6
src/views/modules/qc/inboundNotification.vue

@ -176,9 +176,9 @@
<el-tabs v-model="activeTable" style="width: 100%" :style="{height: secondHeight + 'px'}" type="border-card" @tab-click="tabClick" class="customer-tab"> <el-tabs v-model="activeTable" style="width: 100%" :style="{height: secondHeight + 'px'}" type="border-card" @tab-click="tabClick" class="customer-tab">
<el-tab-pane label="入库明细" name="inboundDetail"> <el-tab-pane label="入库明细" name="inboundDetail">
<el-form label-position="top" style="margin-left: 2px;"> <el-form label-position="top" style="margin-left: 2px;">
<el-button type="primary" @click="addInboundDetailModal()" icon="el-icon-plus">新增</el-button>
<el-button type="primary" @click="deleteInboundDetail()" icon="el-icon-minus">删除</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="currentRow.orderStatus === '草稿' || currentRow.orderStatus === '编辑中'" type="primary" @click="addInboundDetailModal()" icon="el-icon-plus">新增</el-button>
<el-button v-if="currentRow.orderStatus === '草稿' || currentRow.orderStatus === '编辑中'" type="primary" @click="deleteInboundDetail()" icon="el-icon-minus">删除</el-button>
<el-button v-if="!editBatchVisible && (currentRow.orderStatus === '草稿' || currentRow.orderStatus === '编辑中')" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="saveLoading">批量保存</el-button> <el-button v-if="editBatchVisible" @click="batchModel" :loading="saveLoading">批量保存</el-button>
<el-button v-if="editBatchVisible" @click="editBatchVisible = false" type="info">取消编辑</el-button> <el-button v-if="editBatchVisible" @click="editBatchVisible = false" type="info">取消编辑</el-button>
</el-form> </el-form>

6
src/views/modules/qc/outboundNotification.vue

@ -183,9 +183,9 @@
<el-tabs v-model="activeTable" style="width: 100%" :style="{height: secondHeight + 'px'}" type="border-card" @tab-click="tabClick" class="customer-tab"> <el-tabs v-model="activeTable" style="width: 100%" :style="{height: secondHeight + 'px'}" type="border-card" @tab-click="tabClick" class="customer-tab">
<el-tab-pane label="出库明细" name="outboundDetail"> <el-tab-pane label="出库明细" name="outboundDetail">
<el-form label-position="top" style="margin-left: 2px;"> <el-form label-position="top" style="margin-left: 2px;">
<el-button type="primary" @click="addOutboundDetailModal()" icon="el-icon-plus">新增</el-button>
<el-button type="primary" @click="deleteOutboundDetail()" icon="el-icon-minus">删除</el-button>
<el-button v-if="!editBatchVisible" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="currentRow.orderStatus === '草稿' || currentRow.orderStatus === '编辑中'" type="primary" @click="addOutboundDetailModal()" icon="el-icon-plus">新增</el-button>
<el-button v-if="currentRow.orderStatus === '草稿' || currentRow.orderStatus === '编辑中'" type="primary" @click="deleteOutboundDetail()" icon="el-icon-minus">删除</el-button>
<el-button v-if="!editBatchVisible && (currentRow.orderStatus === '草稿' || currentRow.orderStatus === '编辑中')" @click="editBatchModel">批量编辑</el-button>
<el-button v-if="editBatchVisible" @click="batchModel" :loading="saveLoading">批量保存</el-button> <el-button v-if="editBatchVisible" @click="batchModel" :loading="saveLoading">批量保存</el-button>
<el-button v-if="editBatchVisible" @click="editBatchVisible = false" type="info">取消编辑</el-button> <el-button v-if="editBatchVisible" @click="editBatchVisible = false" type="info">取消编辑</el-button>
</el-form> </el-form>

Loading…
Cancel
Save