|
@@ -795,6 +795,12 @@
|
|
|
this.$set(recoerd,'rate',data.rate)
|
|
|
this.$set(recoerd,'quantity','')
|
|
|
this.$set(recoerd,'unQuantity','')
|
|
|
+ var attributeArr = data.Code1.split("-")
|
|
|
+ if(attributeArr.length==4){
|
|
|
+ this.$set(recoerd,'color',attributeArr[1])
|
|
|
+ this.$set(recoerd,'fixedLength',attributeArr[2])
|
|
|
+ this.$set(recoerd,'widthHeight',attributeArr[3])
|
|
|
+ }
|
|
|
this.$refs.formRef.clearValidate(['inventoryName']);
|
|
|
},
|
|
|
okDataDeparment(data){
|