|
@@ -545,7 +545,7 @@
|
|
|
placeholder=""
|
|
|
size="small"
|
|
|
clearable
|
|
|
- @blur="updateStorage(scope.row)"
|
|
|
+ @blur="updateStorage(scope.row, 'lotNumber')"
|
|
|
></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -1143,6 +1143,7 @@ export default {
|
|
|
colourNumber,
|
|
|
specificationsList,
|
|
|
} = row;
|
|
|
+
|
|
|
let productColour = "";
|
|
|
let targetColor = this.colourNumberOptions.find((item) => {
|
|
|
return item.materielCode == colourNumber;
|
|
@@ -1166,6 +1167,15 @@ export default {
|
|
|
productSpecifications,
|
|
|
productColour,
|
|
|
};
|
|
|
+ if (
|
|
|
+ !lotNumber &&
|
|
|
+ !productId &&
|
|
|
+ !productType &&
|
|
|
+ !productName &&
|
|
|
+ !productSpecifications &&
|
|
|
+ !productColour
|
|
|
+ )
|
|
|
+ return;
|
|
|
let res = await getProductInventory(payload);
|
|
|
if ((res.code = 200)) {
|
|
|
console.log(res);
|