更新成本和仓库

This commit is contained in:
2023-12-13 09:18:36 +08:00
parent 4e26d49ff5
commit 91d269e1ce
34 changed files with 1796 additions and 151 deletions

View File

@@ -2,7 +2,7 @@
* @Author: zwq
* @Date: 2021-11-18 14:16:25
* @LastEditors: zwq
* @LastEditTime: 2023-11-23 16:08:41
* @LastEditTime: 2023-12-06 15:14:12
* @Description:
-->
<template>
@@ -41,21 +41,23 @@ const tableProps = [
{
prop: 'num',
label: '数量',
width: 50
},
{
prop: 'allowTime',
label: '允许留存时长(天)',
width: 150
width: 130
},
{
prop: 'inTime',
label: '入库时间',
filter: parseTime,
width: 150
},
{
prop: 'leftTime',
label: '剩余留存时长(天)',
width: 150
width: 130
},
{
prop: 'remark',

View File

@@ -16,7 +16,7 @@
<method-btn
v-if="tableBtn.length"
slot="handleBtn"
:width="140"
:width="70"
label="操作"
:method-list="tableBtn"
@clickBtn="handleClick" />
@@ -36,7 +36,7 @@
:dialogTitle="addOrEditTitle"
:dialogVisible="addOrUpdateVisible"
:before-close="handleCancel"
width="50%">
width="60%">
<add-or-update
ref="addOrUpdate"
@refreshDataList="successSubmit"></add-or-update>
@@ -99,7 +99,7 @@ const tableProps = [
prop: 'inTime',
label: '入库时间',
filter: parseTime,
minWidth: 100,
width: 150
},
{
prop: 'remark',
@@ -124,18 +124,18 @@ export default {
tableData: [],
tableProps,
tableBtn: [
this.$auth.hasPermi(`raw-material:warehouse-realtime-location:query`)
? {
type: 'out',
btnName: '出库',
}
: undefined,
this.$auth.hasPermi(`raw-material:warehouse-realtime-location:query`)
? {
type: 'in',
btnName: '入库',
}
: undefined,
// this.$auth.hasPermi(`raw-material:warehouse-realtime-location:query`)
// ? {
// type: 'out',
// btnName: '出库',
// }
// : undefined,
// this.$auth.hasPermi(`raw-material:warehouse-realtime-location:query`)
// ? {
// type: 'in',
// btnName: '入库',
// }
// : undefined,
this.$auth.hasPermi(`raw-material:warehouse-realtime-location:query`)
? {
type: 'detail',