|
@@ -168,7 +168,7 @@ export default {
|
|
|
this.form.productName = this.productData[ind].product.name
|
|
|
this.form.productCode = this.productData[ind].product.code
|
|
|
this.form.productOrigCode = this.productData[ind].product.origCode
|
|
|
- this.form.productCost = this.productData[ind].cost
|
|
|
+ this.form.productCost = (this.productData[ind].cost && this.productData[ind].cost!=0)?this.productData[ind].cost:this.productData[ind].cost==0?0.1:''
|
|
|
},
|
|
|
// 详情
|
|
|
getDetail () {
|