|
@ -171,6 +171,7 @@ |
|
|
<text>{{agrDetail.goodsDetailType}}</text> <text>{{agrDetail.supplier}}</text> |
|
|
<text>{{agrDetail.goodsDetailType}}</text> <text>{{agrDetail.supplier}}</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="card"> |
|
|
<view class="card"> |
|
|
<u-form class="inline" labelWidth="auto" ref="form" errorType="toast" :model="formData" :rules="rules"> |
|
|
<u-form class="inline" labelWidth="auto" ref="form" errorType="toast" :model="formData" :rules="rules"> |
|
|
<d-form |
|
|
<d-form |
|
@ -256,8 +257,8 @@ export default { |
|
|
this.eventChannel.emit("update", { |
|
|
this.eventChannel.emit("update", { |
|
|
...this.formData, |
|
|
...this.formData, |
|
|
total: `${parseFloat(this.specsVal.num)*parseFloat(this.specsVal.specs[0])}${this.specsVal.specs[1]}`, |
|
|
total: `${parseFloat(this.specsVal.num)*parseFloat(this.specsVal.specs[0])}${this.specsVal.specs[1]}`, |
|
|
parentName: this.agrDetail.parentName, |
|
|
goodsType: this.agrDetail.goodsType, |
|
|
name: this.agrDetail.name, |
|
|
substanceName: this.agrDetail.substanceName, |
|
|
}) |
|
|
}) |
|
|
uni.navigateBack() |
|
|
uni.navigateBack() |
|
|
} |
|
|
} |
|
|