uu
This commit is contained in:
parent
3b6fc3bcac
commit
572eb61c9e
@ -69,7 +69,7 @@ function dealRequest({ def, url, param, coreParams, reqHeader }) {
|
||||
async function handleResponse(options) {
|
||||
let { data, header, resolve, reject, url, param, coreParams } = options
|
||||
// 图片类型数据特殊处理
|
||||
if((header['content-type'] || header['Content-Type'])?.indexOf?.("image/") > -1) {
|
||||
if((header?.['content-type'] || header?.['Content-Type'])?.indexOf?.("image/") > -1) {
|
||||
// 重新获取下载后的临时路径
|
||||
let fileUrl = await getImageTempFilePath(options)
|
||||
resolve({ data: { fileUrl } })
|
||||
|
||||
@ -124,8 +124,11 @@
|
||||
<tpx-select v-model:value="submitParam.salesmen" v-model:text="submitParam.salesmen" v-model:resObject="salemanRes" :getListFun="getSalemanList" :transKeyVal="{valKey: 'empName',titleKey: 'empName'}"
|
||||
placeholder="请选择销售联系人" :disabled="isShowYueJie"
|
||||
>
|
||||
<tpx-text-item label="销售联系人" :value="submitParam.salesmen">
|
||||
<template v-if="isShowYueJie" v-slot:rightRcon></template>
|
||||
<tpx-text-item label="销售联系人">
|
||||
<template v-slot:right>
|
||||
{{submitParam.salesmen || (isShowYueJie ? '': '请选择')}}
|
||||
<u-icon v-if="!isShowYueJie" size="26" name="arrow-right" color="#333"></u-icon>
|
||||
</template>
|
||||
</tpx-text-item>
|
||||
</tpx-select>
|
||||
</view>
|
||||
@ -135,7 +138,10 @@
|
||||
placeholder="请选择回款联系人" :disabled="isShowYueJie"
|
||||
>
|
||||
<tpx-text-item label="回款联系人" :value="submitParam.payee">
|
||||
<template v-if="isShowYueJie" v-slot:rightRcon></template>
|
||||
<template v-slot:right>
|
||||
{{submitParam.payee || (isShowYueJie ? '': '请选择')}}
|
||||
<u-icon v-if="!isShowYueJie" size="26" name="arrow-right" color="#333"></u-icon>
|
||||
</template>
|
||||
</tpx-text-item>
|
||||
</tpx-select>
|
||||
</view>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user