仓库看板样式优化,毛坯,抛光,一次合格仓库添加零件数统计,工单排程中编码号变为字符串

This commit is contained in:
2024-08-22 10:44:39 +08:00
parent 60b9e7ba10
commit b1584d9424
8 changed files with 788 additions and 577 deletions

View File

@@ -51,7 +51,10 @@
</el-col>
<right-toolbar :columns="columns" :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<!-- 仓库零件数 -->
<div style="display: flex; align-items: center; justify-content: center; margin-bottom: 10px">
<span style="font-size: 18px; font-weight: 600">一次合格品仓库零件数:{{ partTotal }}</span>
</div>
<!-- 数据区域 -->
<el-table
:data="dataList"
@@ -295,6 +298,7 @@ import {
doWmOneTimeRetrieval,
doWmOneTimeStocktaking,
getWmOneTimeRecordList,
getPartNumber,
} from '@/api/wmsManagement/wmOneTimeInventory.js'
import ThePartNumberSelect from './ThePartNumberSelect.vue'
export default {
@@ -378,6 +382,9 @@ export default {
},
ThePartNumberSelectRef: null,
//一次合格仓库零件数
partTotal: 0,
// 详情
RecordLoading: false,
RecordTitle: '',
@@ -418,6 +425,11 @@ export default {
this.loading = false
}
})
getPartNumber().then((res) => {
if (res.code === 200) {
this.partTotal = res.data
}
})
},
// 取消按钮
cancel() {
@@ -508,7 +520,7 @@ export default {
},
// 弹窗打开
dialogOpened() {
if(this.opertype != 3){
if (this.opertype != 3) {
this.$refs.ThePartNumberSelectRef.init()
}
},