更新仓库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)', color: 'rgba(203, 195, 195, 1)',
}, },
subtextStyle: { subtextStyle: {
fontSize: 20, fontSize: 30,
}, },
}, },
tooltip: { tooltip: {
@ -154,7 +154,7 @@ export default {
emphasis: { emphasis: {
label: { label: {
show: true, show: true,
fontSize: 40, fontSize: 30,
fontWeight: 'bold', fontWeight: 'bold',
}, },
}, },

View File

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

View File

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