|
@@ -279,7 +279,7 @@
|
|
{ required: true, message: '请输入物料编码'}
|
|
{ required: true, message: '请输入物料编码'}
|
|
],
|
|
],
|
|
barCode: [
|
|
barCode: [
|
|
- { required: true, message: '请输入商品条码'}
|
|
|
|
|
|
+ { required: true, message: '请输入69码-商品条码'}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -321,11 +321,11 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- // width: '110px',
|
|
|
|
|
|
+ width: '110px',
|
|
title: '69码-商品条码(必填项)',
|
|
title: '69码-商品条码(必填项)',
|
|
field: 'barCode',
|
|
field: 'barCode',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
- width:110,
|
|
|
|
|
|
+ // width:110,
|
|
compConfig: {
|
|
compConfig: {
|
|
attr: {
|
|
attr: {
|
|
size: 'mini',
|
|
size: 'mini',
|
|
@@ -498,7 +498,7 @@
|
|
{ required: true, message: '请输入物料编码'}
|
|
{ required: true, message: '请输入物料编码'}
|
|
],
|
|
],
|
|
barCode: [
|
|
barCode: [
|
|
- { required: true, message: '请输入商品条码'}
|
|
|
|
|
|
+ { required: true, message: '请输入69码-商品条码'}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -540,8 +540,8 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- width: '150px',
|
|
|
|
- title: '商品条码(必填项)',
|
|
|
|
|
|
+ width: '110px',
|
|
|
|
+ title: '69码-商品条码(必填项)',
|
|
field: 'barCode',
|
|
field: 'barCode',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
compConfig: {
|
|
compConfig: {
|
|
@@ -1260,9 +1260,9 @@
|
|
(this.$refs.table as any).validate();
|
|
(this.$refs.table as any).validate();
|
|
if (!v.skuTitle) return this.$message.warning('物料标题必填');
|
|
if (!v.skuTitle) return this.$message.warning('物料标题必填');
|
|
if (!v.skuCode) return this.$message.warning('物料编码必填');
|
|
if (!v.skuCode) return this.$message.warning('物料编码必填');
|
|
- if (!v.barCode) return this.$message.warning('物料属性的商品条码需必填');
|
|
|
|
|
|
+ if (!v.barCode) return this.$message.warning('物料属性的69码-商品条码需必填');
|
|
if (!/^\d{1,32}$/.test(v.barCode)){
|
|
if (!/^\d{1,32}$/.test(v.barCode)){
|
|
- return this.$message.warning('商品条码为数字,最大32位');
|
|
|
|
|
|
+ return this.$message.warning('69码-商品条码为数字,最大32位');
|
|
}
|
|
}
|
|
// if(v.weight&&v.weight!=0){
|
|
// if(v.weight&&v.weight!=0){
|
|
// v.weight = v.weight/1000
|
|
// v.weight = v.weight/1000
|
|
@@ -1313,9 +1313,9 @@
|
|
(this.$refs.singeTable as any).validate();
|
|
(this.$refs.singeTable as any).validate();
|
|
if (!v.skuTitle) return this.$message.warning('物料属性的标题需必填');
|
|
if (!v.skuTitle) return this.$message.warning('物料属性的标题需必填');
|
|
if (!v.skuCode) return this.$message.warning('物料属性的物料编码需必填');
|
|
if (!v.skuCode) return this.$message.warning('物料属性的物料编码需必填');
|
|
- if (!v.barCode) return this.$message.warning('物料属性的商品条码需必填');
|
|
|
|
|
|
+ if (!v.barCode) return this.$message.warning('物料属性的69码-商品条码需必填');
|
|
if (!/^\d{1,32}$/.test(v.barCode)){
|
|
if (!/^\d{1,32}$/.test(v.barCode)){
|
|
- return this.$message.warning('商品条码为数字,最大32位');
|
|
|
|
|
|
+ return this.$message.warning('69码-商品条码为数字,最大32位');
|
|
}
|
|
}
|
|
|
|
|
|
// if(v.weight&&v.weight!=0){
|
|
// if(v.weight&&v.weight!=0){
|