1
This commit is contained in:
1 parent
6a56dc5278
commit
a631d020cf
3 files changed
+4
-4
No files matched your search
@@ -25,7 +25,7 @@ export function useSmProcessFormAction() {
|
||||
}
|
||||
|
||||
// 提交数据 成功返回 true 失败返回 false
|
||||
const submitData = async (baseDataForm: any, vxeTableItems: Ref<any[]>, loading: Ref<boolean>, putObj: any, addObj: any) => {
|
||||
const submitData = async (baseDataForm: any, vxeTableItems: any, loading: Ref<boolean>, putObj: any, addObj: any) => {
|
||||
try {
|
||||
loading.value = true
|
||||
|
||||
|
||||
@@ -431,7 +431,7 @@ const onContinueAdd = async () => {
|
||||
console.log("baseDataForm", baseDataForm)
|
||||
console.log("state.editableTableData", state.editableTableData)
|
||||
;(await formValidate(baseDataFormRef, editableTableRef, state.editableTableData.length)) &&
|
||||
(await submitData(baseDataForm, cgPlanSpuItems, loading, putObj, addObj)) &&
|
||||
(await submitData(baseDataForm, cgPlanSpuItems.value, loading, putObj, addObj)) &&
|
||||
clearData()
|
||||
}
|
||||
|
||||
@@ -440,7 +440,7 @@ const onSave = async () => {
|
||||
console.log("baseDataForm", baseDataForm)
|
||||
console.log("state.editableTableData", state.editableTableData)
|
||||
;(await formValidate(baseDataFormRef, editableTableRef, state.editableTableData.length)) &&
|
||||
(await submitData(baseDataForm, cgPlanSpuItems, loading, putObj, addObj)) &&
|
||||
(await submitData(baseDataForm, cgPlanSpuItems.value, loading, putObj, addObj)) &&
|
||||
clearData() &&
|
||||
emit("close")
|
||||
}
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="150">
|
||||
<template #default="scope">
|
||||
<el-button icon="MessageBox" text type="success" @click="edit({ ...scope.row, checkStatus: 2 })">详情</el-button>
|
||||
<!-- <el-button icon="MessageBox" text type="success" @click="edit({ ...scope.row, checkStatus: 2 })">详情</el-button> -->
|
||||
<el-button
|
||||
icon="edit-pen"
|
||||
text
|
||||
|
||||
Reference in new issue
Block a user