Przeglądaj źródła

年审信息变更

lining 6 lat temu
rodzic
commit
5dbce4fbd8

+ 0 - 3
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/auditoperation.vue

@@ -1581,10 +1581,8 @@
           InfomainId: this.annualId
         }
         annualapi.GetChangeEntity(Id, params, this.$axios).then(res => {
-          console.log(res, '=====')
           this.copyformdata = _.cloneDeep(res.data[0])
           this.formData = res.data[1]
-          console.log(this.copyformdata, 'this.copyformdata')
           this.CityAry = []
           this.CityAry.push(this.formData.Province)
           this.CityAry.push(this.formData.City)
@@ -1776,7 +1774,6 @@
           MInfoId: this.annualId,
           InfochangeForm: this.infochangeItemList
         }
-        console.log('----', AllInfochangeItemList)
         annualapi.addInfoChangeItemCh(AllInfochangeItemList, this.$axios).then(res => {
           if (res.data.code === 0) {
             // 保存成功后,初始化数据,变成修改

+ 19 - 21
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/goodsoperation.vue

@@ -1555,18 +1555,18 @@
             // this.formData = res.data
             // this.copyformdata = _.cloneDeep(res.data[0])
             // this.formData = res.data[1]
-            this.formDataCert.WorkerTotal = this.formData.WorkerTotal
-            this.formDataCert.ContractNum = this.formData.ContractNum
-            this.formDataCert.UniversityNum = this.formData.UniversityNum
-            this.formDataCert.TechnicalNum = this.formData.TechnicalNum
-            this.formDataCert.AboveProfNum = this.formData.AboveProfNum
-            this.formDataCert.MiddleProfNum = this.formData.MiddleProfNum
-            this.formDataCert.NationalRegNum = this.formData.NationalRegNum
-            this.formDataCert.NationalCertTotal = this.formData.NationalCertTotal
-            this.formDataCert.DesignerTotal = this.formData.DesignerTotal
-            this.formDataCert.SkillerTotal = this.formData.SkillerTotal
-            this.formDataCert.Status = this.formData.Status
-            this.formDataCert.WorkflowId = this.formData.WorkflowId
+            this.formDataCert.WorkerTotal = res.data.WorkerTotal
+            this.formDataCert.ContractNum = res.data.ContractNum
+            this.formDataCert.UniversityNum = res.data.UniversityNum
+            this.formDataCert.TechnicalNum = res.data.TechnicalNum
+            this.formDataCert.AboveProfNum = res.data.AboveProfNum
+            this.formDataCert.MiddleProfNum = res.data.MiddleProfNum
+            this.formDataCert.NationalRegNum = res.data.NationalRegNum
+            this.formDataCert.NationalCertTotal = res.data.NationalCertTotal
+            this.formDataCert.DesignerTotal = res.data.DesignerTotal
+            this.formDataCert.SkillerTotal = res.data.SkillerTotal
+            this.formDataCert.Status = res.data.Status
+            this.formDataCert.WorkflowId = res.data.WorkflowId
             // this.$refs['GoodsInfo'].CityAry = []
             // this.$refs['GoodsInfo'].CityAry.push(this.formData.Province)
             // this.$refs['GoodsInfo'].CityAry.push(this.formData.City)
@@ -1576,12 +1576,12 @@
             // this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkCity)
             // this.$refs['GoodsInfo'].LinkCityAry.push(this.formData.LinkStreet)
             // this.$refs['GoodsInfo'].UnitRelationAry = []
-            this.$refs['equipmentList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['performanceList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['patentList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['winningList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['businessList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['subfileList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['equipmentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['performanceList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['patentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['winningList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['businessList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['subfileList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
             if (this.certId && this.WorkflowId) {
               this.$refs['WfHistory'].getHistoryTask() /* 刷新工作流 */
             }
@@ -1597,10 +1597,8 @@
           InfomainId: this.annualId
         }
         annualapi.GetChangeEntity(Id, params, this.$axios).then(res => {
-          console.log(res, '=====')
           this.copyformdata = _.cloneDeep(res.data[0])
           this.formData = res.data[1]
-          console.log(this.copyformdata, 'this.copyformdata')
           this.CityAry = []
           this.CityAry.push(this.formData.Province)
           this.CityAry.push(this.formData.City)
@@ -1867,7 +1865,7 @@
           MInfoId: this.annualId,
           InfochangeForm: this.infochangeItemList
         }
-        console.log('----', AllInfochangeItemList)
+
         annualapi.addInfoChangeItemCh(AllInfochangeItemList, this.$axios).then(res => {
           if (res.data.code === 0) {
             // 保存成功后,初始化数据,变成修改

+ 18 - 19
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/operation.vue

@@ -1379,18 +1379,18 @@
             // this.formData = res.data
             this.AccessCardNo = res.data.AccessCardNo
             this.InStyle = res.data.InStyle
-            this.formDataCert.WorkerTotal = this.formData.WorkerTotal
-            this.formDataCert.ContractNum = this.formData.ContractNum
-            this.formDataCert.UniversityNum = this.formData.UniversityNum
-            this.formDataCert.TechnicalNum = this.formData.TechnicalNum
-            this.formDataCert.AboveProfNum = this.formData.AboveProfNum
-            this.formDataCert.MiddleProfNum = this.formData.MiddleProfNum
-            this.formDataCert.NationalRegNum = this.formData.NationalRegNum
-            this.formDataCert.NationalCertTotal = this.formData.NationalCertTotal
-            this.formDataCert.DesignerTotal = this.formData.DesignerTotal
-            this.formDataCert.SkillerTotal = this.formData.SkillerTotal
-            this.formDataCert.Status = this.formData.Status
-            this.formDataCert.WorkflowId = this.formData.WorkflowId
+            this.formDataCert.WorkerTotal = res.data.WorkerTotal
+            this.formDataCert.ContractNum = res.data.ContractNum
+            this.formDataCert.UniversityNum = res.data.UniversityNum
+            this.formDataCert.TechnicalNum = res.data.TechnicalNum
+            this.formDataCert.AboveProfNum = res.data.AboveProfNum
+            this.formDataCert.MiddleProfNum = res.data.MiddleProfNum
+            this.formDataCert.NationalRegNum = res.data.NationalRegNum
+            this.formDataCert.NationalCertTotal = res.data.NationalCertTotal
+            this.formDataCert.DesignerTotal = res.data.DesignerTotal
+            this.formDataCert.SkillerTotal = res.data.SkillerTotal
+            this.formDataCert.Status = res.data.Status
+            this.formDataCert.WorkflowId = res.data.WorkflowId
             // this.$refs['TechInfo'].CityAry = []
             // this.$refs['TechInfo'].CityAry.push(this.formData.Province)
             // this.$refs['TechInfo'].CityAry.push(this.formData.City)
@@ -1405,12 +1405,12 @@
             // }
             this.GetItemsDatas()
             this.GetChangeEntity(res.data.Id)
-            this.$refs['equipmentList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['performanceList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['patentList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['winningList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['businessList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
-            this.$refs['subfileList'].getvalue(this.formData.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['equipmentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['performanceList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['patentList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['winningList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['businessList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
+            this.$refs['subfileList'].getvalue(res.data.Id, this.SupplierTypeCode, this.certId)
             if (this.certId && this.WorkflowId) {
               this.$refs['WfHistory'].getHistoryTask() /* 刷新工作流*/
             }
@@ -1426,7 +1426,6 @@
         annualapi.GetChangeEntity(Id, params, this.$axios).then(res => {
           this.copyformdata = _.cloneDeep(res.data[0])
           this.formData = res.data[1]
-          console.log(this.formData, 'this.formData')
           this.CityAry = []
           this.CityAry.push(this.formData.Province)
           this.CityAry.push(this.formData.City)

+ 33 - 4
src/dashoo.cn/frontend_web/src/pages/oilsupplier/annualaudit/_opera/techoperation.vue

@@ -1506,10 +1506,8 @@
           InfomainId: this.annualId
         }
         annualapi.GetChangeEntity(Id, params, this.$axios).then(res => {
-          console.log(res, '=====')
           this.copyformdata = _.cloneDeep(res.data[0])
           this.formData = res.data[1]
-          console.log(this.copyformdata, 'this.copyformdata')
           this.CityAry = []
           this.CityAry.push(this.formData.Province)
           this.CityAry.push(this.formData.City)
@@ -1558,7 +1556,7 @@
         })
       },
       getbuslist () {
-        this.$refs['subfileList'].getvalue(this.formData.Id, this.formData.SupplierTypeCode, this.certId)
+        this.$refs['subfileList'].getvalue(this.formDatacp.Id, this.formDatacp.SupplierTypeCode, this.certId)
       },
 
       getorgtreelist () {
@@ -1648,6 +1646,22 @@
             let val2 = val.BeChangeInfo.replace('T', ' ')
             return val2.substring(0, 10)
           }
+        } else if (val.SelectItem === 'HseTraining') {
+          if (val.BeChangeInfo === '0') {
+            return '否'
+          } else if (val.BeChangeInfo === '1') {
+            return '是'
+          }
+        } else if (val.SelectItem === 'Currency') {
+          if (val.BeChangeInfo === 'EUR') {
+            return '欧元'
+          } else if (val.BeChangeInfo === 'USD') {
+            return '美元'
+          } else if (val.BeChangeInfo === 'JPY') {
+            return '日元'
+          } else if (val.BeChangeInfo === 'CNY') {
+            return '人民币'
+          }
         } else {
           return val.BeChangeInfo
         }
@@ -1691,6 +1705,22 @@
             let val2 = val.ChangeInfo.replace('T', ' ')
             return val2.substring(0, 10)
           }
+        } else if (val.SelectItem === 'HseTraining') {
+          if (val.ChangeInfo === '0') {
+            return '否'
+          } else if (val.ChangeInfo === '1') {
+            return '是'
+          }
+        } else if (val.SelectItem === 'Currency') {
+          if (val.ChangeInfo === 'EUR') {
+            return '欧元'
+          } else if (val.ChangeInfo === 'USD') {
+            return '美元'
+          } else if (val.ChangeInfo === 'JPY') {
+            return '日元'
+          } else if (val.ChangeInfo === 'CNY') {
+            return '人民币'
+          }
         } else {
           return val.ChangeInfo
         }
@@ -1702,7 +1732,6 @@
           MInfoId: this.annualId,
           InfochangeForm: this.infochangeItemList
         }
-        console.log('----', AllInfochangeItemList)
         annualapi.addInfoChangeItemCh(AllInfochangeItemList, this.$axios).then(res => {
           if (res.data.code === 0) {
             // 保存成功后,初始化数据,变成修改