let onDetailDTOSDataList = deepClone(this.onDetailDTOS);

        this.tableData &&
          this.tableData.map((item, index) => {
            const existItem = onDetailDTOSDataList.find((v) => v.id == this.id);
            if (existItem) {
              onDetailDTOSDataList.forEach((item1, index1) => {
                if (item1.id == this.id) {
                  (item1.id = this.id),
                    (item1.inTransitInventory =
                      this.form.inTransitInventoryList),
                    (item1.materialNo2 = row.materialCode);
                }
              });
            } else {
              if (index == row.$index) {
                onDetailDTOSDataList.push({
                  id: this.id,
                  inTransitInventory: this.form.inTransitInventoryList,
                  materialNo2: row.materialCode,
                });
              }
            }
          });
        this.onDetailDTOS = onDetailDTOSDataList;