Commit 6d1a8af4 authored by 何远江's avatar 何远江

bug修改

parent 8a7cd4f3
...@@ -243,25 +243,25 @@ ...@@ -243,25 +243,25 @@
<span>{{ parseTime(scope.row.requestDate, "{y}-{m}-{d}") }}</span> <span>{{ parseTime(scope.row.requestDate, "{y}-{m}-{d}") }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <!-- <el-table-column
label="生产状态" label="生产状态"
align="center" align="center"
prop="status" prop="status"
width="120" width="120"
/> /> -->
<el-table-column label="备注" align="center" prop="remark" width="120" />
<el-table-column <el-table-column
label="操作" label="操作"
width="150px" width="150px"
align="center" align="center"
class-name="small-padding fixed-width" class-name="small-padding fixed-width"
fixed="right"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
v-if="scope.row.status == 'NORMARL'" v-if="scope.row.status == 'PREPARE'"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['mes:pro:protask:edit']" v-hasPermi="['mes:pro:protask:edit']"
>排产</el-button >排产</el-button
...@@ -395,25 +395,25 @@ ...@@ -395,25 +395,25 @@
<el-button <el-button
type="primary" type="primary"
@click="cancel" @click="cancel"
v-if="optType == 'view' || form.status != 'NORMARL'" v-if="optType == 'view' || form.status != 'PREPARE'"
>返回</el-button >返回</el-button
> >
<el-button <el-button
type="primary" type="primary"
@click="submitForm" @click="submitForm"
v-if="form.status == 'NORMARL' && optType != 'view'" v-if="form.status == 'PREPARE' && optType != 'view'"
> </el-button > </el-button
> >
<el-button <!-- <el-button
type="success" type="success"
@click="handleFinish" @click="handleFinish"
v-if=" v-if="
form.status == 'NORMARL' && form.status == 'PREPARE' &&
optType != 'view' && optType != 'view' &&
form.workorderId != null form.workorderId != null
" "
>完成</el-button >完成</el-button
> > -->
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
...@@ -523,7 +523,7 @@ export default { ...@@ -523,7 +523,7 @@ export default {
colorCode: null, colorCode: null,
requestDate: null, requestDate: null,
remark: null, remark: null,
status: "NORMARL", status: "PREPARE",
workunitName: null, workunitName: null,
workunitId: null, workunitId: null,
}, },
......
...@@ -623,7 +623,6 @@ ...@@ -623,7 +623,6 @@
</template> </template>
<script> <script>
<<<<<<< HEAD
import { import {
listWorkorder, listWorkorder,
getWorkorder, getWorkorder,
...@@ -633,9 +632,6 @@ import { ...@@ -633,9 +632,6 @@ import {
dofinish, dofinish,
} from "@/api/mes/pro/workorder"; } from "@/api/mes/pro/workorder";
import { addProtaskList } from "@/api/mes/pro/protask"; import { addProtaskList } from "@/api/mes/pro/protask";
=======
import { listWorkorder, getWorkorder, delWorkorder, addWorkorder, updateWorkorder ,dofinish,confirmedWorkorder} from "@/api/mes/pro/workorder";
>>>>>>> feature/jzc/brand/0.0.2
import Workorderbom from "./bom/bom.vue"; import Workorderbom from "./bom/bom.vue";
import WorkorderItemList from "./items/item.vue"; import WorkorderItemList from "./items/item.vue";
import ItemSelect from "@/components/itemSelect/single.vue"; import ItemSelect from "@/components/itemSelect/single.vue";
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</el-form> </el-form>
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <!-- <el-col :span="1.5">
<el-button <el-button
type="primary" type="primary"
plain plain
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
@click="handleAdd" @click="handleAdd"
v-hasPermi="['mes:wm:issueheader:add']" v-hasPermi="['mes:wm:issueheader:add']"
>新增</el-button> >新增</el-button>
</el-col> </el-col> -->
<el-col :span="1.5"> <!-- <el-col :span="1.5">
<el-button <el-button
type="success" type="success"
plain plain
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="['mes:wm:issueheader:edit']" v-hasPermi="['mes:wm:issueheader:edit']"
>修改</el-button> >修改</el-button>
</el-col> </el-col> -->
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button
type="danger" type="danger"
...@@ -130,14 +130,14 @@ ...@@ -130,14 +130,14 @@
@click="handleExecute(scope.row)" @click="handleExecute(scope.row)"
v-hasPermi="['mes:wm:issueheader:edit']" v-hasPermi="['mes:wm:issueheader: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"
v-if="scope.row.status =='PREPARE'" v-if="scope.row.status =='PREPARE'"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['mes:wm:issueheader:edit']" v-hasPermi="['mes:wm:issueheader:edit']"
>修改</el-button> >修改</el-button> -->
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
......
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