chenrui hai 1 ano
pai
achega
64234447b8
Modificáronse 1 ficheiros con 8 adicións e 8 borrados
  1. 8 8
      src/views/reportData/salesOutofStockReport/list.vue

+ 8 - 8
src/views/reportData/salesOutofStockReport/list.vue

@@ -139,7 +139,7 @@ export default {
         if (valid) {
           this.$refs.table.refresh(true)
         } else {
-          this.$message.info('请至少输入一个查询条件')
+          this.$message.info('请选择创建时间')
           return false
         }
       })
@@ -160,11 +160,11 @@ export default {
     },
     custSatelliteChange (v, row) {
       if (row && row.customerSn) {
-        this.queryParam.buyerSnCurrent = row.customerSn
-        this.queryParam.buyerNameCurrent = undefined
+        this.queryParam.targetSn = row.customerSn
+        this.queryParam.targetName = row.customerName
       } else {
-        this.queryParam.buyerNameCurrent = v
-        this.queryParam.buyerSnCurrent = undefined
+        this.queryParam.targetName = v
+        this.queryParam.targetSn = undefined
       }
     },
     //  重置
@@ -173,8 +173,8 @@ export default {
       this.queryParam.time = []
       this.queryParam.beginDate = ''
       this.queryParam.endDate = ''
-      this.queryParam.buyerNameCurrent = undefined
-      this.queryParam.buyerSnCurrent = undefined
+      this.queryParam.targetName = undefined
+      this.queryParam.targetSn = undefined
       this.$refs.ruleForm.resetFields()
       this.$refs.custSatelliteList.resetForm()
       this.$refs.table.clearTable()
@@ -193,7 +193,7 @@ export default {
             _this.spinning = false
           })
         } else {
-          this.$message.info('请至少输入一个查询条件')
+          this.$message.info('请选择创建时间')
           return false
         }
       })