|
|
|
|
@ -28,7 +28,7 @@ |
|
|
|
|
<el-input placeholder="请输入银钾系数" v-model="submitForm.coefficient"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="银钾需求量:" prop="saveBoardVal" v-if="searchForm.plateGoodsCode == '04-05-024'"> |
|
|
|
|
<el-input placeholder="请输入银钾需求量" v-model="submitForm.goodsQuantity"></el-input> |
|
|
|
|
<el-input placeholder="请输入银钾需求量" v-model="submitForm.silverPotassium"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
|
|
@ -90,7 +90,7 @@ export default { |
|
|
|
|
return { |
|
|
|
|
loading: false, |
|
|
|
|
submitForm: { |
|
|
|
|
|
|
|
|
|
silverPotassium:'' |
|
|
|
|
}, |
|
|
|
|
searchForm: { |
|
|
|
|
plateGoodsCode: '04-05-023', |
|
|
|
|
@ -205,6 +205,7 @@ export default { |
|
|
|
|
wcId: this.searchForm.wcId, |
|
|
|
|
goodsCode: plateCode, |
|
|
|
|
goodsDemand: this.totalNum, |
|
|
|
|
|
|
|
|
|
// coefficient: this.searchForm.plateGoodsCode == '04-05-024' && this.searchForm.coefficient ? this.searchForm.coefficient : 0 |
|
|
|
|
}, |
|
|
|
|
detailList: this.selectionList.map(item => { |
|
|
|
|
@ -225,6 +226,7 @@ export default { |
|
|
|
|
params.assayContent.coefficient = this.searchForm.coefficient |
|
|
|
|
? this.searchForm.coefficient |
|
|
|
|
: 0; |
|
|
|
|
params.assayContent.silverPotassium = this.submitForm.silverPotassium |
|
|
|
|
add(params).then(res => { |
|
|
|
|
if (res.data.code == 200) { |
|
|
|
|
this.$message.success('新增成功'); |
|
|
|
|
|