更新仓库bug

This commit is contained in:
朱文强 2025-03-17 15:29:01 +08:00
parent cc1e237043
commit 787c994224
3 changed files with 11 additions and 16 deletions

View File

@ -66,7 +66,7 @@ export default {
color: 'rgba(203, 195, 195, 1)',
},
subtextStyle: {
fontSize: 20,
fontSize: 30,
},
},
tooltip: {
@ -154,7 +154,7 @@ export default {
emphasis: {
label: {
show: true,
fontSize: 40,
fontSize: 30,
fontWeight: 'bold',
},
},

View File

@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2024-08-02 16:26:58
* @LastEditors: zwq
* @LastEditTime: 2024-12-19 14:15:06
* @LastEditTime: 2025-01-20 15:50:30
* @Description:,
-->
<template>
@ -15,12 +15,11 @@
@keyup.enter.native="dataFormSubmit()"
label-width="100px"
label-position="top">
<el-row :gutter="20">
<el-col :span="24">
<el-form-item prop="targetName" label="出库目的地">
<el-select
v-model="dataForm.targetName"
filterable
clearable
required
:style="{ width: '100%' }"
placeholder="请选择出库目的地">
<el-option
@ -30,16 +29,12 @@
:value="item.label"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="出库用途" prop="useFor">
<el-input
v-model="dataForm.useFor"
clearable
placeholder="请输入出库用途" />
</el-form-item>
</el-col>
</el-row>
</el-form>
<el-form v-else ref="form" label-width="100px">
<el-row>
@ -168,11 +163,11 @@ export default {
} else if (this.modeName === '出库') {
//
this.dataForm.realtimeLocationId = this.dataForm.id;
this.urlOptions.updateURL(this.dataForm).then((response) => {
this.$modal.msgSuccess('出库成功');
this.visible = false;
this.$emit('refreshDataList');
});
// this.urlOptions.updateURL(this.dataForm).then((response) => {
// this.$modal.msgSuccess('');
// this.visible = false;
// this.$emit('refreshDataList');
// });
}
});
},

View File

@ -3,7 +3,7 @@
:visible.sync="visible"
:width="'30%'"
:append-to-body="true"
:close-on-click-modal="false"
:close-on-click-modal="true"
class="dialog">
<template #title>
<slot name="title">