|
@@ -373,6 +373,12 @@
|
|
|
{{ row.supplierMark }}
|
|
{{ row.supplierMark }}
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column> -->
|
|
</el-table-column> -->
|
|
|
|
|
+ <el-table-column label="序列号" prop="engrave" width="140">
|
|
|
|
|
+ <template slot-scope="{ row, $index }">
|
|
|
|
|
+
|
|
|
|
|
+ <span > {{ row.productSequence }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="刻码" prop="engrave" width="140">
|
|
<el-table-column label="刻码" prop="engrave" width="140">
|
|
|
<template slot-scope="{ row, $index }">
|
|
<template slot-scope="{ row, $index }">
|
|
|
<el-input v-if="!row.isPack" :ref="'packing_engrave' + $index" @keyup.native="
|
|
<el-input v-if="!row.isPack" :ref="'packing_engrave' + $index" @keyup.native="
|
|
@@ -646,11 +652,15 @@ export default {
|
|
|
watch: {
|
|
watch: {
|
|
|
packingList: {
|
|
packingList: {
|
|
|
handler(newVal) {
|
|
handler(newVal) {
|
|
|
|
|
+ console.log(newVal);
|
|
|
|
|
+
|
|
|
this.showPackingList = newVal.slice(
|
|
this.showPackingList = newVal.slice(
|
|
|
0,
|
|
0,
|
|
|
this.pageSize * (this.pickingPageNum > 0 ? this.pickingPageNum : 1)
|
|
this.pageSize * (this.pickingPageNum > 0 ? this.pickingPageNum : 1)
|
|
|
);
|
|
);
|
|
|
this.showPackingList.forEach((obj) => {
|
|
this.showPackingList.forEach((obj) => {
|
|
|
|
|
+ console.log(obj,'666666666');
|
|
|
|
|
+
|
|
|
obj.workOrderId = this.detailProductList[0]?.workOrderId;
|
|
obj.workOrderId = this.detailProductList[0]?.workOrderId;
|
|
|
obj.taskId = this.detailProductList[0]?.taskId;
|
|
obj.taskId = this.detailProductList[0]?.taskId;
|
|
|
obj.outsourceBatchNo = this.detailProductList[0]?.batchNo;
|
|
obj.outsourceBatchNo = this.detailProductList[0]?.batchNo;
|