10/25 部分调整

feature-JimuReport-1106-yjl
张同海 1 month ago
parent e04e18761b
commit ab13d5242a

@ -219,6 +219,9 @@
</a-button> </a-button>
</template> </template>
</BasicModal> </BasicModal>
<a-modal v-model:visible="visible" title="驳回" width="40%" @ok="handleOk">
<BasicForm @register="modalRegisterForml" />
</a-modal>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { ref, computed, unref, watchEffect, watch } from 'vue' import { ref, computed, unref, watchEffect, watch } from 'vue'

@ -867,15 +867,17 @@
} }
IsAvailable({ IsAvailable({
...values, ...values,
...getFieldsValue1(), ...getFieldsValue(),
}) })
.then((res) => { .then((res) => {
IsAvailableDisabled.value = true IsAvailableDisabled.value = true
notification.success({ message: '校验成功', duration: 3 }) notification.success({ message: '校验成功', duration: 3 })
}) })
.catch(async (err) => { .catch(async (err) => {
const clientRes = await getCodeGoodsTypeInfo({ id: unref(rowId) })
let clientTagData: any = '' let clientTagData: any = ''
let SaleData: any = ''
if (rowId.value) {
const clientRes = await getCodeGoodsTypeInfo({ id: unref(rowId) })
if (clientRes.data.clientTag) { if (clientRes.data.clientTag) {
values.clientTag = {} values.clientTag = {}
let ClientTag = await getDictOption('infoclient-ArrclientTag') let ClientTag = await getDictOption('infoclient-ArrclientTag')
@ -887,8 +889,6 @@
}) })
}) })
} }
let SaleData: any = ''
if (clientRes.data.saleId) { if (clientRes.data.saleId) {
const UserRes = await getUser({ id: clientRes.data.saleId }) const UserRes = await getUser({ id: clientRes.data.saleId })
SaleData = h('div', { class: 'UserRes' }, [ SaleData = h('div', { class: 'UserRes' }, [
@ -919,6 +919,7 @@
), ),
]) ])
} }
}
Modal.confirm({ Modal.confirm({
title: '客户已存在', title: '客户已存在',

Loading…
Cancel
Save