耗材修改
This commit is contained in:
@@ -105,9 +105,9 @@
|
||||
<el-form-item v-if="dialogtitle == '添加'">
|
||||
<el-button type="primary" @click="typedialogshow = true">去选择</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item label="单位耗材值" prop="surplusStock">
|
||||
<!-- <el-form-item label="单位耗材值" prop="surplusStock">
|
||||
<el-input v-model="ruleForm.surplusStock" placeholder="请输入单位耗材值"></el-input>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
<el-form-item style="display: flex;justify-content: flex-end;">
|
||||
<el-button @click="dialogshow = false">取 消</el-button>
|
||||
<el-button type="primary" @click="submitForm('refruleForm')">确 定</el-button>
|
||||
@@ -248,7 +248,7 @@ export default {
|
||||
conCode: '',
|
||||
conName: '',
|
||||
conTypeId: '',
|
||||
surplusStock: '',
|
||||
// surplusStock: '',
|
||||
conUnit: '',
|
||||
shopId: localStorage.getItem('shopId'),
|
||||
},
|
||||
@@ -406,7 +406,7 @@ export default {
|
||||
this.ruleForm.conTypeId = item.conTypeId
|
||||
this.ruleForm.conCode = item.conCode
|
||||
this.ruleForm.conName = item.conName
|
||||
this.ruleForm.surplusStock = item.surplusStock
|
||||
// this.ruleForm.surplusStock = item.surplusStock
|
||||
this.ruleForm.conUnit = item.conUnit
|
||||
console.log(this.ruleForm, item)
|
||||
}
|
||||
@@ -421,7 +421,7 @@ export default {
|
||||
conCode: this.ruleForm.conCode,
|
||||
conName: this.ruleForm.conName,
|
||||
conTypeId: this.ruleForm.conTypeId,
|
||||
surplusStock: this.ruleForm.surplusStock,
|
||||
// surplusStock: this.ruleForm.surplusStock,
|
||||
conUnit: this.ruleForm.conUnit,
|
||||
shopId: this.ruleForm.shopId
|
||||
})
|
||||
@@ -431,7 +431,7 @@ export default {
|
||||
conCode: this.ruleForm.conCode,
|
||||
conName: this.ruleForm.conName,
|
||||
conTypeId: this.ruleForm.conTypeId,
|
||||
surplusStock: this.ruleForm.surplusStock,
|
||||
// surplusStock: this.ruleForm.surplusStock,
|
||||
conUnit: this.ruleForm.conUnit,
|
||||
shopId: this.ruleForm.shopId
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user