qymljy 2 лет назад
Родитель
Сommit
6165a7b962

+ 2 - 2
src/HDrpManagement/projectPredictionManage/details/modules/projectListDetail.vue

@@ -235,9 +235,9 @@ export default {
       const res = await this.$api.requested(this.productParam)
       this.productList = res.data
      /* console.log(typeof res.data[4].marketprice)*/
-      this.productList.forEach(item=>{
+      /*this.productList.forEach(item=>{
         item.price = Number(this.tool.formatAmount(item.price,2))
-      })
+      })*/
       this.totalProduct = res.total
       if (res.data.length > 0){
         this.productPrice = res.data[0].sumorderamount

+ 4 - 4
src/SDrpManagement/projectPrediction/detail/projectListDetail.vue

@@ -75,8 +75,8 @@
           <div v-else-if="scope.column.columnname === 'price'">
             <span v-if="isDisabled">¥{{tool.formatAmount(scope.column.data[scope.column.columnname],2)}}</span>
             <span v-else>
-            <el-input size="mini" v-model="scope.column.data.price" @change="priceChange(scope.column.data.price,scope.$index,scope.column.data)"></el-input>
-          </span>
+              <el-input size="mini" v-model="scope.column.data.price" @change="priceChange(scope.column.data.price,scope.$index,scope.column.data)"></el-input>
+            </span>
           </div>
           <p v-else>{{scope.column.data[scope.column.columnname]?scope.column.data[scope.column.columnname]:'--'}}</p>
         </template>
@@ -240,9 +240,9 @@ export default {
       const res = await this.$api.requested(this.productParam)
       this.productList = res.data
      /* console.log(typeof res.data[4].marketprice)*/
-      this.productList.forEach(item=>{
+      /*this.productList.forEach(item=>{
         item.price = Number(this.tool.formatAmount(item.price,2))
-      })
+      })*/
       this.totalProduct = res.total
       if (res.data.length > 0){
         this.productPrice = res.data[0].sumorderamount