fix(coil): 修复工序面板显示及仓库选择逻辑
修复镀锌工序面板中无进行中工序的显示问题,使用动态label替代硬编码 修复currentTab为0时仓库ID未清空的问题 添加纵剪分条工序的仓库选项并更新特殊分割逻辑
This commit is contained in:
@@ -306,7 +306,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-empty description="暂无进行中的镀锌工序" />
|
||||
<el-empty :description="`暂无进行中的${label}`" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -642,6 +642,12 @@ export default {
|
||||
border: '1px solid blue',
|
||||
color: '#fff'
|
||||
}
|
||||
} else if (this.acidRollingActionType == 506) {
|
||||
return {
|
||||
backgroundColor: '#2bf',
|
||||
border: '1px solid #2bf',
|
||||
color: '#fff'
|
||||
}
|
||||
} else {
|
||||
return {}
|
||||
}
|
||||
@@ -671,9 +677,12 @@ export default {
|
||||
},
|
||||
currentTab: {
|
||||
handler(newVal) {
|
||||
if (newVal) {
|
||||
if (newVal && newVal != 0) {
|
||||
this.materialQueryParams.warehouseId = newVal
|
||||
} else {
|
||||
this.materialQueryParams.warehouseId = ''
|
||||
}
|
||||
|
||||
this.getMaterialCoil()
|
||||
},
|
||||
immediate: true
|
||||
|
||||
Reference in New Issue
Block a user