Kaynağa Gözat

张丁 修改刷新页面bug

zhangding 3 yıl önce
ebeveyn
işleme
8f2f9687ec

+ 1 - 1
master/src/main/resources/mybatis/invoice/TInvoiceBookingworkticketMapper.xml

@@ -112,7 +112,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectTInvoiceWorkcontentVo"/>
         <where>
             <if test="createrCode != null "> and creater_code = #{createrCode} </if>
-            <if test="createdate != null "> and d.createdate = #{createdate} and to_char(d.createdate, 'yyyy-mm-dd') = to_char(SYSDATE, 'yyyy-mm-dd')</if>
+            <if test="createdate != null "> and to_char(d.createdate, 'yyyy-mm-dd') = to_char(SYSDATE, 'yyyy-mm-dd')</if>
             <if test="updaterCode != null "> and updater_code = #{updaterCode}</if>
             <if test="updatedate != null "> and updatedate = #{updatedate}</if>
             <if test="workType != null "> and work_type = #{workType}</if>

+ 4 - 4
ui/src/views/invoice/bookingworkticket/index.vue

@@ -637,7 +637,7 @@ export default {
           selectDevice(queryForm).then(response => {
            this.workAreaOptions=response.data
           });
-          console.log(this.workAreaOptions)
+        //  console.log(this.workAreaOptions)
     },
     addAprrove(row) {
       this.reset();
@@ -959,8 +959,8 @@ export default {
             this.form.tInvoiceWorkcontentList=this.ruleForm
             this.form.floorLocation=this.form.floorLocation.join(',')
             addBookingworkticket(this.form).then(response => {
-              console.log(this.form)
-              console.log(this.ruleForm)
+             // console.log(this.form)
+           //   console.log(this.ruleForm)
             this.approveForm.invoiceId=response.data
             var nowTime = this.getNowFormatDate()
 
@@ -981,11 +981,11 @@ export default {
              this.approveForm.userSupId=this.form.userMg
 
              addInvoice(this.approveForm).then(response => {
-          // this.msgSuccess(this.$t('预约成功'));
                  this.msgSuccess("已提交申请");
            })
 
            this.msgSuccess("新增成功");
+       //     console.log(this.queryParams.createdate)
               this.open = false;
               this.getList();
               this.resetForm1();