修改页面显示问题

prod
郑明梁 2 years ago
parent 4325db37d2
commit 6aa49c0312

@ -85,7 +85,7 @@
</el-card>
<el-card class="el-card">
<el-table v-loading="loading" :data="detailList" style="width: 100%">
<el-table v-loading="loading" :data="detailList" style="width: 100%" border highlight-current-row>
<el-table-column label="序号" type="index" width="120"></el-table-column>
<!-- <el-table-column label="产品编码" prop="productId"></el-table-column> -->
<el-table-column label="产品通用名" prop="productName" show-overflow-tooltip="true"></el-table-column>

@ -269,16 +269,6 @@ export default {
if (this.$isBlank(this.currentRow.id)) {
this.$message.error("未选择申购单!");
}
if (this.ids.length > 0) {
for (var i = 0; i < this.ids.length; i++) {
for (let j = 0; j < this.detailList.length; j++) {
if (this.ids[i] == this.detailList[j].productId) {
this.$message.error("该申购单已有产品被选入!");
return;
}
}
}
}
var data = {
id: this.pId,

@ -45,7 +45,7 @@
<span>{{ parseTime(scope.row.billDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="采购员" prop="createByName"></el-table-column>
<el-table-column label="采购员" prop="createUser"></el-table-column>
<el-table-column label="采购部门" prop="deptName"></el-table-column>
<el-table-column label="采购仓库" prop="invName"></el-table-column>
<el-table-column label="采购说明" prop="remark"></el-table-column>

@ -44,10 +44,10 @@
<span>{{ parseTime(scope.row.billDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="创建人" prop="createByName"></el-table-column>
<el-table-column label="审核人" prop="auditByName"></el-table-column>
<el-table-column label="创建人" prop="createUserName"></el-table-column>
<el-table-column label="审核人" prop="auditUserName"></el-table-column>
<el-table-column label="采购部门" prop="deptName"></el-table-column>
<el-table-column label="采购仓库" prop="invName"></el-table-column>
<el-table-column label="采购分库" prop="subInvName"></el-table-column>
<el-table-column label="采购说明" prop="remark"></el-table-column>
<el-table-column label="状态" prop="status">
<template slot-scope="scope">

Loading…
Cancel
Save