|
@@ -490,7 +490,13 @@
|
|
|
this.$refs.addDialogRef.$refs.form &&
|
|
this.$refs.addDialogRef.$refs.form &&
|
|
|
this.$refs.addDialogRef.$refs.form.clearValidate();
|
|
this.$refs.addDialogRef.$refs.form.clearValidate();
|
|
|
},
|
|
},
|
|
|
- handleSplit(row) {
|
|
|
|
|
|
|
+ async handleSplit(row) {
|
|
|
|
|
+ let code = await isPlanPerson(row.id);
|
|
|
|
|
+ if (code == 1) {
|
|
|
|
|
+ return this.$message.warning(
|
|
|
|
|
+ '您不是该采购计划责任人,无法对该计划进行核价操作!'
|
|
|
|
|
+ );
|
|
|
|
|
+ }
|
|
|
this.splitDialogFlag = true;
|
|
this.splitDialogFlag = true;
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
this.$refs.splitDialogRef.init(row);
|
|
this.$refs.splitDialogRef.init(row);
|