Commit 5bb7d1f6 authored by chenzj's avatar chenzj

确认补料按钮

parent d4fa9cab
...@@ -118,6 +118,11 @@ ...@@ -118,6 +118,11 @@
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.windCase" /> <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.windCase" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="是否确认" align="center" prop="confirm">
<template slot-scope="scope">
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.confirm" />
</template>
</el-table-column>
<el-table-column label="已发放数量" align="center" prop="grantNum" /> <el-table-column label="已发放数量" align="center" prop="grantNum" />
<el-table-column label="创建时间" align="center" prop="createTime" width="180"> <el-table-column label="创建时间" align="center" prop="createTime" width="180">
<!-- <template slot-scope="scope"> <!-- <template slot-scope="scope">
...@@ -669,6 +674,9 @@ export default { ...@@ -669,6 +674,9 @@ export default {
this.reset(); this.reset();
const materialRequestId = row.materialRequestId || this.ids const materialRequestId = row.materialRequestId || this.ids
confirmMaterialRequest(materialRequestId).then(response => { confirmMaterialRequest(materialRequestId).then(response => {
if(response.code===500){
this.$modal.confirm(msg);
}
this.form = response.data; this.form = response.data;
this.open = true; this.open = true;
this.title = "确认补料"; this.title = "确认补料";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment