提单确认 主单 手动确认 调整

feature-JimuReport-1106-yjl
张同海 1 month ago
parent 709bfab7ac
commit 2617b8c201

@ -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