代码修改
This commit is contained in:
@@ -76,4 +76,21 @@ export function productBack(data) {
|
||||
})
|
||||
}
|
||||
|
||||
// 导入数据
|
||||
export function importData(data) {
|
||||
return request({
|
||||
url: '/in/stockIn/importData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 下载导入模板
|
||||
export function importTemplate() {
|
||||
return request({
|
||||
url: '/in/stockIn/importTemplate',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -53,6 +53,9 @@ export function getOutStockoutDetail(query) {
|
||||
if (params.exitId) {
|
||||
searchParams.append('exitId', params.exitId);
|
||||
}
|
||||
if (params.pickUser) {
|
||||
searchParams.append('pickUser', params.pickUser);
|
||||
}
|
||||
return request({
|
||||
url: '/out/outStockout/changeStatus?' + searchParams.toString(),
|
||||
method: 'get'
|
||||
|
||||
@@ -73,6 +73,26 @@ export function delManagement(stockId) {
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 模拟生成出库任务
|
||||
export function createOutboundTask(data) {
|
||||
return request({
|
||||
url: '/stock/management/createOutboundTask',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 模拟导出个人出库Excel
|
||||
export function exportPersonalOutbound(data) {
|
||||
return request({
|
||||
url: '/stock/management/exportPersonalOutbound',
|
||||
method: 'post',
|
||||
data: data,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
//重置盘点记录
|
||||
export function resetPdRecord() {
|
||||
return request({
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
<el-form-item label="物料名称" prop="materialDesc">
|
||||
<el-input v-model="queryParams.materialDesc" placeholder="请输入物料名称" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="代号" prop="spare9">
|
||||
<el-input v-model="queryParams.spare9" placeholder="请输入代号" clearable @keyup.enter.native="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="入库类型" prop="inType">
|
||||
<el-select v-model="queryParams.inType" placeholder="请选择入库类型" clearable>
|
||||
<el-option v-for="dict in dict.type.in_bill_type" :key="dict.value" :label="dict.label" :value="dict.value" />
|
||||
@@ -35,6 +38,7 @@
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" :disabled="single" @click="handleReview" v-hasPermi="['in:stockIn:edit']">单据审核</el-button>
|
||||
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleConfirmation" v-hasPermi="['in:stockIn:edit']">单据确认</el-button>
|
||||
<el-button type="info" plain icon="el-icon-download" size="mini" :disabled="detailMultiple" @click="handleBarcodePrinting" v-hasPermi="['in:stockIn:barcodePrinting']">打印条码</el-button>
|
||||
<el-button type="text" icon="el-icon-upload2" @click="handleImport">导入</el-button>
|
||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList" style="margin-left: 10px;"></right-toolbar>
|
||||
</div>
|
||||
</div>
|
||||
@@ -42,7 +46,7 @@
|
||||
<el-table v-loading="loading" :data="stockInList" @selection-change="handleSelectionChange"
|
||||
@row-click="handleRowClick" max-height="300" border highlight-current-row :row-class-name="tableRowClassName">
|
||||
<el-table-column type="selection" width="55" align="center"/>
|
||||
<el-table-column label="入库订单" align="left" prop="stockinId" width="150"/>
|
||||
<el-table-column label="入库订单" align="left" prop="stockinId" width="160"/>
|
||||
<el-table-column label="入库类型" align="left" prop="inType">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.in_bill_type" :value="scope.row.inType"/>
|
||||
@@ -79,11 +83,13 @@
|
||||
<div style="float: right; display: flex; align-items: center;">
|
||||
<el-button type="primary" size="mini" icon="el-icon-check" @click="handleBatchSave" v-hasPermi="['in:stockIn:edit']">保存子单明细</el-button>
|
||||
<div style="width: 1px; height: 20px; background: #eee; margin: 0 15px;"></div>
|
||||
<el-input v-model="batchTrayCode" placeholder="批量条码" size="mini" style="width: 120px; margin-right: 5px;" clearable />
|
||||
<el-input v-model="batchTrayCode" placeholder="条码 或 条码=位置" size="mini" style="width: 150px; margin-right: 5px;" clearable />
|
||||
<el-button type="warning" size="mini" icon="el-icon-copy-document" @click="handleBatchFillTrayCode">批量填充</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<el-table
|
||||
v-loading="detailLoading"
|
||||
:data="stockInDetailList"
|
||||
@@ -131,8 +137,10 @@
|
||||
<el-table-column label="产品号" align="left" prop="spare7" width="160"/>
|
||||
<el-table-column label="代号" align="left" prop="spare9" width="160"/>
|
||||
<el-table-column label="台次" align="left" prop="spare5" />
|
||||
<el-table-column label="物料编码" align="left" prop="productId" />
|
||||
<el-table-column label="物料名称" align="left" prop="productName" show-overflow-tooltip/>
|
||||
<el-table-column label="供应商" align="left" prop="supplierId" />
|
||||
<el-table-column label="路线" align="left" prop="spare3" />
|
||||
<!-- <el-table-column label="物料编码" align="left" prop="productId" width="160"/>-->
|
||||
<el-table-column label="物料名称" align="left" prop="spare8" show-overflow-tooltip/>
|
||||
<el-table-column label="计划数量" align="center" prop="quantity" width="100"/>
|
||||
<el-table-column label="实际数量" align="center" width="100">
|
||||
<template slot-scope="scope">
|
||||
@@ -161,6 +169,11 @@
|
||||
<el-tag v-else size="mini" type="info" effect="plain">未分配托盘</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="备注" align="center" prop="remark">
|
||||
<template slot-scope="scope">
|
||||
<el-input v-model="scope.row.remark" placeholder="请输入备注" size="mini" clearable />
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
@@ -215,11 +228,42 @@
|
||||
</div>
|
||||
</div>
|
||||
</vue-easy-print>
|
||||
|
||||
<!-- 入库导入对话框 -->
|
||||
<el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
|
||||
<el-upload
|
||||
ref="upload"
|
||||
:limit="1"
|
||||
accept=".xlsx, .xls"
|
||||
:headers="upload.headers"
|
||||
:action="upload.url + '?updateSupport=' + upload.updateSupport"
|
||||
:disabled="upload.isUploading"
|
||||
:on-progress="handleFileUploadProgress"
|
||||
:on-success="handleFileSuccess"
|
||||
:auto-upload="false"
|
||||
drag
|
||||
>
|
||||
<i class="el-icon-upload"></i>
|
||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||
<div class="el-upload__tip text-center" slot="tip">
|
||||
<div class="el-upload__tip" slot="tip">
|
||||
<el-checkbox v-model="upload.updateSupport" :true-label="1" :false-label="0" /> 是否更新已经存在的单据数据
|
||||
</div>
|
||||
<span>仅允许导入xls、xlsx格式文件。</span>
|
||||
<el-link type="primary" :underline="false" style="font-size:12px;vertical-align: baseline;" @click="importTemplate">下载模板</el-link>
|
||||
</div>
|
||||
</el-upload>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitFileForm">确 定</el-button>
|
||||
<el-button @click="upload.open = false">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {confirmationStockIn, invalidatedStockIn, listStockIn, reviewStockIn} from "@/api/in/stockIn"
|
||||
import { getToken } from "@/utils/auth";
|
||||
import {listStockInDetail, updateStockInDetailBatch} from "@/api/in/stockInDetail"
|
||||
import {listWarehouse} from "@/api/bas/warehouse";
|
||||
import vueEasyPrint from 'vue-easy-print'
|
||||
@@ -231,7 +275,7 @@ export default {
|
||||
dicts: ['bill_resource','product_type', 'in_bill_status', 'in_bill_type','bill_resource','product_type','origin_type','account_type','turnover_type','purpose_type','quality_type'],
|
||||
components: {
|
||||
vueEasyPrint,
|
||||
VueQr
|
||||
VueQr,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -289,6 +333,21 @@ export default {
|
||||
title: "",
|
||||
// 是否显示弹出层
|
||||
open: false,
|
||||
// 入库导入参数
|
||||
upload: {
|
||||
// 是否显示弹出层(入库导入)
|
||||
open: false,
|
||||
// 弹出层标题(入库导入)
|
||||
title: "",
|
||||
// 是否禁用上传
|
||||
isUploading: false,
|
||||
// 是否更新已经存在的用户数据
|
||||
updateSupport: 0,
|
||||
// 设置上传的请求头部
|
||||
headers: { Authorization: "Bearer " + getToken() },
|
||||
// 上传的地址
|
||||
url: process.env.VUE_APP_BASE_API + "/in/stockIn/importData"
|
||||
},
|
||||
// 批量填充托盘条码
|
||||
batchTrayCode: '',
|
||||
// 查询参数
|
||||
@@ -334,6 +393,32 @@ export default {
|
||||
this.getWarehouseList()
|
||||
},
|
||||
methods: {
|
||||
/** 导入按钮操作 */
|
||||
handleImport() {
|
||||
this.upload.title = "入库导入";
|
||||
this.upload.open = true;
|
||||
},
|
||||
/** 下载模板操作 */
|
||||
importTemplate() {
|
||||
this.download('in/stockIn/importTemplate', {
|
||||
}, `stock_in_template_${new Date().getTime()}.xlsx`)
|
||||
},
|
||||
// 文件上传中处理
|
||||
handleFileUploadProgress(event, file, fileList) {
|
||||
this.upload.isUploading = true;
|
||||
},
|
||||
// 文件上传成功处理
|
||||
handleFileSuccess(response, file, fileList) {
|
||||
this.upload.open = false;
|
||||
this.upload.isUploading = false;
|
||||
this.$refs.upload.clearFiles();
|
||||
this.$alert("<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>" + response.msg + "</div>", "导入结果", { dangerouslyUseHTMLString: true });
|
||||
this.getList();
|
||||
},
|
||||
// 提交上传文件
|
||||
submitFileForm() {
|
||||
this.$refs.upload.submit();
|
||||
},
|
||||
/** 获取仓库列表 */
|
||||
getWarehouseList() {
|
||||
listWarehouse(this.queryWarehouseParams).then(response => {
|
||||
@@ -527,13 +612,23 @@ export default {
|
||||
/** 批量填充托盘条码 */
|
||||
handleBatchFillTrayCode() {
|
||||
if (!this.batchTrayCode) {
|
||||
this.$modal.msgWarning("请输入批量托盘条码");
|
||||
this.$modal.msgWarning("请输入批量填充内容(格式:1003 或 1003=A1)");
|
||||
return;
|
||||
}
|
||||
if (this.stockInDetailListSelected.length === 0) {
|
||||
this.$modal.msgWarning("请选择要填充的子单据");
|
||||
return;
|
||||
}
|
||||
|
||||
// 解析输入:1003=A1 或 1003
|
||||
let trayCode = this.batchTrayCode;
|
||||
let location = '';
|
||||
if (this.batchTrayCode.includes('=')) {
|
||||
const parts = this.batchTrayCode.split('=');
|
||||
trayCode = parts[0].trim();
|
||||
location = parts[1] ? parts[1].trim() : '';
|
||||
}
|
||||
|
||||
// 批量填充逻辑:为每个选中行添加或设置一个托盘,数量默认为计划数量或剩余数量
|
||||
this.stockInDetailList.forEach((item, index) => {
|
||||
if (this.stockInDetailListSelected.some(selected => selected.stockinDetailId === item.stockinDetailId)) {
|
||||
@@ -543,15 +638,18 @@ export default {
|
||||
}
|
||||
const remain = Math.max(0, (item.quantity || 0) - (item.assignNum || 0));
|
||||
// 查找是否已有该托盘,没有则添加,有则更新数量
|
||||
const existingTray = item.trayList.find(t => t.trayCode === this.batchTrayCode);
|
||||
const existingTray = item.trayList.find(t => t.trayCode === trayCode);
|
||||
if (!existingTray) {
|
||||
item.trayList.push({
|
||||
trayCode: this.batchTrayCode,
|
||||
trayCode: trayCode,
|
||||
quantity: remain, // 默认填入剩余计划数量
|
||||
location: ''
|
||||
location: location
|
||||
});
|
||||
} else {
|
||||
existingTray.quantity = (existingTray.quantity || 0) + remain;
|
||||
if (location) {
|
||||
existingTray.location = location; // 如果输入了位置,则更新
|
||||
}
|
||||
}
|
||||
this.calculateAssignNum(item);
|
||||
}
|
||||
|
||||
@@ -177,38 +177,8 @@
|
||||
<el-table-column label="代号" align="left" prop="spare9" width="160"/>
|
||||
<el-table-column label="台次" align="left" prop="spare5" />
|
||||
<el-table-column label="物料编码" align="left" prop="productId" />
|
||||
<el-table-column label="物料名称" align="left" prop="productName" />
|
||||
<!-- <el-table-column label="供应商" align="left" prop="supplierName" />-->
|
||||
<el-table-column label="物料名称" align="left" prop="spare1" />
|
||||
<el-table-column label="出库数量" align="right" prop="outQuantity" /> <!-- 出库数量 -->
|
||||
<!-- <el-table-column label="批号" align="left" prop="lotNo" />-->
|
||||
<!-- <el-table-column label="单价" align="left" prop="printDate" />-->
|
||||
<!-- <el-table-column label="来源" align="left" prop="spare1" ><!–来源–>
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.origin_type" :value="scope.row.spare1"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="状态" align="left" prop="spare2" ><!–用途–>
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.turnover_type" :value="scope.row.spare2"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="套账" align="left" prop="spare3" ><!–用途–>
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.account_type" :value="scope.row.spare3"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="用途" align="left" prop="spare4" ><!–用途–>
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.purpose_type" :value="scope.row.spare4"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
|
||||
|
||||
<!-- <el-table-column label="质量等级" align="left" prop="spare8" ><!–用途–>
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.quality_type" :value="scope.row.spare8"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item :label="'备注'" prop="remark"><!--客户-->
|
||||
<el-form-item :label="'备注'" prop="remark">
|
||||
<el-input
|
||||
v-model="formData.remark"
|
||||
:placeholder="'请输入备注'"
|
||||
@@ -43,78 +43,22 @@
|
||||
|
||||
<!-- 物资明细表格 -->
|
||||
<el-table v-loading="loading" :data="materialList">
|
||||
<!-- <el-table-column label="仓库编码" align="center" prop="warehouseId" />-->
|
||||
<el-table-column label="仓库" align="center" prop="warehouseName" />
|
||||
<el-table-column label="合同号" align="center" prop="cargoNo" width="160"/>
|
||||
<el-table-column label="产品号" align="center" prop="phase" width="160"/>
|
||||
<el-table-column label="代号" align="center" prop="fid" width="160"/>
|
||||
<el-table-column label="台次" align="center" prop="power" width="160"/>
|
||||
<el-table-column label="物料编码" align="center" prop="productId" /><!--物资编号-->
|
||||
<el-table-column label="物料名称" align="center" prop="productName" /><!--物资名称-->
|
||||
<!-- <el-table-column label="批次" align="center" prop="lotNo" />-->
|
||||
<!-- <el-table-column label="规格型号" align="center" prop="productSpec" />-->
|
||||
<!-- <el-table-column label="供应商" align="center" prop="supplierName" />-->
|
||||
<!-- <el-table-column label="客户编码" align="center" prop="outId" />-->
|
||||
<!-- <el-table-column label="客户名称" align="center" prop="customerName" width="230">-->
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="scope.row.customerName"-->
|
||||
<!-- placeholder="点击选择客户"-->
|
||||
<!-- readonly-->
|
||||
<!-- size="mini"-->
|
||||
<!-- @focus="openRowCustomerSelector(scope.row)"-->
|
||||
<!-- />-->
|
||||
<!-- </template>-->
|
||||
<!-- </el-table-column>-->
|
||||
<el-table-column :label="'数量'" align="center" prop="quantity" width="150"><!--数量-->
|
||||
<el-table-column label="合同号" align="center" prop="orderId" width="160"/>
|
||||
<el-table-column label="产品号" align="center" prop="power" width="160"/>
|
||||
<el-table-column label="代号" align="center" prop="distribution" width="160"/>
|
||||
<el-table-column label="台次" align="center" prop="spec" width="160"/>
|
||||
<el-table-column label="物料编码" align="center" prop="productId" />
|
||||
<el-table-column label="物料名称" align="center" prop="productName" />
|
||||
<el-table-column label="单重" align="center" prop="netWeight" />
|
||||
<el-table-column label="路线" align="center" prop="grossWeight" />
|
||||
<el-table-column label="供应商" align="center" prop="phase" />
|
||||
<el-table-column label="部门" align="center" prop="model" />
|
||||
<el-table-column label="数量" align="center" prop="quantity" width="150">
|
||||
<template slot-scope="scope">
|
||||
<el-input-number v-model="scope.row.quantity" :min="1" size="mini" @change="handleQuantityChange(scope.row)" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="状态" align="center" prop="spec">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.turnover_type" :value="scope.row.spec"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="来源" align="center" prop="unit" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.origin_type" :value="scope.row.unit"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="入库单价" align="center" prop="price" />-->
|
||||
<!-- <el-table-column label="产品质量" align="center" prop="voltage" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.quality_type" :value="scope.row.voltage"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
|
||||
|
||||
<!-- <el-table-column label="用途" align="center" prop="model" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.purpose_type" :value="scope.row.model"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="套账" align="center" prop="entryid" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.account_type" :value="scope.row.entryid"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="单位" align="center" prop="productUnit" />
|
||||
<el-table-column label="图号" align="center" prop="productDrawNo" />-->
|
||||
|
||||
<!-- <el-table-column label="物料状态" align="center" prop="productStatus" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.product_type" :value="scope.row.productStatus"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="常用编码" align="center" prop="parentId" />
|
||||
<el-table-column label="是否启用" align="center" prop="isUsed" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.isUsed"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" />
|
||||
<el-table-column label="创建用户" align="center" prop="createSys" />-->
|
||||
|
||||
<el-table-column :label="'操作'" align="center" class-name="small-padding fixed-width"><!--操作-->
|
||||
<template slot-scope="scope">
|
||||
@@ -124,7 +68,7 @@
|
||||
</el-table>
|
||||
|
||||
<!-- 选择物资弹窗 -->
|
||||
<el-dialog :title="'选择物资'" :visible.sync="materialDialog" width="1700px" append-to-body><!--选择物资-->
|
||||
<el-dialog :title="'选择物资'" :visible.sync="materialDialog" width="80%" custom-class="material-dialog" append-to-body><!--选择物资-->
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
|
||||
|
||||
<el-form-item label="合同号" prop="orderId">
|
||||
@@ -159,14 +103,6 @@
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="物料编码" prop="productId"><!–物资编码–>
|
||||
<el-input
|
||||
v-model="queryParams.productId"
|
||||
:placeholder="'请输入物料编码'"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>-->
|
||||
<el-form-item label="物料名称" prop="productName"><!--物资名称-->
|
||||
<el-input
|
||||
v-model="queryParams.productName"
|
||||
@@ -175,15 +111,6 @@
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="规格型号" prop="spec">
|
||||
<el-input
|
||||
v-model="queryParams.spec"
|
||||
placeholder="请输入规格型号"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{'搜索'}}<!--搜索--></el-button>
|
||||
@@ -193,65 +120,19 @@
|
||||
|
||||
<el-table v-loading="materialLoading" :data="materialOptions" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="序号" align="center" prop="onlyIdentity" />
|
||||
<el-table-column label="仓库编码" align="center" prop="warehouseId" />
|
||||
<el-table-column label="仓库" align="center" prop="warehouseName" />
|
||||
<el-table-column label="id" align="center" prop="onlyIdentity" />
|
||||
<el-table-column label="物料编码" align="center" prop="productId" />
|
||||
<el-table-column label="物料名称" align="center" prop="productName" />
|
||||
<el-table-column label="数量" align="center" prop="quantity" />
|
||||
<el-table-column label="仓库id" align="center" prop="warehouseId" />
|
||||
<el-table-column label="合同号" align="center" prop="orderId" />
|
||||
<el-table-column label="产品号" align="center" prop="power" />
|
||||
<el-table-column label="代号" align="center" prop="distribution" />
|
||||
<el-table-column label="台次" align="center" prop="spare5" />
|
||||
|
||||
<el-table-column label="物料编码" align="center" prop="productId" />
|
||||
<!-- <el-table-column label="批次" align="center" prop="lotNo" />-->
|
||||
<el-table-column label="物料名称" align="center" prop="productName" />
|
||||
<el-table-column label="规格型号" align="center" prop="spec" />
|
||||
<!-- <el-table-column label="图号" align="center" prop="cargoNo" />-->
|
||||
<el-table-column label="库存数量" align="center" prop="quantity" />
|
||||
|
||||
<!-- <el-table-column label="来源" align="center" prop="spare1">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.origin_type" :value="scope.row.spare1"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="套账" align="center" prop="spare3">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.account_type" :value="scope.row.spare3"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="用途" align="center" prop="spare4">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.purpose_type" :value="scope.row.spare4"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="入库单价" align="center" prop="spare6" />-->
|
||||
<!-- <el-table-column label="状态" align="center" prop="voltage">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.turnover_type" :value="scope.row.voltage"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="供应商" align="center" prop="phase" />-->
|
||||
<!-- <el-table-column label="供应商" align="center" prop="supplierName" />-->
|
||||
|
||||
<!-- <el-table-column label="质量等级" align="center" prop="spare8">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.quality_type" :value="scope.row.spare8"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="单价" align="center" prop="price" />
|
||||
|
||||
<el-table-column label="物料状态" align="center" prop="productStatus">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.product_type" :value="scope.row.productStatus"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="常用编码" align="center" prop="parentId" />
|
||||
<el-table-column label="启用标识" align="center" prop="spare7">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.spare7"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="创建用户" align="center" prop="createSys" />-->
|
||||
<!-- <el-table-column label="单位" align="center" prop="unit" />-->
|
||||
<el-table-column label="单重" align="center" prop="netWeight" />
|
||||
<el-table-column label="路线" align="center" prop="grossWeight" />
|
||||
<el-table-column label="供应商" align="center" prop="phase" />
|
||||
<el-table-column label="部门" align="center" prop="model" />
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
@@ -268,104 +149,6 @@
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 选择客户弹窗 -->
|
||||
<el-dialog :title="'客户管理'" :visible.sync="customerDialog" width="800px" append-to-body>
|
||||
<el-form :model="customerQueryParams" ref="customerQueryForm" size="small" :inline="true" label-width="100px">
|
||||
<el-form-item :label="'客户编号'" prop="customerNo"><!--客户编号-->
|
||||
<el-input
|
||||
v-model="customerQueryParams.customerNo"
|
||||
:placeholder="'请输入客户编号'"
|
||||
clearable
|
||||
@keyup.enter.native="handleCustomerQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item :label="'客户名称'" prop="customerName"><!--客户名称-->
|
||||
<el-input
|
||||
v-model="customerQueryParams.customerName"
|
||||
:placeholder="'请输入客户名称'"
|
||||
clearable
|
||||
@keyup.enter.native="handleCustomerQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleCustomerQuery">搜索<!--搜索--></el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetCustomerQuery">重置<!--重置--></el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-table ref="customerTable" v-loading="customerLoading" :data="customerList" @row-click="handleCustomerRowClick" highlight-current-row>
|
||||
<el-table-column :label="'客户编号'" align="left" prop="customerNo" /><!--客户编号-->
|
||||
<el-table-column :label="'客户名称'" align="left" prop="customerName" /><!--客户名称-->
|
||||
<!-- <el-table-column :label="$t('basCustomer.simpleName')" align="left" prop="simpleName" />客户简称 -->
|
||||
<el-table-column :label="'是否可用'" align="left" prop="useable">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.is_available" :value="scope.row.useable"/>
|
||||
</template>
|
||||
</el-table-column><!--是否可用-->
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
v-show="customerTotal > 0"
|
||||
:total="customerTotal"
|
||||
:page.sync="customerQueryParams.pageNum"
|
||||
:limit.sync="customerQueryParams.pageSize"
|
||||
@pagination="getCustomerList"
|
||||
/>
|
||||
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="confirmSelectCustomer">确定<!--确 定--></el-button>
|
||||
<el-button @click="cancelSelectCustomer">取消<!--取 消--></el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
<!-- 选择供应商弹窗 -->
|
||||
<el-dialog :title="'选择供应商'" :visible.sync="supplierDialog" width="800px" append-to-body>
|
||||
<el-form :model="supplierQueryParams" ref="supplierQueryForm" size="small" :inline="true" label-width="100px">
|
||||
<el-form-item :label="'供应商编号'" prop="supplierNo">
|
||||
<el-input
|
||||
v-model="supplierQueryParams.supplierNo"
|
||||
:placeholder="'请输入供应商编号'"
|
||||
clearable
|
||||
@keyup.enter.native="handleSupplierQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item :label="'供应商名称'" prop="supplierName">
|
||||
<el-input
|
||||
v-model="supplierQueryParams.supplierName"
|
||||
:placeholder="'请输入供应商名称'"
|
||||
clearable
|
||||
@keyup.enter.native="handleSupplierQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleSupplierQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" size="mini" @click="resetSupplierQuery">重置</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-table ref="supplierTable" v-loading="supplierLoading" :data="supplierList" @row-click="handleSupplierRowClick" highlight-current-row>
|
||||
<el-table-column :label="'供应商编号'" align="left" prop="supplierNo" />
|
||||
<el-table-column :label="'供应商名称'" align="left" prop="supplierName" />
|
||||
<el-table-column :label="'是否可用'" align="left" prop="useable">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.is_available" :value="scope.row.useable"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
v-show="supplierTotal > 0"
|
||||
:total="supplierTotal"
|
||||
:page.sync="supplierQueryParams.pageNum"
|
||||
:limit.sync="supplierQueryParams.pageSize"
|
||||
@pagination="getSupplierListForDialog"
|
||||
/>
|
||||
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="confirmSelectSupplier">确定</el-button>
|
||||
<el-button @click="cancelSelectSupplier">取消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -642,36 +425,21 @@ export default {
|
||||
|
||||
this.materialList = this.materialList.concat(
|
||||
newMaterials.map(item => ({
|
||||
onlyIdentity: item.onlyIdentity,
|
||||
productId: item.productId,
|
||||
productName: item.productName,
|
||||
quantity: item.quantity,
|
||||
quantityOrignal: item.quantity,
|
||||
spec: item.voltage,
|
||||
supplierId: item.phase,
|
||||
supplierName: item.supplierName,
|
||||
phase: item.power,
|
||||
fid: item.distribution,
|
||||
cargoNo: item.orderId,
|
||||
entryid: item.spare3,
|
||||
unit: item.spare1,
|
||||
model: item.spare4,
|
||||
price:item.spare6,
|
||||
power:item.spare5,
|
||||
warehouseId: item.warehouseId,
|
||||
warehouseName: item.warehouseName,
|
||||
lotNo: item.lotNo,
|
||||
voltage:item.spare8,
|
||||
onlyIdentity: item.onlyIdentity,
|
||||
productPrice:item.price,
|
||||
productSpec:item.spec,
|
||||
productUnit:item.unit,
|
||||
productDrawNo:item.cargoNo,
|
||||
productStatus:item.productStatus,
|
||||
parentId: item.parentId,
|
||||
isUsed:item.spare7,
|
||||
createTime: item.createTime,
|
||||
createSys:item.createSys
|
||||
|
||||
orderId: item.orderId,
|
||||
power: item.power,
|
||||
distribution: item.distribution,
|
||||
spec: item.spare5,
|
||||
netWeight: item.netWeight,
|
||||
grossWeight: item.grossWeight,
|
||||
phase: item.phase,
|
||||
model: item.model,
|
||||
|
||||
}))
|
||||
);
|
||||
@@ -759,4 +527,14 @@ export default {
|
||||
width: auto;
|
||||
min-width: fit-content;
|
||||
}
|
||||
.material-dialog {
|
||||
height: 50vh;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.material-dialog >>> .el-dialog__body {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -152,11 +152,15 @@
|
||||
<dict-tag :options="dict.type.bill_resource" :value="scope.row.stockoutSource"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="上位单号" align="left" prop="erpStockoutId" width="150"/><!--入库订单-->
|
||||
<!-- <el-table-column :label="'出口'" align="left" prop="exitId" />-->
|
||||
<!-- <el-table-column :label="'客户编码'" align="left" prop="customerNo" /><!– 客户编码 –>-->
|
||||
<!-- <el-table-column label="客户名称" align="left" prop="customerName" />-->
|
||||
<el-table-column label="建单人" align="left" prop="createManName" /> <!-- 建单人 -->
|
||||
<el-table-column label="上位单号" align="left" prop="erpStockoutId" width="150"/><!--入库订单-->
|
||||
<el-table-column label="出口" align="left" prop="exitId" ><!--出口-->
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.exit_type" :value="scope.row.exitId"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="领料人" align="left" prop="classNowId" />
|
||||
<!-- <el-table-column label="客户名称" align="left" prop="customerName" />-->
|
||||
<el-table-column label="创建时间" align="left" prop="createDate" width="160"/><!-- 创建时间 -->
|
||||
<el-table-column label="开始时间" align="left" prop="startDate" width="160"/><!-- 开始时间 -->
|
||||
<el-table-column label="确认时间" align="left" prop="finishDate" width="160"/> <!-- 确认时间 -->
|
||||
@@ -176,88 +180,31 @@
|
||||
<el-table v-loading="detailLoading" :data="outStockDetailList" style="margin-top: 20px;" @selection-change="handleDetailSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column :label="'出库子单编号'" align="center" prop="stockoutDetailId" width="160" /> <!-- 出库子单编号 -->
|
||||
<!-- <el-table-column label="仓库" align="center" prop="warehouseId" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.warehouse" :value="scope.row.warehouseId"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<el-table-column label="合同号" align="center" prop="cargoNo" width="160"/>
|
||||
<el-table-column label="产品号" align="center" prop="phase" width="160"/>
|
||||
<el-table-column label="代号" align="center" prop="fid" width="160"/>
|
||||
<el-table-column label="台次" align="center" prop="power" width="160"/>
|
||||
<el-table-column label="物料编码" align="center" prop="productId" /> <!-- 物资编码 -->
|
||||
<el-table-column label="合同号" align="center" prop="orderId" width="160"/>
|
||||
<el-table-column label="产品号" align="center" prop="power" width="160"/>
|
||||
<el-table-column label="代号" align="center" prop="distribution" width="160"/>
|
||||
<el-table-column label="台次" align="center" prop="spec" width="160"/>
|
||||
<el-table-column label="单重" align="center" prop="netWeight" />
|
||||
<el-table-column label="路线" align="center" prop="grossWeight" width="160"/>
|
||||
<el-table-column label="供应商" align="center" prop="phase" width="160"/>
|
||||
<el-table-column label="物料编码" align="center" prop="productId" />
|
||||
<el-table-column label="物料名称" align="center" prop="productName" />
|
||||
<!-- <el-table-column :label="'批次'" align="center" prop="lotNo"/>-->
|
||||
<!-- <el-table-column label="规格型号" align="center" prop="productSpec" />-->
|
||||
<!-- <el-table-column label="供应商" align="center" prop="supplierName" />-->
|
||||
<!-- <el-table-column label="客户" align="center" prop="customerName" />-->
|
||||
<el-table-column label="计划数量" align="center" prop="quantity" /> <!-- 计划数量 -->
|
||||
<el-table-column label="分配数量" align="center" prop="allotQuantity" /> <!-- 分配数量 -->
|
||||
<el-table-column label="实际数量" align="center" prop="assignNum" /> <!-- 实际数量 -->
|
||||
<!-- <el-table-column label="回传状态" align="center" prop="swStatus" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.sw_status" :value="scope.row.swStatus"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column :label="'入库单价'" align="center" prop="price"/>-->
|
||||
<!-- <el-table-column :label="'来源'" align="center" prop="unit">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.origin_type" :value="scope.row.unit"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="'状态'" align="center" prop="spec">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.turnover_type" :value="scope.row.spec"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="产品质量" align="center" prop="voltage" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.quality_type" :value="scope.row.voltage"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
|
||||
|
||||
<!-- <el-table-column label="分销" align="center" prop="distribution" />-->
|
||||
<!-- <el-table-column label="用途" align="center" prop="model" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.purpose_type" :value="scope.row.model"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="套账" align="center" prop="entryid" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.account_type" :value="scope.row.entryid"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
|
||||
<!-- <el-table-column label="单位" align="center" prop="productUnit" />-->
|
||||
<!-- <el-table-column label="图号" align="center" prop="productDrawNo" />-->
|
||||
<!-- <el-table-column label="物料状态" align="center" prop="productStatus" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.product_type" :value="scope.row.productStatus"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="常用编码" align="center" prop="parentId" />
|
||||
<el-table-column label="是否启用" align="center" prop="isUsed" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.isUsed"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="创建时间" align="center" prop="createTime" />
|
||||
<el-table-column label="创建用户" align="center" prop="createSys" />-->
|
||||
<el-table-column label="计划数量" align="center" prop="quantity" />
|
||||
<el-table-column label="分配数量" align="center" prop="allotQuantity" />
|
||||
<el-table-column label="实际数量" align="center" prop="assignNum" />
|
||||
|
||||
</el-table>
|
||||
|
||||
<!-- <pagination-->
|
||||
<!-- v-show="detailTotal>0"-->
|
||||
<!-- :total="detailTotal"-->
|
||||
<!-- :page.sync="detailQueryParams.pageNum"-->
|
||||
<!-- :limit.sync="detailQueryParams.pageSize"-->
|
||||
<!-- @pagination="getDetailList"-->
|
||||
<!-- />-->
|
||||
|
||||
<!-- 审核弹窗 -->
|
||||
<el-dialog :title="'审核'" :visible.sync="auditDialogVisible" width="400px" append-to-body>
|
||||
<el-form ref="auditForm" :model="auditForm" :rules="auditRules" label-width="80px">
|
||||
<el-form-item label="领料人" prop="pickUser">
|
||||
<el-input
|
||||
v-model="auditForm.pickUser"
|
||||
placeholder="请输入领料人"
|
||||
clearable
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item :label="'选择出口'" prop="exitId">
|
||||
<el-select v-model="auditForm.exitId" :placeholder="'请选择出口'" clearable>
|
||||
<el-option
|
||||
@@ -401,7 +348,7 @@ import {listWarehouse} from "@/api/bas/warehouse";
|
||||
|
||||
export default {
|
||||
name: "OutStockWithDetail",
|
||||
dicts: ['bill_resource','sw_status','out_bill_type', 'out_bill_status', 'product_type', 'quality_type', 'turnover_type', 'sys_yes_no','account_type','origin_type','purpose_type','warehouse'],
|
||||
dicts: ['bill_resource','out_bill_type', 'out_bill_status','exit_type'],
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
@@ -428,7 +375,8 @@ export default {
|
||||
auditDialogVisible: false,
|
||||
// 审核表单数据
|
||||
auditForm: {
|
||||
exitId: null
|
||||
exitId: null,
|
||||
pickUser:null
|
||||
},
|
||||
// 库存明细弹窗显示状态
|
||||
stockDialogVisible: false,
|
||||
@@ -448,8 +396,8 @@ export default {
|
||||
},
|
||||
// 出口选项
|
||||
exitOptions: [
|
||||
{ exitId: '1', exitName: '北端'},
|
||||
{ exitId: '2', exitName: '南端'},
|
||||
{ exitId: '1', exitName: '入库端'},
|
||||
{ exitId: '2', exitName: '出库端'},
|
||||
|
||||
],
|
||||
|
||||
@@ -624,6 +572,7 @@ export default {
|
||||
|
||||
this.auditDialogVisible = true
|
||||
this.auditForm.exitId = null
|
||||
this.auditForm.pickUser = null
|
||||
return
|
||||
}
|
||||
|
||||
@@ -726,7 +675,8 @@ export default {
|
||||
stockoutIds: this.selectedRows.map(row => row.stockoutId),
|
||||
status: this.selectedRows[0].status,
|
||||
newStatus: this.currentAuditStatus,
|
||||
exitId: this.auditForm.exitId
|
||||
exitId: this.auditForm.exitId,
|
||||
pickUser: this.auditForm.pickUser
|
||||
}
|
||||
// console.log("单据状态修改(含出口信息):", params)
|
||||
|
||||
|
||||
@@ -194,35 +194,19 @@
|
||||
|
||||
<el-table v-loading="detailLoading" :data="detailList" @selection-change="handleSelectionChange" max-height="650">
|
||||
<el-table-column type="selection" align="center" />
|
||||
<!-- <el-table-column label="仓库名称" align="center" prop="warehouseName"/>-->
|
||||
<el-table-column label="库存编码" align="center" prop="stockId" width="160"/>
|
||||
<!-- <el-table-column label="库位" align="center" prop="cargoSpaceId" width="160"/>-->
|
||||
<!-- <el-table-column label="托盘" align="center" prop="trayCode" width="160"/>-->
|
||||
<el-table-column label="合同号" align="center" prop="orderId" width="160"/>
|
||||
<el-table-column label="产品号" align="center" prop="power" width="160"/>
|
||||
<el-table-column label="代号" align="center" prop="distribution" width="160"/>
|
||||
<el-table-column label="台次" align="center" prop="spare5"/>
|
||||
<el-table-column label="物料编码" align="center" prop="productId"/>
|
||||
<el-table-column label="物料名称" align="center" prop="productName" width="160" />
|
||||
<!-- <el-table-column label="规格" align="center" prop="spec" width="160"/>-->
|
||||
<el-table-column label="库存状态" align="center" prop="stockStatus" >
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.stock_status" :value="scope.row.stockStatus"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="单重" align="center" prop="netWeight"/>
|
||||
<el-table-column label="路线" align="center" prop="grossWeight" width="160" show-overflow-tooltip />
|
||||
<el-table-column label="物料名称" align="center" prop="productName" width="160" show-overflow-tooltip />
|
||||
<el-table-column label="数量" align="center" prop="quantity"/>
|
||||
<!-- <el-table-column label="重量" align="center" prop="netWeight" width="160"/>-->
|
||||
<!-- <el-table-column label="入库单号" align="center" prop="stockinId" width="160"/>-->
|
||||
<el-table-column label="首次入库时间" align="center" prop="inDate" width="160"/>
|
||||
<el-table-column label="最后出库时间" align="center" prop="stackingId" width="160"/>
|
||||
<!-- <el-table-column label="盘点标识" align="center" prop="spare7">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.check_flag" :value="scope.row.spare7"/>
|
||||
</template>
|
||||
</el-table-column>-->
|
||||
<!-- <el-table-column label="盘点时间" align="center" prop="backDate" width="160"/>-->
|
||||
<el-table-column label="备注" align="center" prop="remark"/>
|
||||
<el-table-column width=120 label="操作" align="center" class-name="small-padding fixed-width"> <!-- 操作 -->
|
||||
<!-- <el-table-column width=120 label="操作" align="center" class-name="small-padding fixed-width"> <!– 操作 –>
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
size="mini"
|
||||
@@ -230,16 +214,16 @@
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['stock:management:edit']"
|
||||
>修改 <!-- 修改 --></el-button>
|
||||
>修改 <!– 修改 –></el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
type="text"
|
||||
icon="el-icon-delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['stock:management:remove']"
|
||||
>删除 <!-- 删除 --></el-button>
|
||||
>删除 <!– 删除 –></el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>-->
|
||||
</el-table>
|
||||
|
||||
<pagination
|
||||
|
||||
Reference in New Issue
Block a user