领料和综合查询都添加实施单位,合同主体单位字段

This commit is contained in:
zzyuan 2025-01-08 10:00:56 +08:00
parent 02be6c3969
commit ee1454ef55
10 changed files with 77 additions and 29 deletions

View File

@ -263,7 +263,7 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="danger" <el-button size="mini" type="danger"
@click="handleDelete({ ...scope.row, index: scope.$index })">删除</el-button> @click="handleDelete(scope.row,scope.$index)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -772,19 +772,18 @@ export default {
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row,index) { handleDelete(row,index) {
this.$modal this.$modal.confirm('是否确认删除所选择的数据项?').then(() => {
.confirm('是否确认删除所选择的数据项?') this.deviceType.forEach((e, i) => {
.then(() => {
this.deviceType.forEach((e, index) => {
if (e[3] === row.typeId) { if (e[3] === row.typeId) {
this.deviceType.splice(index, 1) this.deviceType.splice(i, 1)
this.propsKey++ this.propsKey++
} }
}) })
this.equipmentList.splice(index+1, 1) console.log(index)
// let index = this.equipmentList.findIndex(item=>item.typeId==row.typeId)
this.equipmentList.splice(index, 1)
}).catch(() => {})
})
.catch(() => {})
// this.equipmentList.splice(row.index, 1) // this.equipmentList.splice(row.index, 1)
}, },

View File

@ -10,6 +10,9 @@
> >
<div id="printcontent" style="height: 600px;overflow-y: scroll;padding: 0 20px;"> <div id="printcontent" style="height: 600px;overflow-y: scroll;padding: 0 20px;">
<vue-easy-print tableShow ref="printRef"> <vue-easy-print tableShow ref="printRef">
<div style="text-align: center;font-weight: 600;font-size: 16px;">
机具设备退料单
</div>
<div class="order_box"> <div class="order_box">
<div class="order_box_one"> <div class="order_box_one">
<div> <div>

View File

@ -114,7 +114,7 @@
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="typeList" :data="typeList" border
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<!-- <el-table-column type="selection" width="55" align="center" /> --> <!-- <el-table-column type="selection" width="55" align="center" /> -->

View File

@ -132,6 +132,20 @@
prop="createBy" prop="createBy"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column
label="实施单位"
align="center"
prop="impUnitName"
width="150px"
:show-overflow-tooltip="true"
/>
<el-table-column
label="合同主体单位"
align="center"
prop="contractPart"
width="150px"
:show-overflow-tooltip="true"
/>
<el-table-column <el-table-column
label="租赁单位" label="租赁单位"
align="center" align="center"
@ -146,13 +160,13 @@
width="150px" width="150px"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <!-- <el-table-column
label="领料物资类型" label="领料物资类型"
align="center" align="center"
prop="maTypeNames" prop="maTypeNames"
width="110px" width="110px"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> /> -->
<el-table-column <el-table-column
label="协议号" label="协议号"
align="center" align="center"
@ -176,13 +190,13 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <!-- <el-table-column
label="领料人电话" label="领料人电话"
align="center" align="center"
prop="phone" prop="phone"
width="120px" width="120px"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> /> -->
<el-table-column <el-table-column
label="状态" label="状态"
align="center" align="center"
@ -204,7 +218,7 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column label="操作" align="center" width="300"> <el-table-column label="操作" align="center" width="300" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"

View File

@ -93,6 +93,20 @@
prop="createBy" prop="createBy"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column
label="实施单位"
align="center"
prop="impUnitName"
width="150px"
:show-overflow-tooltip="true"
/>
<el-table-column
label="合同主体单位"
align="center"
prop="contractPart"
width="150px"
:show-overflow-tooltip="true"
/>
<el-table-column <el-table-column
label="租赁单位" label="租赁单位"
align="center" align="center"
@ -105,13 +119,13 @@
prop="leaseProject" prop="leaseProject"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <!-- <el-table-column
label="领料物资类型" label="领料物资类型"
align="center" align="center"
prop="leaseType" prop="leaseType"
width="110px" width="110px"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> /> -->
<el-table-column <el-table-column
label="协议号" label="协议号"
align="center" align="center"
@ -134,13 +148,13 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <!-- <el-table-column
label="领料人电话" label="领料人电话"
align="center" align="center"
prop="phone" prop="phone"
width="120px" width="120px"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> /> -->
<el-table-column <el-table-column
label="操作时间" label="操作时间"

View File

