Browse Source

2025-12-23

销售发货装箱和拣货出库任务通知页面增加“客户简称”
master
fengyuan_yang 3 weeks ago
parent
commit
3d0a1cd3b6
  1. 30
      src/views/modules/boxManage/saleBoxManage.vue
  2. 18
      src/views/modules/qc/outboundNotification.vue

30
src/views/modules/boxManage/saleBoxManage.vue

@ -521,7 +521,7 @@ export default {
columnProp: "customerName", columnProp: "customerName",
headerAlign: "center", headerAlign: "center",
align: "left", align: "left",
columnLabel: "客户编号",
columnLabel: "客户名称",
columnWidth: '240', columnWidth: '240',
columnHidden: false, columnHidden: false,
columnImage: false, columnImage: false,
@ -530,6 +530,24 @@ export default {
status: true, status: true,
fixed: false fixed: false
}, },
{
userId: this.$store.state.user.name,
functionId: this.functionId,
serialNumber: '750001Table1CustomerAbb',
tableId: "750001Table1",
tableName: "销售发货清单",
columnProp: "customerAbb",
headerAlign: "center",
align: "left",
columnLabel: "客户简称",
columnWidth: '120',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: false
},
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
functionId: this.functionId, functionId: this.functionId,
@ -971,25 +989,25 @@ export default {
// site rollNo // site rollNo
const duplicateRolls = [] const duplicateRolls = []
const newRolls = [] const newRolls = []
rollList.forEach(rollInfo => { rollList.forEach(rollInfo => {
// site rollNo // site rollNo
const isDuplicate = this.caseRollList.some(item =>
const isDuplicate = this.caseRollList.some(item =>
item.site === this.caseForm.site && item.rollNo === rollInfo.rollNo item.site === this.caseForm.site && item.rollNo === rollInfo.rollNo
) )
if (isDuplicate) { if (isDuplicate) {
duplicateRolls.push(rollInfo.rollNo) duplicateRolls.push(rollInfo.rollNo)
} else { } else {
newRolls.push(rollInfo) newRolls.push(rollInfo)
} }
}) })
// //
if (duplicateRolls.length > 0) { if (duplicateRolls.length > 0) {
this.$message.warning(`以下卷标签已存在,不能重复添加:${duplicateRolls.join(', ')}`) this.$message.warning(`以下卷标签已存在,不能重复添加:${duplicateRolls.join(', ')}`)
} }
// //
newRolls.forEach(rollInfo => { newRolls.forEach(rollInfo => {
this.caseRollList.unshift({ this.caseRollList.unshift({

18
src/views/modules/qc/outboundNotification.vue

@ -772,6 +772,24 @@
fixed: '', fixed: '',
columnWidth: 200, columnWidth: 200,
}, },
{
userId: this.$store.state.user.name,
functionId: 620,
serialNumber: '620Table1CustomerAbb',
tableId: "620Table1",
tableName: "拣货出库任务表",
columnProp: 'customerAbb',
headerAlign: "center",
align: "left",
columnLabel: '客户简称',
columnHidden: false,
columnImage: false,
columnSortable: false,
sortLv: 0,
status: true,
fixed: '',
columnWidth: 120,
},
{ {
userId: this.$store.state.user.name, userId: this.$store.state.user.name,
functionId: 620, functionId: 620,

Loading…
Cancel
Save