|
|
@ -66,12 +66,11 @@
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
@click.native="handleForm(scope.$index, scope.row)"
|
|
|
|
@click.native="handleForm(scope.$index, scope.row)"
|
|
|
|
:disabled="!configParms.sysUser"
|
|
|
|
|
|
|
|
>编辑
|
|
|
|
>编辑
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
:disabled="scope.row.id === 1 || !configParms.sysUser"
|
|
|
|
|
|
|
|
@click.native="handleDel(scope.$index, scope.row)"
|
|
|
|
@click.native="handleDel(scope.$index, scope.row)"
|
|
|
|
v-hasPermi="['system:user:remove']"
|
|
|
|
v-hasPermi="['system:user:remove']"
|
|
|
|
>删除
|
|
|
|
>删除
|
|
|
@ -149,7 +148,6 @@
|
|
|
|
placeholder="请选择"
|
|
|
|
placeholder="请选择"
|
|
|
|
:remote-method="findDeptMethod"
|
|
|
|
:remote-method="findDeptMethod"
|
|
|
|
:loading="loading"
|
|
|
|
:loading="loading"
|
|
|
|
@change="findInv"
|
|
|
|
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
|
v-for="item in fromDeptOptions"
|
|
|
|
v-for="item in fromDeptOptions"
|
|
|
@ -383,12 +381,6 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
findInv(val) {
|
|
|
|
findInv(val) {
|
|
|
|
// 获取仓库列表
|
|
|
|
// 获取仓库列表
|
|
|
|
selectInvById(val)
|
|
|
|
|
|
|
|
.then((res) => {
|
|
|
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
|
|
|
this.fromWarehouseOptions = res.data || [];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
handleCurrentChange(val) {
|
|
|
|