| | |
| | | }, |
| | | saveParams() { |
| | | let data = this.editConfig.infomation; |
| | | let companyID = 0; |
| | | let companyID = ''; |
| | | let companyName = ""; |
| | | let contacterID = 0; |
| | | let contacterID = ''; |
| | | let contacterName = ""; |
| | | if (this.editConfig.title == "新建") { |
| | | companyID = |
| | | Object.keys(this.companyObj).length == 0 ? 0 : this.companyObj.value; |
| | | Object.keys(this.companyObj).length == 0 ? '' : this.companyObj.value; |
| | | companyName = |
| | | Object.keys(this.companyObj).length == 0 |
| | | ? "" |
| | |
| | | productName: res.name, |
| | | productId: res.id, |
| | | auxiliaryUnit:adjunctUnit, |
| | | auxiliaryAmount:adjunctAmount, |
| | | auxiliaryAmount:Number(adjunctAmount), |
| | | inputFloatAuxiliaryAmount:isValue, |
| | | grossWeight:res.grossWeight, |
| | | grossWeight:Number(res.grossWeight), |
| | | totalGrossWeight:res.grossWeight?Number(res.grossWeight)*1:'', |
| | | netWeight:res.netWeight, |
| | | netWeight:Number(res.netWeight), |
| | | totalNetWeight:res.netWeight?Number(res.netWeight)*1:'', |
| | | }; |
| | | } |