Merge branch 'zth' into dev

feature-JimuReport-1106-yjl
张同海 1 month ago
commit 3fa19dd330

@ -134,7 +134,7 @@
return false return false
} else { } else {
select.forEach((e) => { select.forEach((e) => {
ids.push(e.id) ids.push(ShowView.value ? e.templateId : e.id)
}) })
openModal(true, { openModal(true, {
ids, ids,

@ -153,7 +153,7 @@
return false return false
} else { } else {
select.forEach((e) => { select.forEach((e) => {
ids.push(e.id) ids.push(ShowView.value ? e.templateId : e.id)
}) })
openModal(true, { openModal(true, {
ids, ids,

@ -40,9 +40,6 @@
</template> </template>
</a-step> </a-step>
</a-steps> </a-steps>
<a-button v-if="isMainBL && !activeStepsArr.length" type="primary" @click="FnSetSteps">
主单确认
</a-button>
</div> </div>
</div> </div>
</template> </template>
@ -142,15 +139,14 @@
} }
async function FnSetSteps() { async function FnSetSteps() {
let ApiData: any = {} let ApiData: any = {}
console.log(ApiData)
tasksList.value.forEach((item: any) => { tasksList.value.forEach((item: any) => {
if (item.id == activeId.value) { if (item.id == activeId.value) {
ApiData = { ...item } ApiData = { ...item }
} }
}) })
if (!isMainBL.value) { // if (!isMainBL.value) {
ApiData.steps[activeSteps.value].isCompleted = true ApiData.steps[activeSteps.value].isCompleted = true
} // }
// ( ) // ( )
ApiData.autoSync = true ApiData.autoSync = true
let res: any = null let res: any = null
@ -268,6 +264,7 @@
box-shadow: 0px -3px 6px rgba(214, 214, 214, 1); box-shadow: 0px -3px 6px rgba(214, 214, 214, 1);
.steps { .steps {
width: 800px; width: 800px;
justify-content: right;
} }
} }
} }

Loading…
Cancel
Save