pengyh 1 rok pred
rodič
commit
02c5ee2a88

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

@@ -369,7 +369,7 @@
 			async checkForm(){
 				let is_save = true
 				this.dataList.forEach(item=>{
-					if(!item.oldRefundQty || item.oldRefundQty < 1){
+					if(!item.newRefundQty || item.newRefundQty < 1){
 						this.$message.warning('请输入配件数量并且数量大于0!')
 						is_save = false
 					}else if(!item.refundAmount || item.refundAmount <= 0){

+ 3 - 1
src/views/userManagement/distributorManagement/index.vue

@@ -223,6 +223,7 @@ export default {
       return (
         <div class='operation-btns'>
           {row.examineStatus == 'WAIT' ? <el-button type="text" onClick={() => {
+			this.workerForm.userId = row.userId
             getMemberDetail({ userId: row.userId }).then(res => {
               Object.assign(this.formData, res.data)
               this.formDialogType = 0
@@ -302,7 +303,8 @@ export default {
 		memberAudit({ 
 			examineStatusEnum,
 			examineRemark: this.formData.examineRemark,
-			id: this.formData.id
+			id: this.formData.id,
+			userId: this.workerForm.userId,
 		}).then(res => {
 			this.$message({ type: 'success', message: '审核成功!' })
 			this.formCancel()