|
|
@@ -1150,7 +1150,9 @@ class Approval extends Component {
|
|
|
let button = infoObject.button
|
|
|
if (!isObjNull(currentnode)) {
|
|
|
mApprovalRecord.needInputKeys = getStrValue(button,
|
|
|
- 'jt_neccessaryfield')
|
|
|
+ 'jt_neccessaryfield');
|
|
|
+ mApprovalRecord.buttonName = getStrValue(button,
|
|
|
+ 'jb_fields');
|
|
|
}
|
|
|
this.handerTitle(0)
|
|
|
//获取明细表
|
|
|
@@ -2658,7 +2660,7 @@ class Approval extends Component {
|
|
|
let approval = approvals[i]
|
|
|
if (!isObjNull(approval)) {
|
|
|
if (approval.neerInput) {
|
|
|
- if (isObjEmpty(approval.values)) {
|
|
|
+ if (isObjEmpty(approval.values) && mApprovalRecord.buttonName !='updatedetail') {
|
|
|
let msg = '必填字段 ' + approval.caption + '为必填项'
|
|
|
if (showTocat) {
|
|
|
message.error(msg)
|