更新成本和仓库
This commit is contained in:
@@ -62,6 +62,7 @@ const tableProps = [
|
||||
{
|
||||
prop: 'code',
|
||||
label: '物品编码',
|
||||
width: 200
|
||||
},
|
||||
{
|
||||
prop: 'spec',
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2023-11-03 16:37:06
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2023-11-24 14:35:01
|
||||
* @LastEditTime: 2023-12-06 15:31:23
|
||||
* @Description:
|
||||
-->
|
||||
<template>
|
||||
@@ -42,7 +42,7 @@
|
||||
<span>{{ parseTime(scope.row.latestOutTime) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="100">
|
||||
<el-table-column label="操作" width="100" v-if="false">
|
||||
<template v-slot="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
@@ -134,16 +134,16 @@ export default {
|
||||
name: 'search',
|
||||
color: 'primary',
|
||||
},
|
||||
{
|
||||
type: 'separate',
|
||||
},
|
||||
{
|
||||
type: this.$auth.hasPermi('end-material:warehouse-realtime:create') ? 'button' : '',
|
||||
btnName: '入库',
|
||||
name: 'add',
|
||||
color: 'primary',
|
||||
plain: true,
|
||||
},
|
||||
// {
|
||||
// type: 'separate',
|
||||
// },
|
||||
// {
|
||||
// type: this.$auth.hasPermi('end-material:warehouse-realtime:create') ? 'button' : '',
|
||||
// btnName: '入库',
|
||||
// name: 'add',
|
||||
// color: 'primary',
|
||||
// plain: true,
|
||||
// },
|
||||
],
|
||||
};
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: zwq
|
||||
* @Date: 2021-11-18 14:16:25
|
||||
* @LastEditors: zwq
|
||||
* @LastEditTime: 2023-11-23 16:08:09
|
||||
* @LastEditTime: 2023-12-06 15:15:52
|
||||
* @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',
|
||||
|
||||
@@ -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(`end-material:warehouse-realtime-location:query`)
|
||||
? {
|
||||
type: 'out',
|
||||
btnName: '出库',
|
||||
}
|
||||
: undefined,
|
||||
this.$auth.hasPermi(`end-material:warehouse-realtime-location:query`)
|
||||
? {
|
||||
type: 'in',
|
||||
btnName: '入库',
|
||||
}
|
||||
: undefined,
|
||||
// this.$auth.hasPermi(`end-material:warehouse-realtime-location:query`)
|
||||
// ? {
|
||||
// type: 'out',
|
||||
// btnName: '出库',
|
||||
// }
|
||||
// : undefined,
|
||||
// this.$auth.hasPermi(`end-material:warehouse-realtime-location:query`)
|
||||
// ? {
|
||||
// type: 'in',
|
||||
// btnName: '入库',
|
||||
// }
|
||||
// : undefined,
|
||||
this.$auth.hasPermi(`end-material:warehouse-realtime-location:query`)
|
||||
? {
|
||||
type: 'detail',
|
||||
|
||||
Reference in New Issue
Block a user