Commit e437b28b60515d2112e3371da1d0b946ae11d341
1 parent
642d634e
Update
Showing
1 changed file
with
4 additions
and
0 deletions
src/main/resources/static/pages/scheduleApp/module/core/ttInfoManage/detailedit/module.js
| ... | ... | @@ -118,6 +118,10 @@ angular.module('ScheduleApp').controller( |
| 118 | 118 | |
| 119 | 119 | // form提交方法 |
| 120 | 120 | self.submit = function() { |
| 121 | + if (self.ttInfoDetailManageForForm.zdlytype == 1) { | |
| 122 | + delete self.ttInfoDetailManageForForm.zdlyversion; | |
| 123 | + } | |
| 124 | + | |
| 121 | 125 | service.importDetail(self.ttInfoDetailManageForForm).then( |
| 122 | 126 | function(result) { |
| 123 | 127 | if (result.status == 'SUCCESS') { | ... | ... |