Browse Source

2026-08-12

刀具申请记录,主信息列表增加列:“IFS PR编号”、“采购订单号”、“厂商名称”、“总成本(元)”
master
fengyuan_yang 1 month ago
parent
commit
59dd94eea3
  1. 21
      src/views/modules/project/projectInfo/com_project_info_part.vue
  2. 74
      src/views/modules/tooling/searchToolApply.vue

21
src/views/modules/project/projectInfo/com_project_info_part.vue

@ -961,8 +961,7 @@
class="message-item" class="message-item"
:key="index"> :key="index">
<span class="left-part">{{ message.split(':')[0] }}:</span> <span class="left-part">{{ message.split(':')[0] }}:</span>
<span class="spacer"></span>
<span class="right-part">{{ message.split(':')[1] }}</span>
<span class="right-part">{{ message.split(':').slice(1).join(':') }}</span>
</div> </div>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
@ -3948,24 +3947,25 @@ import CodeGeneration from "../../code/generation.vue";
<style scoped> <style scoped>
.left-part { .left-part {
flex-shrink: 0;
flex: 0 0 auto;
white-space: nowrap; white-space: nowrap;
text-align: left !important; text-align: left !important;
margin-right: 8px;
} }
.right-part { .right-part {
flex: 1 !important;
text-align: right !important;
}
.spacer {
flex: 1; flex: 1;
min-width: 10px;
text-align: left !important;
white-space: normal;
overflow-wrap: anywhere;
word-break: break-all;
} }
.message-item { .message-item {
display: flex; display: flex;
align-items: flex-start;
width: 100%; width: 100%;
margin-bottom: 4px;
} }
.confirm-like-dialog { .confirm-like-dialog {
@ -3992,5 +3992,8 @@ import CodeGeneration from "../../code/generation.vue";
color: #606266; color: #606266;
line-height: 1.6; line-height: 1.6;
padding: 0 5px; padding: 0 5px;
max-height: 45vh;
overflow-y: auto;
overflow-x: hidden;
} }
</style> </style>

74
src/views/modules/tooling/searchToolApply.vue

@ -1463,6 +1463,78 @@ export default {
fixed: '', fixed: '',
columnWidth: 120 columnWidth: 120
}, },
{
userId: this.$store.state.user.name,
functionId: 106002,
serialNumber: '106002Table1PrNo',
tableId: "106002Table1",
tableName: "刀具申请主表",
columnProp: "prNo",
headerAlign: "center",
align: "left",
columnLabel: "IFS PR编号",
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 106002,
serialNumber: '106002Table1PoNo',
tableId: "106002Table1",
tableName: "刀具申请主表",
columnProp: "poNo",
headerAlign: "center",
align: "left",
columnLabel: "采购订单号",
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120
},
{
userId: this.$store.state.user.name,
functionId: 106002,
serialNumber: '106002Table1SupplierName',
tableId: "106002Table1",
tableName: "刀具申请主表",
columnProp: "supplierName",
headerAlign: "center",
align: "left",
columnLabel: "厂商名称",
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 150
},
{
userId: this.$store.state.user.name,
functionId: 106002,
serialNumber: '106002Table1AllCost',
tableId: "106002Table1",
tableName: "刀具申请主表",
columnProp: "allCost",
headerAlign: "center",
align: "right",
columnLabel: "总成本(元)",
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 100
},
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
functionId: 106002, functionId: 106002,
@ -3216,7 +3288,7 @@ export default {
fieldColumn() { fieldColumn() {
if (!this.accessField('10601001')) { if (!this.accessField('10601001')) {
this.columnList2 = this.columnList2.filter(item => item.columnProp !== 'standardCost'); this.columnList2 = this.columnList2.filter(item => item.columnProp !== 'standardCost');
this.columnList1 = this.columnList1.filter(item => item.columnProp !== 'totalCost');
this.columnList1 = this.columnList1.filter(item => !['totalCost', 'allCost'].includes(item.columnProp));
} }
}, },

Loading…
Cancel
Save