|
@@ -684,7 +684,8 @@ export default {
|
|
|
if(ccode =='19'){ //如果是成衣取规格型号,否则取物料名称
|
|
|
this.$refs.itemNumEleModal.editItemNumber.materialComposition = record.specificationAndModel
|
|
|
}else{
|
|
|
- this.$refs.itemNumEleModal.editItemNumber.materialComposition = record.inventoryName
|
|
|
+ var split = record.inventoryName.split(" ");
|
|
|
+ this.$refs.itemNumEleModal.editItemNumber.materialComposition = split[0];
|
|
|
}
|
|
|
}
|
|
|
},
|