|
|
@@ -49,14 +49,15 @@
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="发票金额">
|
|
|
- <span class="white">{{ formatValue(selectedRow.InvoiceAmount) }}</span>
|
|
|
+ <span class="white">{{ formatValue(selectedRow.invoiceamount) }}</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
<a-row :gutter="24">
|
|
|
<a-col :span="12">
|
|
|
<a-form-item label="发票附件">
|
|
|
- <span class="white">{{ formatValue(selectedRow.invoiceamount) }}</span>
|
|
|
+ <span class="blue" v-if="selectedRow.attachurl" @click="previewImg(selectedRow.attachurl)">查看</span>
|
|
|
+ <span class="white" v-else>--</span>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :span="12">
|
|
|
@@ -75,24 +76,24 @@
|
|
|
</fieldset>
|
|
|
</a-form>
|
|
|
</a-modal>
|
|
|
+ <a-modal :visible="previewVisible" :footer="null" @cancel="cancelImg">
|
|
|
+ <img alt="预览附件" style="width: 100%" :src="previewImage" />
|
|
|
+ </a-modal>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
-import { defineComponent, PropType, reactive, ref, watchEffect } from 'vue';
|
|
|
-import { closeModal } from '@/common/setup/modal/index';
|
|
|
-import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
|
|
|
-import { mergeObj } from '@/utils/objHandle';
|
|
|
+import { defineComponent, PropType, ref } from 'vue';
|
|
|
import { getStatusName } from '@/common/constants/enumsName';
|
|
|
-import { formatValue, formatTime } from '@/common/methods';
|
|
|
+import { formatValue } from '@/common/methods';
|
|
|
import { QryBussinessFpRsp } from '@/services/go/ermcp/finance-review/interface';
|
|
|
import { invoiceStatusName } from '@/views/manage/finance-review/setup';
|
|
|
import { getPriceTypeName } from '@/common/constants/enumsName';
|
|
|
import { Modal } from 'ant-design-vue';
|
|
|
import { ContractOperateApplyReq } from '@/services/proto/contract/interface';
|
|
|
import Long from 'long';
|
|
|
-import { somePriceControl } from '@/views/manage/business-review/components/setup';
|
|
|
import { financeControl } from '@/views/manage/finance-review/components/setup';
|
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
+import { handlePreviewImg } from '@/common/setup/upload';
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'finance_review_invoice_cancel',
|
|
|
@@ -108,6 +109,8 @@ export default defineComponent({
|
|
|
const { visible, cancel } = _closeModal(context);
|
|
|
const loading = ref<boolean>(false);
|
|
|
const maskClosableFlag = ref<boolean>(false);
|
|
|
+ // 预览附件
|
|
|
+ const { previewVisible, previewImage, cancelImg, previewImg } = handlePreviewImg();
|
|
|
|
|
|
function submit() { }
|
|
|
|
|
|
@@ -142,6 +145,10 @@ export default defineComponent({
|
|
|
invoiceStatusName,
|
|
|
getPriceTypeName,
|
|
|
back,
|
|
|
+ previewVisible,
|
|
|
+ previewImage,
|
|
|
+ cancelImg,
|
|
|
+ previewImg,
|
|
|
};
|
|
|
},
|
|
|
});
|