@@ -192,6 +192,10 @@
methods: {
// 选择可执行工序
handleProduce() {
+ if (!this.formData?.extInfo?.teamId) {
+ this.$message.error('请先选择班组');
+ return;
+ }
this.$refs.produceRef.open(this.formData);
},
handParent(data, index) {
@@ -24,6 +24,7 @@
:underline="false"
icon="el-icon-edit"
@click="openEdit('edit', row)"
+ v-if="!row.isUsing"
>
编辑
</el-link>