Просмотр исходного кода

返工返修管理 转生产计划保存增加字段

jingshuyong 1 год назад
Родитель
Сommit
e9a434aa8a
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/views/unqualifiedProduct/unqualifiedList/components/factoryAdd.vue

+ 2 - 0
src/views/unqualifiedProduct/unqualifiedList/components/factoryAdd.vue

@@ -1044,6 +1044,8 @@
           if (this.form.productInfoList.length) {
           if (this.form.productInfoList.length) {
             this.form.productInfoList.map((item, index) => {
             this.form.productInfoList.map((item, index) => {
               delete item.selectionRowShow;
               delete item.selectionRowShow;
+              item.productCode = item.categoryCode;
+              item.productName = item.categoryName;
               if (item.bomVersionList && item.bomVersionList.length) {
               if (item.bomVersionList && item.bomVersionList.length) {
                 item.bomCategoryName = item.bomVersionList[0].name;
                 item.bomCategoryName = item.bomVersionList[0].name;
                 item.bomCategoryVersions = item.bomVersionList[0].versions;
                 item.bomCategoryVersions = item.bomVersionList[0].versions;