فهرست منبع

退货单修改

pengyh 1 سال پیش
والد
کامیت
d304d4dd2a

+ 3 - 3
src/views/auxiliaryFittings/salesManagement/components/attachmentNewReturnDetail.vue

@@ -230,10 +230,10 @@
 					<el-table-column prop="goods.goodsCode" align="center" label="配件编码"></el-table-column>
 					<el-table-column prop="goods.brandRelaName" align="center" label="适用品牌"></el-table-column>
 					<el-table-column prop="goods.productRelaName" align="center" label="适用产品大类"></el-table-column>
-					<el-table-column prop="goods.price" align="center" label="销售价格"></el-table-column>
+					<el-table-column prop="price" align="center" label="销售价格"></el-table-column>
 					<el-table-column prop="" align="center" label="销售金额" >
-						<template slot-scope="scope" v-if="scope.row.newRefundQty && scope.row.goods && scope.row.goods.price">
-							{{(scope.row.goods.price * 100) * scope.row.newRefundQty / 100}}
+						<template slot-scope="scope" v-if="scope.row.newRefundQty && scope.row.price">
+							{{(scope.row.price * 100) * scope.row.newRefundQty / 100}}
 						</template>
 					</el-table-column>
 					<!-- <el-table-column prop="goods.qty" align="center" label="库存数量"></el-table-column> -->

+ 6 - 6
src/views/auxiliaryFittings/salesManagement/components/auxiliarySalesReturnOrderDetail.vue

@@ -254,17 +254,17 @@
 						</template>
 					</el-table-column>
 					<el-table-column prop="goods.saleAmount" align="center" label="退货金额" >
-						<template slot-scope="scope" v-if="scope.row.retQty && scope.row.goods && scope.row.goods.price">
-							{{(scope.row.goods.price * 100) * scope.row.retQty / 100}}
+						<template slot-scope="scope" v-if="scope.row.retQty && scope.row.price">
+							{{(scope.row.price * 100) * scope.row.retQty / 100}}
 						</template>
 					</el-table-column>
 					<el-table-column prop="goods.goodsCode" align="center" label="商品代码"></el-table-column>
 					<el-table-column prop="goods.goodsSpecification" align="center" label="规格型号"></el-table-column>
 					<el-table-column prop="salesQty" align="center" label="销售数量"></el-table-column>
-					<el-table-column prop="goods.price" align="center" label="销售价格"></el-table-column>
-					<el-table-column prop="goods.saleAmount" align="center" label="销售金额" >
-						<template slot-scope="scope" v-if="scope.row.salesQty && scope.row.goods && scope.row.goods.price">
-							{{(scope.row.goods.price * 100) * (scope.row.salesQty*100) / 10000}}
+					<el-table-column prop="price" align="center" label="销售价格"></el-table-column>
+					<el-table-column prop="saleAmount" align="center" label="销售金额" >
+						<template slot-scope="scope" v-if="scope.row.salesQty && scope.row.price">
+							{{(scope.row.price * 100) * (scope.row.salesQty*100) / 10000}}
 						</template>
 					</el-table-column>
 					<el-table-column label="操作" align="right" width="140">