前端流程问题修改
This commit is contained in:
parent
579c0bf5b1
commit
dbe3c870af
|
|
@ -94,8 +94,21 @@
|
||||||
<el-table-column label="申请人" align="center" prop="applyFor" :show-overflow-tooltip="true" />
|
<el-table-column label="申请人" align="center" prop="applyFor" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="申请时间" align="center" prop="createTimes" :show-overflow-tooltip="true" />
|
<el-table-column label="申请时间" align="center" prop="createTimes" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="任务状态" align="center" prop="taskName" :show-overflow-tooltip="true" />
|
<el-table-column label="任务状态" align="center" prop="taskName" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="审批结果 " align="center" prop="examineStatus" :show-overflow-tooltip="true" />
|
<el-table-column label="审批意见 " align="center" :show-overflow-tooltip="true">
|
||||||
<el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true" />
|
<template slot-scope="scope">
|
||||||
|
<span v-if="scope.row.taskStatus==30"></span>
|
||||||
|
<span v-if="scope.row.taskStatus==31||scope.row.taskStatus==98">{{ scope.row.leaseApplyInfoList[0].companyAuditRemark }} </span>
|
||||||
|
<span v-if="scope.row.taskStatus==32||scope.row.taskStatus==99">{{ scope.row.leaseApplyInfoList[0].deptAuditRemark }} </span>
|
||||||
|
<span v-if="scope.row.taskStatus==33||scope.row.taskStatus==100">{{ scope.row.leaseApplyInfoList[0].directAuditRemark }} </span>
|
||||||
|
<span v-else>{{ scope.row.leaseApplyInfoList[0].directAuditRemark }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="备注" align="center" :show-overflow-tooltip="true">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.leaseApplyInfoList[0].remark }}</span>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="250" fixed="right">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="250" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -409,9 +422,9 @@ export default {
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
// this.download('system/dict/type/export', {
|
this.download('base/tm_task/applyExport', {
|
||||||
// ...this.queryParams
|
...this.queryParams
|
||||||
// }, `type_${new Date().getTime()}.xlsx`)
|
}, `领料申请单_${new Date().getTime()}.xlsx`)
|
||||||
},
|
},
|
||||||
/** 刷新缓存按钮操作 */
|
/** 刷新缓存按钮操作 */
|
||||||
handleRefreshCache() {
|
handleRefreshCache() {
|
||||||
|
|
|
||||||
|
|
@ -407,7 +407,7 @@ export default {
|
||||||
this.queryParams.examineStatusId = '32'
|
this.queryParams.examineStatusId = '32'
|
||||||
}
|
}
|
||||||
this.queryParams.unitId = data.unitId
|
this.queryParams.unitId = data.unitId
|
||||||
this.queryParams.proId = data.projectId
|
this.queryParams.proId = data.proId
|
||||||
this.queryParams.leaseApplyInfo.phone = data.leaseApplyInfoList[0].phone
|
this.queryParams.leaseApplyInfo.phone = data.leaseApplyInfoList[0].phone
|
||||||
this.queryParams.leaseApplyInfo.leasePerson = data.leaseApplyInfoList[0].leasePerson
|
this.queryParams.leaseApplyInfo.leasePerson = data.leaseApplyInfoList[0].leasePerson
|
||||||
this.queryParams.agreementCode = data.agreementCode
|
this.queryParams.agreementCode = data.agreementCode
|
||||||
|
|
|
||||||
|
|
@ -111,16 +111,16 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 同意 -->
|
<!-- 同意 -->
|
||||||
<el-dialog title="审核意见" :visible.sync="examineVisible">
|
<el-dialog title="审核意见" :visible.sync="examineVisible" width="600px">
|
||||||
<el-input placeholder="请输入审核意见" v-model="queryParams.companyAuditRemarks "></el-input>
|
<el-input placeholder="请输入审核意见" type="textarea" :autosize="{ minRows: 4, maxRows: 6}" v-model="queryParams.companyAuditRemarks"></el-input>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="handelExamine(false)">取 消</el-button>
|
<el-button @click="handelExamine(false)">取 消</el-button>
|
||||||
<el-button type="primary" @click="handelExamine(true)">确 定</el-button>
|
<el-button type="primary" @click="handelExamine(true)">确 定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- 驳回 -->
|
<!-- 驳回 -->
|
||||||
<el-dialog title="审核意见" :visible.sync="refuseVisible">
|
<el-dialog title="审核意见" :visible.sync="refuseVisible" width="600px">
|
||||||
<el-input placeholder="请输入审核意见" v-model="queryParams.companyAuditRemarks "></el-input>
|
<el-input placeholder="请输入审核意见" type="textarea" :autosize="{ minRows: 4, maxRows: 6}" v-model="queryParams.companyAuditRemarks"></el-input>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer">
|
||||||
<el-button @click="handelRefuse(false)">取 消</el-button>
|
<el-button @click="handelRefuse(false)">取 消</el-button>
|
||||||
<el-button type="primary" @click="handelRefuse(true)">确 定</el-button>
|
<el-button type="primary" @click="handelRefuse(true)">确 定</el-button>
|
||||||
|
|
@ -236,6 +236,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
agree(){
|
agree(){
|
||||||
this.examineVisible = true
|
this.examineVisible = true
|
||||||
|
this.queryParams.companyAuditRemarks = '同意'
|
||||||
},
|
},
|
||||||
handelExamine(type){
|
handelExamine(type){
|
||||||
if(type){
|
if(type){
|
||||||
|
|
@ -268,6 +269,7 @@ export default {
|
||||||
//审核 驳回
|
//审核 驳回
|
||||||
refuse(){
|
refuse(){
|
||||||
this.refuseVisible = true
|
this.refuseVisible = true
|
||||||
|
this.queryParams.companyAuditRemarks = '驳回'
|
||||||
},
|
},
|
||||||
handelRefuse(type){
|
handelRefuse(type){
|
||||||
if (this.queryParams.companyAuditRemarks=='') {
|
if (this.queryParams.companyAuditRemarks=='') {
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,7 @@
|
||||||
<span>时间:</span>{{ leaseApplyData.updateTimes }}
|
<span>时间:</span>{{ leaseApplyData.updateTimes }}
|
||||||
</div>
|
</div>
|
||||||
<div class="item" style="width: 50%;flex-shrink: 0;margin-bottom: 5px;font-size: 14px;">
|
<div class="item" style="width: 50%;flex-shrink: 0;margin-bottom: 5px;font-size: 14px;">
|
||||||
<span>编号:</span>{{ leaseApplyData.agreementCode }}
|
<span>编号:</span>{{ leaseApplyData.code }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-table :data="leaseApplyDetails" class="table" style="margin-top: 20px">
|
<el-table :data="leaseApplyDetails" class="table" style="margin-top: 20px">
|
||||||
|
|
@ -451,9 +451,9 @@ export default {
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
// this.download('system/dict/type/export', {
|
this.download('base/tm_task/applyExport', {
|
||||||
// ...this.queryParams
|
...this.queryParams
|
||||||
// }, `type_${new Date().getTime()}.xlsx`)
|
}, `领料审批单_${new Date().getTime()}.xlsx`)
|
||||||
},
|
},
|
||||||
/** 刷新缓存按钮操作 */
|
/** 刷新缓存按钮操作 */
|
||||||
handleRefreshCache() {
|
handleRefreshCache() {
|
||||||
|
|
|
||||||
|
|
@ -429,16 +429,18 @@
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="退料数量"
|
label="退料数量"
|
||||||
align="center"
|
align="center"
|
||||||
|
prop="num"
|
||||||
class-name="small-padding fixed-width"
|
class-name="small-padding fixed-width"
|
||||||
width="200"
|
width="200"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="scope.row.num"
|
v-model="scope.row.num"
|
||||||
|
:disabled="true"
|
||||||
placeholder="请输入退料数量"
|
placeholder="请输入退料数量"
|
||||||
clearable
|
clearable
|
||||||
/>
|
/>
|
||||||
</template>
|
</template> -->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -126,8 +126,7 @@
|
||||||
plain
|
plain
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="!checkResultOne"
|
:disabled="multiple"
|
||||||
v-hasPermi="['store:labelType:add']"
|
|
||||||
@click="checkClick"
|
@click="checkClick"
|
||||||
>批量审核</el-button
|
>批量审核</el-button
|
||||||
>
|
>
|
||||||
|
|
@ -153,7 +152,7 @@
|
||||||
:data="typeList"
|
:data="typeList"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" :selectable="selectable"/>
|
||||||
<el-table-column label="序号" sortable align="center" type="index" />
|
<el-table-column label="序号" sortable align="center" type="index" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="报废审核单号"
|
label="报废审核单号"
|
||||||
|
|
@ -231,7 +230,6 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-zoom-in"
|
icon="el-icon-zoom-in"
|
||||||
@click="handleSee(scope.row, 'see')"
|
@click="handleSee(scope.row, 'see')"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>查看</el-button
|
>查看</el-button
|
||||||
>
|
>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
|
@ -241,7 +239,6 @@
|
||||||
icon="el-icon-circle-check"
|
icon="el-icon-circle-check"
|
||||||
:disabled="scope.row.taskStatus !== 58"
|
:disabled="scope.row.taskStatus !== 58"
|
||||||
@click="handleUpdate(scope.row, 'update')"
|
@click="handleUpdate(scope.row, 'update')"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>审核</el-button
|
>审核</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -674,6 +671,13 @@ export default {
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "新建";
|
this.title = "新建";
|
||||||
},
|
},
|
||||||
|
selectable(row){
|
||||||
|
if(row.taskStatus==58){
|
||||||
|
return true
|
||||||
|
}else{
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
},
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
this.selectionList = selection
|
this.selectionList = selection
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
plain
|
plain
|
||||||
size="mini"
|
size="mini"
|
||||||
v-hasPermi="['store:labelType:add']"
|
|
||||||
@click="complete(1)"
|
@click="complete(1)"
|
||||||
>提交审核</el-button
|
>提交审核</el-button
|
||||||
>
|
>
|
||||||
|
|
@ -223,7 +223,6 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-zoom-in"
|
icon="el-icon-zoom-in"
|
||||||
@click="handleSee(scope.row, 'see')"
|
@click="handleSee(scope.row, 'see')"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>查看</el-button
|
>查看</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -232,7 +231,6 @@
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
:disabled="scope.row.repairStatusCode !== '43'"
|
:disabled="scope.row.repairStatusCode !== '43'"
|
||||||
@click="handleUpdate(scope.row, 'update')"
|
@click="handleUpdate(scope.row, 'update')"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>维修</el-button
|
>维修</el-button
|
||||||
>
|
>
|
||||||
<!-- <el-button
|
<!-- <el-button
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,7 @@
|
||||||
plain
|
plain
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="!checkResultOne && multiple"
|
:disabled="multiple"
|
||||||
@click="checkClick"
|
@click="checkClick"
|
||||||
>批量审核</el-button
|
>批量审核</el-button
|
||||||
>
|
>
|
||||||
|
|
@ -152,7 +152,7 @@
|
||||||
:data="typeList"
|
:data="typeList"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" :selectable="selectable"/>
|
||||||
<el-table-column label="序号" sortable align="center" type="index" />
|
<el-table-column label="序号" sortable align="center" type="index" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="修试审核单号"
|
label="修试审核单号"
|
||||||
|
|
@ -230,7 +230,6 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-zoom-in"
|
icon="el-icon-zoom-in"
|
||||||
@click="handleSee(scope.row, 'see')"
|
@click="handleSee(scope.row, 'see')"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>查看</el-button
|
>查看</el-button
|
||||||
>
|
>
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
|
@ -240,7 +239,6 @@
|
||||||
icon="el-icon-circle-check"
|
icon="el-icon-circle-check"
|
||||||
:disabled="scope.row.taskStatus !== 46"
|
:disabled="scope.row.taskStatus !== 46"
|
||||||
@click="handleUpdate(scope.row, 'update')"
|
@click="handleUpdate(scope.row, 'update')"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>审核</el-button
|
>审核</el-button
|
||||||
>
|
>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -672,6 +670,13 @@ export default {
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "新建";
|
this.title = "新建";
|
||||||
},
|
},
|
||||||
|
selectable(row){
|
||||||
|
if(row.taskStatus==46){
|
||||||
|
return true
|
||||||
|
}else{
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
},
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
this.selectionList = selection
|
this.selectionList = selection
|
||||||
|
|
@ -679,8 +684,8 @@ export default {
|
||||||
this.ids = selection.map(item => item.dictId)
|
this.ids = selection.map(item => item.dictId)
|
||||||
this.single = selection.length != 1
|
this.single = selection.length != 1
|
||||||
this.multiple = !selection.length
|
this.multiple = !selection.length
|
||||||
console.log(this.single)
|
// console.log(this.checkResultOne)
|
||||||
console.log(this.multiple)
|
console.log(this.checkResultOne)
|
||||||
},
|
},
|
||||||
handleSee(row, type) {
|
handleSee(row, type) {
|
||||||
this.dialogTitle = '查看'
|
this.dialogTitle = '查看'
|
||||||
|
|
|
||||||
|
|
@ -91,7 +91,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['system:role:add']"
|
|
||||||
>新建</el-button>
|
>新建</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
@ -102,7 +101,6 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="single"
|
:disabled="single"
|
||||||
@click="handleUpdate"
|
@click="handleUpdate"
|
||||||
v-hasPermi="['system:role:edit']"
|
|
||||||
>采购验收管理</el-button>
|
>采购验收管理</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
@ -113,7 +111,6 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
@click="handleDelete"
|
@click="handleDelete"
|
||||||
v-hasPermi="['system:role:remove']"
|
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
@ -123,7 +120,6 @@
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
v-hasPermi="['system:role:export']"
|
|
||||||
>导出</el-button>
|
>导出</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
|
|
@ -146,14 +142,12 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['system:role:edit']"
|
|
||||||
>验收</el-button>
|
>验收</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:role:remove']"
|
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
<!-- <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']">-->
|
<!-- <el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']">-->
|
||||||
<!-- <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>-->
|
<!-- <el-button size="mini" type="text" icon="el-icon-d-arrow-right">更多</el-button>-->
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAccept"
|
@click="handleAccept"
|
||||||
v-hasPermi="['store:labelType:add']"
|
|
||||||
>新增</el-button>
|
>新增</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
@ -35,7 +34,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['store:labelType:add']"
|
|
||||||
>发布入库</el-button>
|
>发布入库</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
@ -45,7 +43,6 @@
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
v-hasPermi="['store:labelType:export']"
|
|
||||||
>导出</el-button>
|
>导出</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
|
|
@ -75,7 +72,6 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleView(scope.row)"
|
@click="handleView(scope.row)"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>查看</el-button>
|
>查看</el-button>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
|
|
@ -83,21 +79,18 @@
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>编辑</el-button>
|
>编辑</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleBuy(scope.row)"
|
@click="handleBuy(scope.row)"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>采购单</el-button>
|
>采购单</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['store:labelType:remove']"
|
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
||||||
|
|
@ -185,7 +185,6 @@
|
||||||
type="danger"
|
type="danger"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:role:remove']"
|
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['store:labelType:add']"
|
|
||||||
>新增</el-button>
|
>新增</el-button>
|
||||||
</el-col> -->
|
</el-col> -->
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
|
||||||
|
|
@ -255,7 +255,7 @@
|
||||||
<!-- </el-col>-->
|
<!-- </el-col>-->
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-table v-loading="loading" :data="detailTableList" @selection-change="handleSelectionChange" height="400">
|
<el-table v-loading="loading" :data="detailTableList" @selection-change="handleSelectionChange" height="400">
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" :selectable="selectable"/>
|
||||||
<el-table-column label="序号" align="center" type="index" />
|
<el-table-column label="序号" align="center" type="index" />
|
||||||
<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="specificationType" :show-overflow-tooltip="true" />
|
<el-table-column label="规格型号" align="center" prop="specificationType" :show-overflow-tooltip="true" />
|
||||||
|
|
@ -490,7 +490,15 @@ export default {
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
},
|
},
|
||||||
|
//是否可用勾选框
|
||||||
|
selectable(row){
|
||||||
|
console.log(row)
|
||||||
|
if(row.status=='0'){
|
||||||
|
return true
|
||||||
|
}else{
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
},
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
this.ids = selection.map(item => item)
|
this.ids = selection.map(item => item)
|
||||||
|
|
@ -529,6 +537,7 @@ export default {
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
this.$modal.msgSuccess("审批成功");
|
this.$modal.msgSuccess("审批成功");
|
||||||
this.getDialogTable();
|
this.getDialogTable();
|
||||||
|
this.getList()
|
||||||
}else{
|
}else{
|
||||||
this.$modal.msgSuccess("审批失败");
|
this.$modal.msgSuccess("审批失败");
|
||||||
}
|
}
|
||||||
|
|
@ -553,6 +562,7 @@ export default {
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
this.$modal.msgSuccess("审批成功");
|
this.$modal.msgSuccess("审批成功");
|
||||||
this.getDialogTable();
|
this.getDialogTable();
|
||||||
|
this.getList()
|
||||||
}else{
|
}else{
|
||||||
this.$modal.msgSuccess("审批失败");
|
this.$modal.msgSuccess("审批失败");
|
||||||
}
|
}
|
||||||
|
|
@ -580,6 +590,7 @@ export default {
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
this.$modal.msgSuccess("审批成功");
|
this.$modal.msgSuccess("审批成功");
|
||||||
this.getDialogTable();
|
this.getDialogTable();
|
||||||
|
this.getList()
|
||||||
}else{
|
}else{
|
||||||
this.$modal.msgSuccess("审批失败");
|
this.$modal.msgSuccess("审批失败");
|
||||||
}
|
}
|
||||||
|
|
@ -605,6 +616,7 @@ export default {
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
this.$modal.msgSuccess("审批成功");
|
this.$modal.msgSuccess("审批成功");
|
||||||
this.getDialogTable();
|
this.getDialogTable();
|
||||||
|
this.getList()
|
||||||
}else{
|
}else{
|
||||||
this.$modal.msgSuccess("审批失败");
|
this.$modal.msgSuccess("审批失败");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['system:dept:add']"
|
|
||||||
>新增</el-button>
|
>新增</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
@ -63,7 +62,6 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['system:dept:edit']"
|
|
||||||
>编辑</el-button>
|
>编辑</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.parentId != 0"
|
v-if="scope.row.parentId != 0"
|
||||||
|
|
@ -71,7 +69,6 @@
|
||||||
type="danger"
|
type="danger"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:dept:remove']"
|
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
<el-row :gutter="10" class="mb8">
|
<el-row :gutter="10" class="mb8">
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
|
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd"
|
||||||
v-hasPermi="['system:dept:add']">新增</el-button>
|
>新增</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button type="info" plain icon="el-icon-sort" size="mini" @click="toggleExpandAll">展开/折叠</el-button>
|
<el-button type="info" plain icon="el-icon-sort" size="mini" @click="toggleExpandAll">展开/折叠</el-button>
|
||||||
|
|
@ -41,7 +41,7 @@
|
||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160px">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="160px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button size="mini" type="primary" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
<el-button size="mini" type="primary" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['system:dept:edit']">修改</el-button>
|
>修改</el-button>
|
||||||
<!-- <el-button-->
|
<!-- <el-button-->
|
||||||
<!-- size="mini"-->
|
<!-- size="mini"-->
|
||||||
<!-- type="text"-->
|
<!-- type="text"-->
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
<!-- v-hasPermi="['system:dept:add']"-->
|
<!-- v-hasPermi="['system:dept:add']"-->
|
||||||
<!-- >新增</el-button>-->
|
<!-- >新增</el-button>-->
|
||||||
<el-button v-if="scope.row.parentId != 0" size="mini" type="danger" icon="el-icon-delete"
|
<el-button v-if="scope.row.parentId != 0" size="mini" type="danger" icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)" v-hasPermi="['system:dept:remove']">删除</el-button>
|
@click="handleDelete(scope.row)" >删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleSave"
|
@click="handleSave"
|
||||||
v-hasPermi="['system:user:add']"
|
|
||||||
>保存</el-button>
|
>保存</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="1.5">-->
|
<!-- <el-col :span="1.5">-->
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleSave"
|
@click="handleSave"
|
||||||
v-hasPermi="['system:user:add']"
|
|
||||||
>保存</el-button>
|
>保存</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="1.5">-->
|
<!-- <el-col :span="1.5">-->
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['store:labelType:add']"
|
|
||||||
>新增</el-button>
|
>新增</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="1.5">-->
|
<!-- <el-col :span="1.5">-->
|
||||||
|
|
@ -57,7 +56,6 @@
|
||||||
icon="el-icon-download"
|
icon="el-icon-download"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
v-hasPermi="['store:labelType:export']"
|
|
||||||
>导出</el-button>
|
>导出</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
@ -67,7 +65,6 @@
|
||||||
icon="el-icon-refresh"
|
icon="el-icon-refresh"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleRefreshCache"
|
@click="handleRefreshCache"
|
||||||
v-hasPermi="['store:labelType:remove']"
|
|
||||||
>刷新缓存</el-button>
|
>刷新缓存</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
||||||
|
|
@ -95,14 +92,12 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>编辑</el-button>
|
>编辑</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="danger"
|
type="danger"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['store:labelType:remove']"
|
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['store:labelType:add']"
|
|
||||||
>新增</el-button>
|
>新增</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="1.5">-->
|
<!-- <el-col :span="1.5">-->
|
||||||
|
|
@ -102,14 +101,12 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['store:labelType:edit']"
|
|
||||||
>编辑</el-button>
|
>编辑</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="danger"
|
type="danger"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['store:labelType:remove']"
|
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,6 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="single"
|
:disabled="single"
|
||||||
@click="handleAdd"
|
@click="handleAdd"
|
||||||
v-hasPermi="['system:dict:add']"
|
|
||||||
>入库审核</el-button>
|
>入库审核</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="1.5">-->
|
<!-- <el-col :span="1.5">-->
|
||||||
|
|
@ -140,7 +139,6 @@
|
||||||
type="primary"
|
type="primary"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="handleUpdate(scope.row)"
|
@click="handleUpdate(scope.row)"
|
||||||
v-hasPermi="['system:dict:edit']"
|
|
||||||
>审核</el-button>
|
>审核</el-button>
|
||||||
<!-- <el-button-->
|
<!-- <el-button-->
|
||||||
<!-- size="mini"-->
|
<!-- size="mini"-->
|
||||||
|
|
@ -234,7 +232,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
v-hasPermi="['system:dict:add']"
|
|
||||||
>批量通过</el-button>
|
>批量通过</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
@ -244,7 +241,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
v-hasPermi="['system:dict:add']"
|
|
||||||
>批量不通过</el-button>
|
>批量不通过</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="1.5">-->
|
<!-- <el-col :span="1.5">-->
|
||||||
|
|
@ -279,14 +275,12 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
v-hasPermi="['system:dict:edit']"
|
|
||||||
>通过</el-button>
|
>通过</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:dict:remove']"
|
|
||||||
>不通过</el-button>
|
>不通过</el-button>
|
||||||
<!-- <el-button-->
|
<!-- <el-button-->
|
||||||
<!-- size="mini"-->
|
<!-- size="mini"-->
|
||||||
|
|
|
||||||
|
|
@ -112,9 +112,8 @@
|
||||||
<el-table-column label="退料机具类型" align="center" prop="kindName" :show-overflow-tooltip="true"></el-table-column>
|
<el-table-column label="退料机具类型" align="center" prop="kindName" :show-overflow-tooltip="true"></el-table-column>
|
||||||
<el-table-column label="退料设备类型" align="center" prop="typeName" :show-overflow-tooltip="true"></el-table-column>
|
<el-table-column label="退料设备类型" align="center" prop="typeName" :show-overflow-tooltip="true"></el-table-column>
|
||||||
<el-table-column label="退料规格型号" align="center" prop="modelName" :show-overflow-tooltip="true"></el-table-column>
|
<el-table-column label="退料规格型号" align="center" prop="modelName" :show-overflow-tooltip="true"></el-table-column>
|
||||||
<el-table-column label="退料时间" align="center" prop="returnTime" width="180">
|
<el-table-column label="退料数量" align="center" prop="inputNum" :show-overflow-tooltip="true"></el-table-column>
|
||||||
|
<el-table-column label="退料时间" align="center" prop="returnTime" width="180"></el-table-column>
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="提交入库人员" align="center" prop="submitToStoragePersonnel" :show-overflow-tooltip="true" />
|
<el-table-column label="提交入库人员" align="center" prop="submitToStoragePersonnel" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="提交入库时间" align="center" prop="submitStorageTime" width="180">
|
<el-table-column label="提交入库时间" align="center" prop="submitStorageTime" width="180">
|
||||||
<!-- <template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
|
|
@ -222,7 +221,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
v-hasPermi="['system:dict:add']"
|
|
||||||
>批量通过</el-button>
|
>批量通过</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
|
|
@ -232,7 +230,6 @@
|
||||||
icon="el-icon-plus"
|
icon="el-icon-plus"
|
||||||
size="mini"
|
size="mini"
|
||||||
:disabled="multiple"
|
:disabled="multiple"
|
||||||
v-hasPermi="['system:dict:add']"
|
|
||||||
>批量不通过</el-button>
|
>批量不通过</el-button>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="1.5">-->
|
<!-- <el-col :span="1.5">-->
|
||||||
|
|
@ -267,14 +264,12 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
v-hasPermi="['system:dict:edit']"
|
|
||||||
>通过</el-button>
|
>通过</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:dict:remove']"
|
|
||||||
>不通过</el-button>
|
>不通过</el-button>
|
||||||
<!-- <el-button-->
|
<!-- <el-button-->
|
||||||
<!-- size="mini"-->
|
<!-- size="mini"-->
|
||||||
|
|
|
||||||
|
|
@ -487,6 +487,7 @@ export default {
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
this.$modal.msgSuccess("审批成功");
|
this.$modal.msgSuccess("审批成功");
|
||||||
this.getDialogTable();
|
this.getDialogTable();
|
||||||
|
this.getList();
|
||||||
}else{
|
}else{
|
||||||
this.$modal.msgSuccess("审批失败");
|
this.$modal.msgSuccess("审批失败");
|
||||||
}
|
}
|
||||||
|
|
@ -507,6 +508,7 @@ export default {
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
this.$modal.msgSuccess("审批成功");
|
this.$modal.msgSuccess("审批成功");
|
||||||
this.getDialogTable();
|
this.getDialogTable();
|
||||||
|
this.getList();
|
||||||
}else{
|
}else{
|
||||||
this.$modal.msgSuccess("审批失败");
|
this.$modal.msgSuccess("审批失败");
|
||||||
}
|
}
|
||||||
|
|
@ -534,6 +536,7 @@ export default {
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
this.$modal.msgSuccess("审批成功");
|
this.$modal.msgSuccess("审批成功");
|
||||||
this.getDialogTable();
|
this.getDialogTable();
|
||||||
|
this.getList();
|
||||||
}else{
|
}else{
|
||||||
this.$modal.msgSuccess("审批失败");
|
this.$modal.msgSuccess("审批失败");
|
||||||
}
|
}
|
||||||
|
|
@ -554,6 +557,7 @@ export default {
|
||||||
if(response.code==200){
|
if(response.code==200){
|
||||||
this.$modal.msgSuccess("审批成功");
|
this.$modal.msgSuccess("审批成功");
|
||||||
this.getDialogTable();
|
this.getDialogTable();
|
||||||
|
this.getList();
|
||||||
}else{
|
}else{
|
||||||
this.$modal.msgSuccess("审批失败");
|
this.$modal.msgSuccess("审批失败");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue