|
@@ -66,7 +66,7 @@
|
|
|
</div>
|
|
|
<div class="tip-right-btn">
|
|
|
<HcTooltip keys="wbs_save_table">
|
|
|
- <el-button type="primary" hc-btn :disabled="item?.isTableForm === false" :loading="tableFormSaveLoading" @click="tableFormSaveClick(item,index)">
|
|
|
+ <el-button type="primary" hc-btn :disabled="NodeStatusval === '3'" :loading="tableFormSaveLoading" @click="tableFormSaveClick(item,index)">
|
|
|
<HcIcon name="save"/>
|
|
|
<span>保存</span>
|
|
|
</el-button>
|
|
@@ -202,6 +202,10 @@ const props = defineProps({
|
|
|
type: Array,
|
|
|
default: () => ([])
|
|
|
},
|
|
|
+ NodeStatus:{
|
|
|
+ type: String,
|
|
|
+ default: () => ('')
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
@@ -219,16 +223,19 @@ const contractId = ref(useAppState.getContractId);
|
|
|
const tabTypeKeyInfo=ref(props.tabTypeKey)
|
|
|
const nodeIdvaluedata=ref(props.nodeIdvalue)
|
|
|
const alllistDataval=ref(props.alllistData)
|
|
|
+const NodeStatusval=ref(props.NodeStatus)
|
|
|
|
|
|
//监听
|
|
|
watch(() => [
|
|
|
props.datas,
|
|
|
props.tabTypeKey,
|
|
|
- props.alllistData
|
|
|
-], ([datas,TabTypeKey,AlllistData]) => {
|
|
|
+ props.alllistData,
|
|
|
+ props.NodeStatus
|
|
|
+], ([datas,TabTypeKey,AlllistData,NodeStatus]) => {
|
|
|
listDatas.value = datas
|
|
|
tabTypeKeyInfo.value=TabTypeKey
|
|
|
alllistDataval.value=AlllistData
|
|
|
+ NodeStatusval.value=NodeStatus
|
|
|
setFormDataNum(datas)
|
|
|
})
|
|
|
|