@ -83,6 +83,20 @@
prop="createBy" prop="createBy"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column
label="实施单位"
align="center"
prop="impUnitName"
width="150px"
:show-overflow-tooltip="true"
/>
<el-table-column
label="合同主体单位"
align="center"
prop="contractPart"
width="150px"
:show-overflow-tooltip="true"
/>
<el-table-column <el-table-column
label="租赁单位" label="租赁单位"
align="center" align="center"
@ -97,13 +111,13 @@
width="150px" width="150px"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <!-- <el-table-column
label="领料物资类型" label="领料物资类型"
align="center" align="center"
prop="maTypeNames" prop="maTypeNames"
width="110px" width="110px"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> /> -->
<el-table-column <el-table-column
label="协议号" label="协议号"
align="center" align="center"
@ -145,18 +159,18 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column <!-- <el-table-column
label="领料人电话" label="领料人电话"
align="center" align="center"
prop="phone" prop="phone"
width="120px" width="120px"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> /> -->
<el-table-column <el-table-column
label="状态" label="状态"
align="center" align="center"
prop="taskStatus" prop="taskStatus" width="120px"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
<template slot-scope="scope"> <template slot-scope="scope">
@ -174,7 +188,7 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column label="操作" align="center" width="270"> <el-table-column label="操作" align="center" width="270" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"

View File

@ -72,7 +72,7 @@
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row> </el-row>
<el-table v-loading="loading" :data="tableList" @selection-change="handleSelectionChange" > <el-table v-loading="loading" :data="tableList" border @selection-change="handleSelectionChange" >
<el-table-column type="selection" width="55" align="center" :selectable="selectable"/> <el-table-column type="selection" width="55" align="center" :selectable="selectable"/>
<el-table-column label="序号" align="center" width="80" type="index"> <el-table-column label="序号" align="center" width="80" type="index">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -84,7 +84,7 @@
></right-toolbar> ></right-toolbar>
</el-row> </el-row>
<el-table v-loading="loading" :data="testedList" ref="multipleTable" row-key="taskId" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="testedList" border ref="multipleTable" row-key="taskId" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" :selectable="selectable"/> <el-table-column type="selection" width="55" align="center" :selectable="selectable"/>
<el-table-column label="序号" align="center" width="80" type="index"> <el-table-column label="序号" align="center" width="80" type="index">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@ -124,6 +124,8 @@
<el-table-column label="工程名称" align="center" prop="proName" :show-overflow-tooltip="true"/> <el-table-column label="工程名称" align="center" prop="proName" :show-overflow-tooltip="true"/>
<el-table-column label="往来单位" align="center" prop="unitName" :show-overflow-tooltip="true"/> <el-table-column label="往来单位" align="center" prop="unitName" :show-overflow-tooltip="true"/>
<el-table-column label="协议号" align="center" prop="agreementCode" :show-overflow-tooltip="true"/> <el-table-column label="协议号" align="center" prop="agreementCode" :show-overflow-tooltip="true"/>
<el-table-column label="实施单位" align="center" prop="impUnitName" width="150px" :show-overflow-tooltip="true"/>
<el-table-column label="合同主体单位" align="center" prop="contractPart" width="150px" :show-overflow-tooltip="true"/>
<el-table-column label="物资名称" align="center" prop="typeName" :show-overflow-tooltip="true"/> <el-table-column label="物资名称" align="center" prop="typeName" :show-overflow-tooltip="true"/>
<el-table-column label="规格型号" align="center" prop="typeModelName" :show-overflow-tooltip="true"/> <el-table-column label="规格型号" align="center" prop="typeModelName" :show-overflow-tooltip="true"/>
<el-table-column label="设备编码" align="center" prop="maCode" :show-overflow-tooltip="true"/> <el-table-column label="设备编码" align="center" prop="maCode" :show-overflow-tooltip="true"/>

View File

@ -118,6 +118,8 @@
<el-table-column label="协议号" align="center" prop="agreementCode" :show-overflow-tooltip="true"/> <el-table-column label="协议号" align="center" prop="agreementCode" :show-overflow-tooltip="true"/>
<el-table-column label="工程名称" align="center" prop="proName" :show-overflow-tooltip="true"/> <el-table-column label="工程名称" align="center" prop="proName" :show-overflow-tooltip="true"/>
<el-table-column label="往来单位" align="center" prop="unitName" :show-overflow-tooltip="true"/> <el-table-column label="往来单位" align="center" prop="unitName" :show-overflow-tooltip="true"/>
<el-table-column label="实施单位" align="center" prop="impUnitName" width="150px" :show-overflow-tooltip="true"/>
<el-table-column label="合同主体单位" align="center" prop="contractPart" width="150px" :show-overflow-tooltip="true"/>
<el-table-column label="物资名称" align="center" prop="typeName" :show-overflow-tooltip="true"/> <el-table-column label="物资名称" align="center" prop="typeName" :show-overflow-tooltip="true"/>
<el-table-column label="规格型号" align="center" prop="typeModelName" :show-overflow-tooltip="true"/> <el-table-column label="规格型号" align="center" prop="typeModelName" :show-overflow-tooltip="true"/>
<el-table-column label="计量单位" align="center" prop="unit" :show-overflow-tooltip="true"/> <el-table-column label="计量单位" align="center" prop="unit" :show-overflow-tooltip="true"/>