外协工单

This commit is contained in:
yinjinlu-pc\尹金路 2023-10-29 23:10:33 +08:00
parent 2e6b9aaba8
commit c86c156398
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleAddSubWorkorder(scope.row)" @click="handleAddSubWorkorder(scope.row)"
v-if="workorder.status == 'CONFIRMED' && scope.row.itemOrProduct=='PRODUCT'" v-if="workorder.status == 'CONFIRMED' && scope.row.itemOrProduct=='PRODUCT' && workorder.workorderType =='SELF'"
v-hasPermi="['mes:pro:workorder:edit']" v-hasPermi="['mes:pro:workorder:edit']"
>生成工单</el-button> >生成工单</el-button>
</template> </template>
@ -143,7 +143,7 @@ export default {
}, },
props: { props: {
optType: undefined, optType: undefined,
workorder: undefined workorder: undefined,
}, },
created() { created() {
this.getList(); this.getList();

View File

@ -190,7 +190,7 @@
size="mini" size="mini"
type="text" type="text"
icon="el-icon-plus" icon="el-icon-plus"
v-if="scope.row.status =='CONFIRMED'" v-if="scope.row.status =='CONFIRMED' && scope.row.workorderType =='SELF'"
@click="handleAdd(scope.row)" @click="handleAdd(scope.row)"
v-hasPermi="['mes:pro:workorder:update']" v-hasPermi="['mes:pro:workorder:update']"
>新增</el-button> >新增</el-button>