Commit 7b3d636f authored by youjie's avatar youjie

优化查看图

parent 7f8ea584
......@@ -1051,7 +1051,7 @@
@click="goSigningCustomer(GetDetail.SigningCustomerId,GetDetail.SigningCustomerName)">
签约客户:{{GetDetail.SigningCustomerName}}</span></a>
</div>
</div>
<my-HB-Bill v-if="GetDetail.Is_Merge===1 && ZhiDanRen!==bossID" :ID="FrID" :FrID='FrID' :GetDetail="GetDetail"
:isPrintPage="false" :width="widthSon" :color="colorSon"></my-HB-Bill>
......@@ -1157,7 +1157,7 @@
<el-image
style="width: 100%; height: 100%"
:src="file.Url?file.Url:file.Content"
:preview-src-list="[file.Url?file.Url:file.Content]">
:preview-src-list="InvoiceVoucherListImg">
</el-image>
<!-- <img :src="file.Url?file.Url:file.Content" @click="showImg(file.Url?file.Url:file.Content)"> -->
</div>
......@@ -1547,7 +1547,7 @@
:clientBankAccountData="clientBankAccountData"
:ClientBankAccountTop="ClientBankAccountTop"
@ClosePopup="isClientBankAccount=false"></ClientBankAccount>
</div>
</template>
<script>
......@@ -1581,6 +1581,7 @@
export default {
data() {
return {
InvoiceVoucherListImg:[],
InvoiceVoucherList:[],//发票附件
isCostTypeId: false, //地接费(领取)用款计划
isOrderOP: false, //是否跳转op订单页面
......@@ -1726,12 +1727,12 @@
id: FrID,
blank: "y",
};
this.$router.push({
path: "/CapitalAllocationDetail",
query
});
},
// 获取订单客户收款账号
getReceivablesAccount(OrderID){
......@@ -2538,6 +2539,7 @@
Content: x.data.FilePath,
Url: this.domainManager().ViittoFileUrl + x.data.FilePath,
});
this.InvoiceVoucherListImg.push(this.domainManager().ViittoFileUrl + x.data.FilePath)
this.$message.success('上传成功');
});
},
......@@ -2591,6 +2593,12 @@
})
.then(() => {
this.InvoiceVoucherList.splice(i, 1);
this.InvoiceVoucherListImg = []
this.InvoiceVoucherList.forEach(x=>{
if(x.Type==3){
this.InvoiceVoucherListImg.push(x.Url)
}
})
})
.catch(() => {});
}else{
......@@ -2690,6 +2698,11 @@
//2023-11-23 add by:W
if(data.InvoiceVoucherInfo){
this.InvoiceVoucherList=data.InvoiceVoucherInfo;
this.InvoiceVoucherList.forEach(x=>{
if(x.Type==3){
this.InvoiceVoucherListImg.push(x.Url)
}
})
}
data.DetailList.forEach(x => {
x.UnitPrice = this.$commonUtils.addCommas(Math.round(x.UnitPrice * 100) / 100)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment