This commit is contained in:
魏啾 2024-06-26 15:57:18 +08:00
parent fe2aa7359b
commit f9ae277ca8
1 changed files with 7 additions and 1 deletions

View File

@ -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
})