Browse Source

2026-02-05

已入库或已消耗的单据不允许属性变动
master
fengyuan_yang 3 weeks ago
parent
commit
322c00f3bb
  1. 7
      src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue

7
src/views/modules/shopOrder/productionReport/searchSfdcRollsReport.vue

@ -1315,6 +1315,13 @@ import labelPrintTemplates from '@/mixins/labelPrintTemplates.js';
this.$message.warning('请先勾选要变动属性的标签!'); this.$message.warning('请先勾选要变动属性的标签!');
return false; return false;
} }
//
const invalidList = this.selectionDataList.filter(item => item.finalStatus === '已入库' || item.finalStatus === '已消耗');
if (invalidList.length > 0) {
const rollNos = invalidList.map(item => item.rollNo).join('、');
this.$message.warning(`标签号 ${rollNos} 状态为"已入库"或"已消耗",不允许属性变动!`);
return false;
}
// //
this.attributeChangeForm = { this.attributeChangeForm = {
parentRollNo: '', parentRollNo: '',

Loading…
Cancel
Save