|
@@ -890,9 +890,10 @@ export default {
|
|
|
directionOfTwist,
|
|
|
productId,
|
|
|
} = this.currentRow;
|
|
|
- let directionOfTwistLabel = this.dict.type.direction_of_twist.find(
|
|
|
- (item) => item.value == directionOfTwist
|
|
|
- )?.label;
|
|
|
+ let directionOfTwistLabel =
|
|
|
+ this.dict.type.direction_of_twist.find(
|
|
|
+ (item) => item.value == directionOfTwist
|
|
|
+ )?.label || " ";
|
|
|
|
|
|
newData = {
|
|
|
machineToolNo,
|
|
@@ -1291,9 +1292,10 @@ export default {
|
|
|
directionOfTwist,
|
|
|
productId,
|
|
|
} = this.currentRow;
|
|
|
- let directionOfTwistLabel = this.dict.type.direction_of_twist.find(
|
|
|
- (item) => item.value == directionOfTwist
|
|
|
- )?.label;
|
|
|
+ let directionOfTwistLabel =
|
|
|
+ this.dict.type.direction_of_twist.find(
|
|
|
+ (item) => item.value == directionOfTwist
|
|
|
+ )?.label || " ";
|
|
|
let res = await getQrCode();
|
|
|
let qrCode = "";
|
|
|
if (res.code == 200) {
|
|
@@ -1618,9 +1620,10 @@ export default {
|
|
|
directionOfTwist,
|
|
|
productId,
|
|
|
} = this.batchTableData[0];
|
|
|
- let directionOfTwistLabel = this.dict.type.direction_of_twist.find(
|
|
|
- (item) => item.value == directionOfTwist
|
|
|
- )?.label;
|
|
|
+ let directionOfTwistLabel =
|
|
|
+ this.dict.type.direction_of_twist.find(
|
|
|
+ (item) => item.value == directionOfTwist
|
|
|
+ )?.label || " ";
|
|
|
this.tableData.forEach((item) => {
|
|
|
Object.assign(item, {
|
|
|
productName, //品种
|