Commit 616a918e by zhuzhequan

修改美国工厂参数传参

parent 25a79519
......@@ -412,7 +412,7 @@ export default {
} catch (error) {
console.error("清理目录时发生错误:", error.msg);
}
if(this.factoryType!=='US'){
const regex = /^[A-Z]{4}_/; //是否以四个大写字母加下划线开头
if (regex.test(this.productionNo)) {
this.productionNo =
......@@ -420,6 +420,10 @@ export default {
"-" +
this.productionNo.split("_")[this.productionNo.split("_").length - 1];
}
}
console.log(423, this.productionNo);
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment