|
|
|
|
@ -10,7 +10,7 @@
|
|
|
|
|
<el-form-item label="库位编码" prop="locationCode">
|
|
|
|
|
<el-input v-model="queryParams.locationCode" placeholder="请输入库位编码" clearable @keyup.enter="handleQuery" />
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="物料大类" prop="materialCategoryId">
|
|
|
|
|
<!-- <el-form-item label="物料大类" prop="materialCategoryId">
|
|
|
|
|
<el-select v-model="queryParams.materialCategoryId" placeholder="请选择物料大类" clearable >
|
|
|
|
|
<el-option v-for="item in mategoryOptions"
|
|
|
|
|
:key="item.materialCategoryId"
|
|
|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
:value="item.materialCategoryId"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-form-item>-->
|
|
|
|
|
<!-- <el-form-item label="erp同步状态" prop="erpSynchronousStatus">-->
|
|
|
|
|
<!-- <el-select v-model="queryParams.erpSynchronousStatus" placeholder="请选择erp同步状态" clearable >-->
|
|
|
|
|
<!-- <el-option v-for="dict in sys_common_status" :key="dict.value" :label="dict.label" :value="dict.value"/>-->
|
|
|
|
|
@ -36,7 +36,7 @@
|
|
|
|
|
<el-card shadow="never">
|
|
|
|
|
<template #header>
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<!-- <el-col :span="1.5">
|
|
|
|
|
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['wms:outstockRecord:add']">新增</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
@ -44,7 +44,7 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['wms:outstockRecord:remove']">删除</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-col>-->
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['wms:outstockRecord:export']">导出</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
@ -67,7 +67,7 @@
|
|
|
|
|
<el-table-column label="物料大类" align="center" prop="materialCategoryName" v-if="columns[7].visible">
|
|
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="出库人" align="center" prop="createBy" v-if="columns[8].visible"/>
|
|
|
|
|
<el-table-column label="出库人" align="center" prop="userName" v-if="columns[8].visible"/>
|
|
|
|
|
<el-table-column label="提交时间" align="center" prop="createTime" width="180" v-if="columns[9].visible">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
|
|
|
|
|
@ -89,23 +89,23 @@
|
|
|
|
|
<dict-tag :options="wms_special_type" :value="scope.row.specialType"/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
|
|
<!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-tooltip content="修改" placement="top">
|
|
|
|
|
<!– <el-tooltip content="修改" placement="top">
|
|
|
|
|
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)" v-hasPermi="['wms:outstockRecord:edit']"></el-button>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<el-tooltip content="删除" placement="top">
|
|
|
|
|
<el-button link type="primary" icon="Delete" @click="handleDelete(scope.row)" v-hasPermi="['wms:outstockRecord:remove']"></el-button>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
<el-tooltip content="退货" placement="top" v-if="scope.row.returnFlag!=1">
|
|
|
|
|
</el-tooltip>–>
|
|
|
|
|
<!– <el-tooltip content="退货" placement="top" v-if="scope.row.returnFlag!=1">
|
|
|
|
|
<el-button link type="primary" @click="handleReturn(scope.row)" v-hasPermi="['wms:outstockRecord:remove']">
|
|
|
|
|
<el-icon>
|
|
|
|
|
<DocumentAdd/>
|
|
|
|
|
</el-icon>
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
</el-tooltip>–>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table-column>-->
|
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />
|
|
|
|
|
|