|
|
|
@ -800,20 +800,20 @@ export default { |
|
|
|
this.$modal.msgError("请选择要处置的药剂") |
|
|
|
} else { |
|
|
|
for (var i = 0; i < that.cclistYj.length; i++) { |
|
|
|
if (!that.cclistYj[i].ccwz||that.cclistYj[i].ccwz=='') { |
|
|
|
this.$modal.msgError('第'+i + "个存储,存储位置不能为空") |
|
|
|
// if (!that.cclistYj[i].ccwz||that.cclistYj[i].ccwz=='') { |
|
|
|
// this.$modal.msgError('第'+(i+1) + "个存储,存储位置不能为空") |
|
|
|
// return |
|
|
|
// } |
|
|
|
if (!that.cclistYj[i].cctj||that.cclistYj[i].cctj=='') { |
|
|
|
this.$modal.msgError('第'+(i+1) + "个存储,存储条件不能为空") |
|
|
|
return |
|
|
|
} |
|
|
|
// if (!that.cclistYj[i].cctj||that.cclistYj[i].cctj=='') { |
|
|
|
// this.$modal.msgError('第'+i + "个存储,存储条件不能为空") |
|
|
|
// return |
|
|
|
// } |
|
|
|
} |
|
|
|
that.$modal.loading() |
|
|
|
that.formYjcc.resource = JSON.stringify(that.resource) |
|
|
|
that.formApprove.cclist = JSON.stringify(that.cclistYj) |
|
|
|
studyFormFill_yjcc(that.formApprove).then(response => { |
|
|
|
that.openApprove = false |
|
|
|
that.formYjcc.cclist = JSON.stringify(that.cclistYj) |
|
|
|
studyFormFill_yjcc(that.formYjcc).then(response => { |
|
|
|
that.openYjcc = false |
|
|
|
that.$modal.closeLoading() |
|
|
|
that.cancelSave() |
|
|
|
}).finally(() => { |
|
|
|
|