外协工单
This commit is contained in:
parent
2e6b9aaba8
commit
c86c156398
@ -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();
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user