|
|
|
@ -48,7 +48,7 @@ |
|
|
|
</div> |
|
|
|
<div class="rowItem"> |
|
|
|
<el-text style="width: 4vw;">产品名称</el-text> |
|
|
|
<el-cascader v-model="searchData.goodsName" :options="productList" style="width: 10vw;" /> |
|
|
|
<el-cascader v-model="searchData.goodsName" :options="productList" style="width: 10vw;" clearable/> |
|
|
|
</div> |
|
|
|
<div class="rowItem" style="width: 30vw"> |
|
|
|
<el-text style="width: 4vw; margin-left: 0.5vw;">付款时间</el-text> |
|
|
|
@ -184,7 +184,7 @@ |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="auditTime" label="驳回时间" v-if="activeTab == 'reject' && !kefu" |
|
|
|
width="150px" show-overflow-tooltip></el-table-column> |
|
|
|
width="180px" show-overflow-tooltip></el-table-column> |
|
|
|
<el-table-column prop="rejectReason" label="驳回理由" v-if="activeTab == 'reject' && !kefu" |
|
|
|
width="150px"> |
|
|
|
<template #default="scope"> |
|
|
|
@ -687,11 +687,13 @@ const search = () => { |
|
|
|
const reset = () => { |
|
|
|
searchData.value = {} |
|
|
|
getTime.value = [] |
|
|
|
getlist() |
|
|
|
} |
|
|
|
//获得表格数据接口 |
|
|
|
const getlist = async () => { |
|
|
|
try { |
|
|
|
let payCurrencySelect = '' |
|
|
|
let goodsName = '' |
|
|
|
if (getTime.value && getTime.value.length === 2) { |
|
|
|
searchData.value.startTime = moment(getTime.value[0]).format('YYYY-MM-DD HH:mm:ss') |
|
|
|
searchData.value.endTime = moment(getTime.value[1]).format('YYYY-MM-DD HH:mm:ss') |
|
|
|
@ -702,7 +704,7 @@ const getlist = async () => { |
|
|
|
} |
|
|
|
|
|
|
|
if (searchData.value.goodsName) { |
|
|
|
searchData.value.goodsName = searchData.value.goodsName[searchData.value.goodsName.length - 1] |
|
|
|
goodsName = searchData.value.goodsName[searchData.value.goodsName.length - 1] |
|
|
|
} |
|
|
|
if (searchData.value.paymentCurrency) { |
|
|
|
payCurrencySelect = CurrencyForId(searchData.value.paymentCurrency) |
|
|
|
@ -739,7 +741,9 @@ const getlist = async () => { |
|
|
|
receivedMarket: MarketNameForId(receivedMarket), |
|
|
|
cashRoleId: cashRoleId, |
|
|
|
paymentCurrency: payCurrencySelect, |
|
|
|
submitterMarket: receivedMarket |
|
|
|
submitterMarket: receivedMarket, |
|
|
|
goodsName:goodsName, |
|
|
|
market:MarketNameForId(searchData.value.market) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
@ -985,7 +989,7 @@ const beforeUpload = (rawFile) => { |
|
|
|
ElMessage.error('图片必须是jpg或png类型!') |
|
|
|
return false |
|
|
|
} else if (rawFile.size / 1024 / 1024 > 1) { |
|
|
|
ElMessage.error('图片大小不能超过 1MB!') |
|
|
|
ElMessage.error('图片大小不能超过 2MB!') |
|
|
|
return false |
|
|
|
} |
|
|
|
return true |
|
|
|
|