|
@@ -165,6 +165,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="品名" prop="productName">
|
|
|
</el-table-column>
|
|
|
+ <el-table-column align="center" label="批号" prop="lotNum" v-if="this.dlotNum">
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
|
align="center"
|
|
|
label="规格"
|
|
@@ -266,6 +268,7 @@ export default {
|
|
|
return {
|
|
|
spanArr: [], // 用于记录每个 productCode 的跨行信息
|
|
|
loading: false,
|
|
|
+ dlotNum: false,
|
|
|
currentIndex: "",
|
|
|
form: {
|
|
|
noticeNumber: "", //通知单号
|
|
@@ -526,7 +529,15 @@ export default {
|
|
|
].weight.toFixed(2);
|
|
|
}
|
|
|
});
|
|
|
-
|
|
|
+ if(this.saleProductInfoList.length > 0){
|
|
|
+ if(this.saleProductInfoList[0].lotNum == null || this.saleProductInfoList[0].lotNum == '' || this.saleProductInfoList[0].lotNum == undefined){
|
|
|
+ this.dlotNum = false;
|
|
|
+ }else{
|
|
|
+ this.dlotNum = true;
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.dlotNum = false;
|
|
|
+ }
|
|
|
Object.assign(this.form, {
|
|
|
noticeNumber, //通知单号
|
|
|
documentType, //通知单类型
|