pengyh vor 1 Jahr
Ursprung
Commit
ae58e89393

+ 2 - 0
src/views/auxiliaryFittings/salesManagement/components/attachmentNewReturnDetail.vue

@@ -206,6 +206,7 @@
 					workerId: '',
 					idcard: '',
 					phone: '',
+					totalAmount: '',
 					remark: ''
 				},
 				isEdit: 0,
@@ -259,6 +260,7 @@
 					this.formData.idcard = res.data.identity
 					this.formData.phone = res.data.workerMobile
 					this.formData.remark = res.data.remark
+					this.formData.totalAmount = res.data.totalAmount
 					for(var item of res.data.items){
 						var ress = await that.getGoods(item.goodsName, 1)
 						item.goods = {...ress.data,oldPrice:ress.data.price}

+ 3 - 0
src/views/auxiliaryFittings/salesManagement/components/attachmentOldReturnDetail.vue

@@ -213,6 +213,7 @@
 					idcard: '',
 					phone: '',
 					remark: '',
+					totalAmount: '',
 					orderUseType: 'INSIDE'
 				},
 				isEdit: 0,
@@ -267,6 +268,7 @@
 					this.formData.phone = res.data.workerMobile
 					this.formData.remark = res.data.remark
 					this.formData.orderUseType = res.data.orderUseType
+					this.formData.totalAmount = res.data.totalAmount
 					for(var item of res.data.items){
 						var ress = await that.getGoods(item.goodsName, 1)
 						item.goods = {...ress.data,oldPrice:ress.data.price}
@@ -296,6 +298,7 @@
 					this.formData.phone = res.data.workerMobile
 					this.formData.remark = res.data.remark
 					this.formData.orderUseType = res.data.orderUseType
+					this.formData.totalAmount = res.data.totalAmount
 					for(var item of res.data.websitPartsRetItemList){
 						var ress = await that.getGoods(item.goodsName, 1)
 						item.goods = {...ress.data,oldPrice:ress.data.price,retQty: 1}

+ 3 - 1
src/views/auxiliaryFittings/salesManagement/components/attachmentSalesOrderDetail.vue

@@ -62,7 +62,7 @@
 						</el-col>
 						<el-col :span="6" v-if="id">
 							<el-form-item label="单据金额">
-								<el-input type="text" :value="formData.createBy" disabled></el-input>
+								<el-input type="text" :value="formData.totalAmount" disabled></el-input>
 							</el-form-item>
 						</el-col>
 						<el-col :span="6" v-if="id">
@@ -223,6 +223,7 @@
 					phone: '',
 					source: '',
 					payType: '',
+					totalAmount: '',
 					remark: ''
 				},
 				isEdit: 0,
@@ -285,6 +286,7 @@
 					this.formData.source = res.data.source
 					this.formData.payType = res.data.payType
 					this.formData.remark = res.data.remark
+					this.formData.totalAmount = res.data.totalAmount
 					for(var item of res.data.items){
 						var ress = await that.getGoods(item.goodsName, 1)
 						item.goods = {...ress.data,oldPrice:ress.data.price}

+ 4 - 1
src/views/auxiliaryFittings/salesManagement/components/auxiliarySalesReturnOrderDetail.vue

@@ -231,7 +231,8 @@
 					workerId: '',
 					idcard: '',
 					phone: '',
-					remark: ''
+					remark: '',
+					totalAmount: ''
 				},
 				isEdit: 0,
 				companyName: JSON.parse(localStorage.getItem('greemall_user')).companyName,
@@ -285,6 +286,7 @@
 					this.formData.phone = res.data.workerMobile
 					this.getCategory(res.data.websitId)
 					this.formData.remark = res.data.remark
+					this.formData.totalAmount = res.data.totalAmount
 					for(var item of res.data.items){
 						item.parentCategory = {categoryId: item.parentCategoryId,categoryName: item.parentCategoryName,items: [{categoryId: item.goodsCategoryId,categoryName: item.goodsCategoryName}]}
 						item.goodsCategory = {categoryId: item.goodsCategoryId,categoryName: item.goodsCategoryName}
@@ -316,6 +318,7 @@
 					this.formData.phone = res.data.workerMobile
 					this.getCategory(res.data.websitId)
 					this.formData.remark = res.data.remark
+					this.formData.totalAmount = res.data.totalAmount
 					for(var item of res.data.websitSalesRetItems){
 						item.parentCategory = {categoryId: item.parentCategoryId,categoryName: item.parentCategoryName,items: [{categoryId: item.goodsCategoryId,categoryName: item.goodsCategoryName}]}
 						item.goodsCategory = {categoryId: item.goodsCategoryId,categoryName: item.goodsCategoryName}