This commit is contained in:
xd 2024-07-03 17:28:44 +08:00
parent 6b9842c0cf
commit 1dd6f52bde
4 changed files with 44 additions and 22 deletions

View File

@ -512,8 +512,6 @@ public class QuotJsqrController extends BaseController
if(!currentUser.equals(hvalue)){
return error("当前有其他用户【"+hvalue+"】正在录入");
}
}else{
return error("当前有其他用户【"+redisCache.getCacheMapValue("quotJsqrXzRemark",quotJsqrCode+"_"+type)+"】正在录入");
}
}
}else{// 清空 协助说明时清空redis对应的值

View File

@ -100,7 +100,7 @@ export const constantRoutes = [
}
]
},
{
/* {
path: '/oaQuote',
component: Layout,
hidden: true,
@ -112,7 +112,7 @@ export const constantRoutes = [
meta: { title: '报价单转报价', activeMenu: '/oaQuote/oaQuoteEdit'}
}
]
},
},*/
{
path: '/hainanOrder/index',
component: Layout,

View File

@ -944,28 +944,36 @@
this.selectedResultData.forEach((row, index) => {
//
let sl = row.count;
if(sl){
sl = String(sl).trim();
if(sl){
if (!reg.test(sl)) {
this.errSlIndex.push(index+1);
}
}
}
//
let perc = row.per;
if(perc){
perc = String(perc).trim();
if(perc){
if (!reg.test(perc)) {
this.errPercIndex.push(index+1);
}
}
}
//
let perc2 = row.per2;
if(perc2){
perc2 = String(perc2).trim();
if(perc2){
if (!reg.test(perc2)) {
this.errPerc2Index.push(index+1);
}
}
}
});
if(this.errPercIndex.length!=0){

View File

@ -298,7 +298,15 @@
/** 转报价 */
handleToOAQuotClick(row) {
const info = {quotId : row.quot_id}
this.$router.push({
path:'/redBook/productSelect',
name: 'ProductSelect',
query: info
})
/*
this.$router.push({ path: '/oaQuote/oaQuoteEdit', query: info});
*/
},
//
@ -524,28 +532,36 @@
this.selectedResultData.forEach((row, index) => {
//
let sl = row.count;
if(sl){
sl = String(sl).trim();
if(sl){
if (!reg.test(sl)) {
this.errSlIndex.push(index+1);
}
}
}
//
let perc = row.per;
if(perc){
perc = String(perc).trim();
if(perc){
if (!reg.test(perc)) {
this.errPercIndex.push(index+1);
}
}
}
//
let perc2 = row.per2;
if(perc2){
perc2 = String(perc2).trim();
if(perc2){
if (!reg.test(perc2)) {
this.errPerc2Index.push(index+1);
}
}
}
});
if(this.errPercIndex.length!=0){