فهرست منبع

面损表开票成本辅料字段显示问题

jbb 2 سال پیش
والد
کامیت
b836bb20b8
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/views/reportForms/fabric-loss-table.vue

+ 3 - 2
src/views/reportForms/fabric-loss-table.vue

@@ -793,6 +793,8 @@ export default {
             this.loading = false;
             if (res.success) {
               this.PrintButton = false
+              this.fabricLoss = res.result;
+              this.edit = this.fabricLoss.edit
               // 开票成本成衣:获取原币和本币金额是否完全相同,完全相同隐藏美元列
               var findList = this.fabricLoss.fabricCostClothesList.filter(e=>e.ioriSum!=e.isum);
               if (findList.length == 0)
@@ -805,8 +807,7 @@ export default {
                 this.costInvoiceIngredientColumns = this.costInvoiceIngredientColumnsM1;
               else
                 this.costInvoiceIngredientColumns = this.costInvoiceIngredientColumnsAll;
-              this.fabricLoss = res.result;
-              this.edit = this.fabricLoss.edit
+
               // 委外订单国内附件按钮状态
               this.fabricLoss.fabricOMOrderList1.map(item=>{
                 item.buttonStatus = false