|
@@ -686,6 +686,19 @@
|
|
|
label="计量单位"
|
|
label="计量单位"
|
|
|
prop="measuringUnit"
|
|
prop="measuringUnit"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
|
|
+ <el-table-column label="发货条码" prop="barcodes" width="130">
|
|
|
|
|
+ <template slot-scope="{ row, $index }">
|
|
|
|
|
+ <el-input
|
|
|
|
|
+ v-if="!row.isPack"
|
|
|
|
|
+ :ref="'barcodes' + $index"
|
|
|
|
|
+ @keyup.native="
|
|
|
|
|
+ moveFocus($event, $index, 'barcodes', '包装', row)
|
|
|
|
|
+ "
|
|
|
|
|
+ v-model="row.barcodes"
|
|
|
|
|
+ ></el-input>
|
|
|
|
|
+ <span v-else>{{ row.barcodes }}</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="物料代号" prop="materielCode" width="130">
|
|
<el-table-column label="物料代号" prop="materielCode" width="130">
|
|
|
<template slot-scope="{ row, $index }">
|
|
<template slot-scope="{ row, $index }">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -1338,9 +1351,15 @@
|
|
|
case '包装':
|
|
case '包装':
|
|
|
listLength = this.materialCodeReqList.length;
|
|
listLength = this.materialCodeReqList.length;
|
|
|
if (row.measuringUnit != row.weightUtil) {
|
|
if (row.measuringUnit != row.weightUtil) {
|
|
|
- keyfield = ['materielCode', 'clientCode', 'engrave', 'weight'];
|
|
|
|
|
|
|
+ keyfield = [
|
|
|
|
|
+ 'barcodes',
|
|
|
|
|
+ 'materielCode',
|
|
|
|
|
+ 'clientCode',
|
|
|
|
|
+ 'engrave',
|
|
|
|
|
+ 'weight'
|
|
|
|
|
+ ];
|
|
|
} else {
|
|
} else {
|
|
|
- keyfield = ['materielCode', 'clientCode', 'engrave'];
|
|
|
|
|
|
|
+ keyfield = ['barcodes', 'materielCode', 'clientCode', 'engrave'];
|
|
|
}
|
|
}
|
|
|
break;
|
|
break;
|
|
|
case '物料':
|
|
case '物料':
|