Commit 7b3d636f authored by youjie's avatar youjie

优化查看图

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