add
This commit is contained in:
parent
fe2aa7359b
commit
f9ae277ca8
|
|
@ -68,7 +68,7 @@
|
|||
<template v-slot="scope">
|
||||
<!-- <el-button type="text" icon="el-icon-rank">排序</el-button> -->
|
||||
<el-button type="text" @click="clickdialogfadd(scope.row)">入库</el-button>
|
||||
<el-button type="text" icon="el-icon-edit" @click="clickdialogframe('edit', scope.row)">编辑</el-button>
|
||||
<!-- <el-button type="text" icon="el-icon-edit" @click="clickdialogframe('edit', scope.row)">编辑</el-button> -->
|
||||
<!-- <el-popconfirm title="确定删除吗?" @confirm="delTableHandle([scope.row.id])">
|
||||
<el-button type="text" icon="el-icon-delete" style="margin-left: 20px !important;"
|
||||
slot="reference">删除</el-button>
|
||||
|
|
@ -105,6 +105,10 @@
|
|||
<el-form-item>
|
||||
<el-button type="primary" @click="typedialogshow = true">去选择</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item label="单位" prop="surplusStock">
|
||||
<el-input v-model="ruleForm.surplusStock" placeholder="请输入单位"></el-input>
|
||||
</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>
|
||||
|
|
@ -252,6 +256,7 @@ export default {
|
|||
conCode: '',
|
||||
conName: '',
|
||||
conTypeId: '',
|
||||
surplusStock:'',
|
||||
conUnit: '',
|
||||
shopId: localStorage.getItem('shopId'),
|
||||
},
|
||||
|
|
@ -431,6 +436,7 @@ export default {
|
|||
conCode: this.ruleForm.conCode,
|
||||
conName: this.ruleForm.conName,
|
||||
conTypeId: this.ruleForm.conTypeId,
|
||||
surplusStock:this.ruleForm,surplusStock,
|
||||
conUnit: this.ruleForm.conUnit,
|
||||
shopId: this.ruleForm.shopId
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue