Parcourir la source

工程订单列表单价和金额显示变更

FengChaoYu il y a 3 ans
Parent
commit
36979a6131

+ 4 - 4
src/views/supply/engin/commerce_list.vue

@@ -61,7 +61,7 @@
                 <el-input v-model="screenForm.examineMan" placeholder="请输入审核人"></el-input>
               </el-form-item>
             </el-col>
-            
+
             <el-col :xs="24" :sm="24" :lg="24" class="tr">
               <el-form-item label="">
                 <el-button size="small" @click="resetScreenForm">清空</el-button>
@@ -122,12 +122,12 @@
             <el-table-column align="right" label="出库数量" prop="hasSendQty" min-width="100" show-overflow-tooltip></el-table-column>
             <el-table-column align="right" label="单价" prop="enginPrice" min-width="100" show-overflow-tooltip>
               <template slot-scope="scope">
-                {{scope.row.enginPrice | numToFixed}}
+                {{scope.row.price | numToFixed}}
               </template>
             </el-table-column>
             <el-table-column align="right" label="金额" prop="enginTotality" min-width="100" show-overflow-tooltip>
               <template slot-scope="scope">
-                {{scope.row.enginTotality | numToFixed}}
+                {{scope.row.payAmount | numToFixed}}
               </template>
             </el-table-column>
             <el-table-column align="center" label="返利钱包" prop="customerWalletName2" min-width="140" show-overflow-tooltip></el-table-column>
@@ -180,7 +180,7 @@
     </div>
 
     <EditDateDialog :isShow.sync="isShowEditDateDialog" :dateForm.sync="dateForm" />
-    
+
     <CommerceDetail :listItem="queryItem" v-if="isShowDetail" @backListFormDetail="backList" />
     <CommerceForm :listItem="queryItem" v-if="isShowForm" @backListFormDetail="backList" />
     <CommerceExamine :listItem="queryItem" v-if="isShowExamine" @backListFormDetail="backList" />

+ 5 - 5
src/views/supply/engin/home_list.vue

@@ -61,7 +61,7 @@
                 <el-input v-model="screenForm.examineMan" placeholder="请输入审核人"></el-input>
               </el-form-item>
             </el-col>
-            
+
             <el-col :xs="24" :sm="24" :lg="24" class="tr">
               <el-form-item label="">
                 <el-button size="small" @click="resetScreenForm">清空</el-button>
@@ -122,12 +122,12 @@
             <el-table-column align="right" label="出库数量" prop="hasSendQty" min-width="100" show-overflow-tooltip></el-table-column>
             <el-table-column align="right" label="单价" prop="enginPrice" min-width="100" show-overflow-tooltip>
               <template slot-scope="scope">
-                {{scope.row.enginPrice | numToFixed}}
+                {{scope.row.price | numToFixed}}
               </template>
             </el-table-column>
             <el-table-column align="right" label="金额" prop="enginTotality" min-width="100" show-overflow-tooltip>
               <template slot-scope="scope">
-                {{scope.row.enginTotality | numToFixed}}
+                {{scope.row.payAmount | numToFixed}}
               </template>
             </el-table-column>
             <el-table-column align="center" label="返利钱包" prop="customerWalletName2" min-width="140" show-overflow-tooltip></el-table-column>
@@ -180,7 +180,7 @@
     </div>
 
     <EditDateDialog :isShow.sync="isShowEditDateDialog" :dateForm.sync="dateForm" />
-    
+
     <HomeDetail :listItem="queryItem" v-if="isShowDetail" @backListFormDetail="backList" />
     <HomeForm :listItem="queryItem" v-if="isShowForm" @backListFormDetail="backList" />
     <HomeExamine :listItem="queryItem" v-if="isShowExamine" @backListFormDetail="backList" />
@@ -427,7 +427,7 @@ export default {
     handleSelectionChange(val) {
       this.multipleSelection = val;
     },
-    
+
     // 打开 修改订单日期
     editDate(item) {
       this.editId = item.parentId;