fix:禅道435

This commit is contained in:
shijing 2026-06-09 13:53:29 +08:00
parent 6e93de20a3
commit 5f7ef2d409
1 changed files with 5 additions and 8 deletions

View File

@ -52,8 +52,8 @@
<input type="checkbox" class="checkboxInput" v-model="selectedAll" :value="selectedAll" @change="selectAllChange"> <input type="checkbox" class="checkboxInput" v-model="selectedAll" :value="selectedAll" @change="selectAllChange">
</th> </th>
<th class="w_50 sticky-cell sticky-left-index">序号</th> <th class="w_50 sticky-cell sticky-left-index">序号</th>
<th class="w_140 sticky-cell sticky-left-batch" v-show="isColVisible('batch')">物料批次</th> <th class="w_140 sticky-cell sticky-left-batch">物料批次</th>
<th class="w_140 sticky-cell sticky-left-number" v-show="isColVisible('number')">物料编号</th> <th class="w_140 sticky-cell sticky-left-number">物料编号</th>
<th class="w_150" v-if="route_code=='niuzhuan'" v-show="isColVisible('equip')">生产设备</th> <th class="w_150" v-if="route_code=='niuzhuan'" v-show="isColVisible('equip')">生产设备</th>
<th class="w_180" v-if="route_code=='niuzhuan'" v-show="isColVisible('time')">扭转日期</th> <th class="w_180" v-if="route_code=='niuzhuan'" v-show="isColVisible('time')">扭转日期</th>
<th class="w_150" v-if="mgroupName=='喷码'" v-show="isColVisible('tooling')">工装</th> <th class="w_150" v-if="mgroupName=='喷码'" v-show="isColVisible('tooling')">工装</th>
@ -71,11 +71,11 @@
<td class="w_50 padding_4 sticky-cell sticky-left-index"> <td class="w_50 padding_4 sticky-cell sticky-left-index">
{{ index + 1 }} {{ index + 1 }}
</td> </td>
<td class="w_140 sticky-cell sticky-left-batch" v-show="isColVisible('batch')"> <td class="w_140 sticky-cell sticky-left-batch">
<input v-if="row.isEdit" v-model="row.mlogb__batch" placeholder="物料批次"> <input v-if="row.isEdit" v-model="row.mlogb__batch" placeholder="物料批次">
<span v-else>{{ row.mlogb__batch }}</span> <span v-else>{{ row.mlogb__batch }}</span>
</td> </td>
<td class="w_140 sticky-cell sticky-left-number" v-show="isColVisible('number')"> <td class="w_140 sticky-cell sticky-left-number">
<input v-if="row.isEdit" v-model="row.number" placeholder="物料编号"> <input v-if="row.isEdit" v-model="row.number" placeholder="物料编号">
<span v-else>{{ row.number }}</span> <span v-else>{{ row.number }}</span>
<span v-if="row.wpr_number_out !== null && row.wpr_number_out !== undefined">{{ row.wpr_number_out }}</span> <span v-if="row.wpr_number_out !== null && row.wpr_number_out !== undefined">{{ row.wpr_number_out }}</span>
@ -471,10 +471,7 @@ export default {
watch: {}, watch: {},
computed: { computed: {
allColumnOptions() { allColumnOptions() {
const cols = [ const cols = [];
{ key: 'batch', label: '物料批次' },
{ key: 'number', label: '物料编号' },
];
if (this.route_code === 'niuzhuan') { if (this.route_code === 'niuzhuan') {
cols.push({ key: 'equip', label: '生产设备' }); cols.push({ key: 'equip', label: '生产设备' });
cols.push({ key: 'time', label: '扭转日期' }); cols.push({ key: 'time', label: '扭转日期' });