|
@@ -30,7 +30,7 @@
|
|
|
prop="contractType"
|
|
|
>
|
|
|
<el-select
|
|
|
- :disabled="cid"
|
|
|
+ :disabled="contractForm.id"
|
|
|
v-model="contractForm.contractType"
|
|
|
placeholder="请选择"
|
|
|
class="w-100p"
|
|
@@ -279,7 +279,7 @@
|
|
|
:span="12"
|
|
|
v-show="contractForm.contractType!=1"
|
|
|
>
|
|
|
- <div class="head-font">施工方合同段权限配置</div>
|
|
|
+ <div class="head-font">合同段权限配置</div>
|
|
|
<el-checkbox-group
|
|
|
v-model="idList"
|
|
|
class="martop15"
|
|
@@ -402,7 +402,7 @@
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane
|
|
|
- v-if="$route.query.contractType==1||$route.query.contractType===undefined"
|
|
|
+ v-if="contractForm.contractType == 1"
|
|
|
label="分配WBS"
|
|
|
name="2"
|
|
|
>
|
|
@@ -1011,14 +1011,13 @@ export default {
|
|
|
this.btnLoad = false;
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
this.$message({
|
|
|
type: "success",
|
|
|
message: "保存成功!"
|
|
|
});
|
|
|
this.typeChang[this.activeType] = false;
|
|
|
let num = Number(this.activeType);
|
|
|
- if (this.$route.query.contractType == 1 || this.$route.query.contractType === undefined) {
|
|
|
+ if (this.contractForm.contractType == 1) {
|
|
|
if (type == 'n') {
|
|
|
num++;
|
|
|
} else if (type == 'p') {
|
|
@@ -1057,7 +1056,7 @@ export default {
|
|
|
} else {
|
|
|
this.$message({
|
|
|
type: "error",
|
|
|
- message: "请先选择施工方合同段权限配置"
|
|
|
+ message: "请先选择合同段权限配置"
|
|
|
})
|
|
|
this.btnLoad = false
|
|
|
}
|