feat(xzdstoragelog): 新增物料功能集成
This commit is contained in:
parent
643eae576b
commit
b62e2023e5
@ -106,7 +106,7 @@
|
|||||||
>
|
>
|
||||||
单据生成
|
单据生成
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button style="margin-left: 18px" @click="submitForm()" type="primary" size="large">
|
<el-button style="margin-left: 18px" @click="openPnForm()" type="success" size="large">
|
||||||
新增物料
|
新增物料
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -127,13 +127,13 @@
|
|||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="50" :selectable="checkSelectable" />
|
<el-table-column type="selection" width="50" :selectable="checkSelectable" />
|
||||||
<el-table-column type="index" width="60" label="序号" align="center" fixd="left" />
|
<el-table-column type="index" width="60" label="序号" align="center" fixed="left" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="单据类型"
|
label="单据类型"
|
||||||
align="center"
|
align="center"
|
||||||
prop="stockMode"
|
prop="stockMode"
|
||||||
min-width="110"
|
min-width="110"
|
||||||
fixd="left"
|
fixed="left"
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<dict-tag :type="DICT_TYPE.HELI_STORAGE_TYPE" :value="scope.row.stockType" />
|
<dict-tag :type="DICT_TYPE.HELI_STORAGE_TYPE" :value="scope.row.stockType" />
|
||||||
@ -144,7 +144,7 @@
|
|||||||
align="center"
|
align="center"
|
||||||
prop="stockMode"
|
prop="stockMode"
|
||||||
min-width="110"
|
min-width="110"
|
||||||
fixd="left"
|
fixed="left"
|
||||||
>
|
>
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-tag v-if="scope.row.isExport == 0 || scope.row.isExport == null" type="danger">
|
<el-tag v-if="scope.row.isExport == 0 || scope.row.isExport == null" type="danger">
|
||||||
@ -159,7 +159,6 @@
|
|||||||
align="center"
|
align="center"
|
||||||
prop="xzdStockNo"
|
prop="xzdStockNo"
|
||||||
min-width="220"
|
min-width="220"
|
||||||
fixd="left"
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<el-table-column label="物料编码" align="center" prop="matCode" min-width="200">
|
<el-table-column label="物料编码" align="center" prop="matCode" min-width="200">
|
||||||
@ -246,6 +245,8 @@
|
|||||||
/>
|
/>
|
||||||
</ContentWrap>
|
</ContentWrap>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
<MaterialForm ref="materialOpenFormRef" @success="getList" />
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
@ -260,6 +261,7 @@ import { ref } from 'vue'
|
|||||||
import { HeliStockTypeDict, HeliStorageStatusDict } from '@/api/heli/wmsstorage'
|
import { HeliStockTypeDict, HeliStorageStatusDict } from '@/api/heli/wmsstorage'
|
||||||
import { HeliStorageIsExportDict } from '@/api/heli/xzdstoragelog'
|
import { HeliStorageIsExportDict } from '@/api/heli/xzdstoragelog'
|
||||||
import { dateFormatter, dateFormatter1 } from '@/utils/formatTime'
|
import { dateFormatter, dateFormatter1 } from '@/utils/formatTime'
|
||||||
|
import MaterialForm from "@/views/heli/material/MaterialForm.vue";
|
||||||
|
|
||||||
defineOptions({ name: 'Xzdstoragelog' })
|
defineOptions({ name: 'Xzdstoragelog' })
|
||||||
|
|
||||||
@ -314,6 +316,11 @@ const getList = async () => {
|
|||||||
loading.value = false
|
loading.value = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
const materialOpenFormRef = ref()
|
||||||
|
|
||||||
|
const openPnForm = () => {
|
||||||
|
materialOpenFormRef.value.open("create")
|
||||||
|
}
|
||||||
|
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
const handleQuery = () => {
|
const handleQuery = () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user