Commit 70c6a0b7 authored by youjie's avatar youjie

no message

parent 2c77bcd7
......@@ -555,7 +555,8 @@ export default {
},
// 保存
UpdateDate: function (formName) {
this.addMsg.C_StartDate = this.FormartDate(this.addMsg.C_StartDate)
this.addMsg.C_EndDate = this.FormartDate(this.addMsg.C_EndDate)
this.$refs[formName].validate((valid) => {
if (valid) {
if(this.addMsg.ContractUrl == ''){
......
......@@ -825,9 +825,13 @@
},
//提交并盖章
SubmitContract(item, status) {
if(item.CType==4&&!this.isBoHui){
return this.Error(this.$t('objFill.v102.qingxuanzbohtg'));
if(item.CType==4){
item.C_StartDate = this.FormartDate(item.C_StartDate)
item.C_EndDate = this.FormartDate(item.C_EndDate)
if(!this.isBoHui) return this.Error(this.$t('objFill.v102.qingxuanzbohtg'));
}
console.log(item,'=====');
return
var that = this;
if(status==2){
if(item.C_DayNum==''||item.C_StartDate==''||item.C_EndDate==''||item.C_NightNum==''){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment