Commit 5baf58ec authored by tanjunxin's avatar tanjunxin

fix: 生产工单细节优化

parent e3c83af6
......@@ -261,7 +261,7 @@
<el-table-column label="订单编号" width="140" align="center" prop="salesVoucher" />
<el-table-column label="产品分类" width="200" align="center" prop="itemTypeName" :show-overflow-tooltip="true" />
<el-table-column label="产品编号" width="120" align="center" prop="sapItemCode" />
<el-table-column label="产品名称" width="200" align="center" prop="productName" :show-overflow-tooltip="true" />
<el-table-column label="产品名称" width="200" align="center" prop="productName" />
<el-table-column label="规格型号" align="center" prop="productSpc" :show-overflow-tooltip="true" />
<el-table-column label="需求日期" align="center" prop="requestDate" width="180">
<template slot-scope="scope">
......@@ -1374,12 +1374,14 @@ export default {
if(res.code == 200) {
const workorderCodeList = [];
const noticeList = [];
res.data.forEach((item, index) => {
if(res.data) {
res.data.forEach((item, index) => {
if(item.noticeList.length > 0) {
workorderCodeList.push(item.workorderCode);
noticeList.push(...item.noticeList);
}
})
}
if(workorderCodeList.length == 0) {
this.getList();
this.$modal.msgSuccess("已齐套");
......
......@@ -157,7 +157,7 @@
<span>{{ parseTime(scope.row.nextMaintenDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="位置" width="80" align="center" prop="location" :show-overflow-tooltip="true"/>
<el-table-column label="位置" width="120" align="center" prop="location"/>
<el-table-column label="状态" align="center" prop="status">
<template slot-scope="scope">
<dict-tag :options="dict.type.mes_tool_status" :value="scope.row.status"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment