Explorar o código

成本分配表-保存成功提示

jbb %!s(int64=2) %!d(string=hai) anos
pai
achega
4e1cd7139f
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/views/reportForms/cost-allocation-table.vue

+ 1 - 2
src/views/reportForms/cost-allocation-table.vue

@@ -918,11 +918,10 @@ export default {
          var json = this.detailsPlanNum
          var json = this.detailsPlanNum
          json.outdata=moment(json.outdata).format('YYYY-MM-DD hh:mm:ss')
          json.outdata=moment(json.outdata).format('YYYY-MM-DD hh:mm:ss')
         addHalfInfo(json).then(res => {
         addHalfInfo(json).then(res => {
-          that.isDisabled = false
+          this.isDisabled = false
           if (res.success) {
           if (res.success) {
             console.log('保存的部分信息', halfInfo)
             console.log('保存的部分信息', halfInfo)
             this.$message.success('保存成功')
             this.$message.success('保存成功')
-
             halfInfo = {}
             halfInfo = {}
           }else{
           }else{
             this.$message.error(res.message);
             this.$message.error(res.message);