|
@@ -283,7 +283,8 @@
|
|
|
:prop="`warehousingMaterialList.${$index}.batchNo`"
|
|
:prop="`warehousingMaterialList.${$index}.batchNo`"
|
|
|
required
|
|
required
|
|
|
>
|
|
>
|
|
|
- <el-input v-model="row.batchNo"></el-input>
|
|
|
|
|
|
|
+ <!-- <el-input v-model="row.batchNo"></el-input> -->
|
|
|
|
|
+ {{ row.batchNo }}
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -457,7 +458,6 @@
|
|
|
</template>
|
|
</template>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
-
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
label="重量"
|
|
label="重量"
|
|
|
align="center"
|
|
align="center"
|
|
@@ -1367,8 +1367,11 @@
|
|
|
},
|
|
},
|
|
|
//添加明细
|
|
//添加明细
|
|
|
async onSelectTableData(val) {
|
|
async onSelectTableData(val) {
|
|
|
|
|
+ const res = await getCode('lot_number_code');
|
|
|
|
|
+
|
|
|
this.warehousingMaterialList.push(
|
|
this.warehousingMaterialList.push(
|
|
|
...val.map((next) => {
|
|
...val.map((next) => {
|
|
|
|
|
+ next.batchNo = res;
|
|
|
let cur = {};
|
|
let cur = {};
|
|
|
|
|
|
|
|
next.realInventoryAmount = next.realInventoryAmount || 0;
|
|
next.realInventoryAmount = next.realInventoryAmount || 0;
|
|
@@ -1394,6 +1397,7 @@
|
|
|
return cur;
|
|
return cur;
|
|
|
})
|
|
})
|
|
|
);
|
|
);
|
|
|
|
|
+
|
|
|
console.log('sasasa===', this.warehousingMaterialList);
|
|
console.log('sasasa===', this.warehousingMaterialList);
|
|
|
},
|
|
},
|
|
|
async initData() {
|
|
async initData() {
|