|
|
@ -318,7 +318,7 @@ export default {
|
|
|
|
console.log("device是空,if获取的device",this.form.device);
|
|
|
|
console.log("device是空,if获取的device",this.form.device);
|
|
|
|
this.form.device = obj;
|
|
|
|
this.form.device = obj;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
if(obj != undefined && obj != null){
|
|
|
|
if(obj != undefined && obj != null && obj != ""){
|
|
|
|
const a = obj.split(',');
|
|
|
|
const a = obj.split(',');
|
|
|
|
console.log('切割的数组',obj.split(','));
|
|
|
|
console.log('切割的数组',obj.split(','));
|
|
|
|
a.forEach(item => {
|
|
|
|
a.forEach(item => {
|
|
|
@ -347,7 +347,7 @@ export default {
|
|
|
|
console.log("material是空,if获取的material",this.form.material);
|
|
|
|
console.log("material是空,if获取的material",this.form.material);
|
|
|
|
this.form.material = obj;
|
|
|
|
this.form.material = obj;
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
if(obj != undefined && obj != null){
|
|
|
|
if(obj != undefined && obj != null && obj !=""){
|
|
|
|
const a = obj.split(',');
|
|
|
|
const a = obj.split(',');
|
|
|
|
const len = obj.split(',').length;
|
|
|
|
const len = obj.split(',').length;
|
|
|
|
console.log('切割的数组',obj.split(','));
|
|
|
|
console.log('切割的数组',obj.split(','));
|
|
|
|