修试后入库以及维修数量管理有效性
This commit is contained in:
parent
9263107c7c
commit
61394340fe
|
|
@ -20,7 +20,7 @@ export function getAuditInfo(query) {
|
||||||
//修试审核二级-通过,驳回
|
//修试审核二级-通过,驳回
|
||||||
export function auditPass(data) {
|
export function auditPass(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/material/repair_audit_details',
|
url: '/material/repair_audit_details/innerAudit',
|
||||||
method: 'put',
|
method: 'put',
|
||||||
data: data,
|
data: data,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -381,10 +381,9 @@ export default {
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
this.download(
|
this.download(
|
||||||
'material/base/maPropInfo/export',
|
'material/bm_asset_attributes/export',
|
||||||
{
|
{
|
||||||
...this.queryParams,
|
...this.queryParams,
|
||||||
dataCondition: this.ids,
|
|
||||||
},
|
},
|
||||||
`资产属性_${new Date().getTime()}.xlsx`,
|
`资产属性_${new Date().getTime()}.xlsx`,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -2074,6 +2074,12 @@ export default {
|
||||||
}else{
|
}else{
|
||||||
this.flagSave = false;
|
this.flagSave = false;
|
||||||
}
|
}
|
||||||
|
if(Number(this.formMiddle.repairNum)==0){
|
||||||
|
this.resetForm("formMiddle")
|
||||||
|
}
|
||||||
|
if(Number(this.formRight.scrapNum)==0){
|
||||||
|
this.resetForm("formRight")
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -189,19 +189,19 @@
|
||||||
|
|
||||||
<el-table :data="getInBoundInfo" width="600px" height="450" @selection-change="handleSelectionChange">
|
<el-table :data="getInBoundInfo" width="600px" height="450" @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" prop="maTypeName" :show-overflow-tooltip="true"/>
|
<el-table-column label="类型名称" align="center" prop="typeName2" :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="num" :show-overflow-tooltip="true" />
|
<el-table-column label="数量" align="center" prop="repairNum" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="编号" align="center" prop="code" :show-overflow-tooltip="true" />
|
<el-table-column label="编号" align="center" prop="maCode" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="提交人" align="center" prop="createBy" :show-overflow-tooltip="true" />
|
<el-table-column label="提交人" align="center" prop="updateBy" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="提交时间" align="center" prop="createTime" :show-overflow-tooltip="true" />
|
<el-table-column label="提交时间" align="center" prop="updateTime" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="状态" align="center" prop="taskStatus" >
|
<el-table-column label="状态" align="center" prop="status" >
|
||||||
<template slot-scope="scope">
|
<!-- <template slot-scope="scope">
|
||||||
<dict-tag
|
<dict-tag
|
||||||
:options="dict.type.repair_end_task_status"
|
:options="dict.type.repair_end_task_status"
|
||||||
:value="scope.row.taskStatus"
|
:value="scope.row.taskStatus"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template> -->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="操作"
|
label="操作"
|
||||||
|
|
@ -215,14 +215,14 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="success"
|
type="success"
|
||||||
@click="InBoundSuccess(scope.row)"
|
@click="InBoundSuccess(scope.row)"
|
||||||
v-if="scope.row.taskStatus == 0 "
|
v-if="scope.row.status != '已入库' "
|
||||||
>
|
>
|
||||||
通过
|
通过
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="danger"
|
type="danger"
|
||||||
v-if="scope.row.taskStatus == 0 "
|
v-if="scope.row.status != '已入库' "
|
||||||
@click="InBoundFail(scope.row)"
|
@click="InBoundFail(scope.row)"
|
||||||
>
|
>
|
||||||
不通过
|
不通过
|
||||||
|
|
@ -318,12 +318,6 @@ export default {
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
// this.testedList = [
|
|
||||||
// {'repairNum':'X20241121001','taskStatus':0},
|
|
||||||
// {'repairNum':'X20241121002','taskStatus':1}
|
|
||||||
// ]
|
|
||||||
// this.total = 2;
|
|
||||||
// this.loading = false;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/** 搜索按钮操作 */
|
/** 搜索按钮操作 */
|
||||||
|
|
@ -360,14 +354,19 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
//一级页面审核按钮
|
//一级页面审核按钮
|
||||||
handleUpdate(){
|
handleUpdate(row){
|
||||||
// this.getListView()
|
// this.getListView()
|
||||||
this.title = "审核"
|
this.title = "审核"
|
||||||
this.getInBoundInfo = [
|
getRepairedDetailList(row.id).then((response) => {
|
||||||
{'typeName':'p1','taskStatus':0},
|
this.getInBoundInfo = response.rows;
|
||||||
{'typeName':'p2','taskStatus':1}
|
this.totalView = response.total;
|
||||||
]
|
this.loading = false;
|
||||||
this.totalView = 2
|
});
|
||||||
|
// this.getInBoundInfo = [
|
||||||
|
// {'typeName':'p1','taskStatus':0},
|
||||||
|
// {'typeName':'p2','taskStatus':1}
|
||||||
|
// ]
|
||||||
|
// this.totalView = 2
|
||||||
this.showView = true;
|
this.showView = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue