Commit 9c1079bc authored by wzy's avatar wzy

fix: 进销存bug修改

parent ab6b380b
......@@ -37,9 +37,10 @@
.ant-row {
.ant-col-2 {
.ant-btn {
position: absolute;
top: 0;
right: 0;
// position: absolute;
// top: 0;
// right: 0;
margin-bottom: 8px;
}
}
}
......
......@@ -77,7 +77,7 @@ export const useFormDetail = () => {
FormEffectHooks.onFieldValueChange$(element).subscribe(state => {
// 过滤出title字符串
const _graphKeys = Object.keys(ctx.getFormGraph())
const _hasKeyIndex = _graphKeys.findIndex(item => item.indexOf('products') !== -1)
const _hasKeyIndex = _graphKeys.findIndex(item => item.indexOf(element) !== -1)
if(_hasKeyIndex >= 0) {
setCountAmountMap(() => ({
...countAmountMap,
......
......@@ -350,6 +350,7 @@
.ant-btn-link {
white-space: normal !important;
padding-left: unset !important;
}
......@@ -512,4 +513,4 @@ main.ant-pro-basicLayout-content-disable-margin {
.ant-layout-header+div {
overflow-y: hidden;
min-height: initial !important;
}
\ No newline at end of file
}
......@@ -332,6 +332,9 @@ const BillsForm: React.FC<BillsFormProps> = ({
});
// 注入表单完成进度
formContext.useAttachmentChangeForContext(actions);
formContext.useAnchorCountChangeForContext(actions, [
'invoicesDetailsDTOList',
]);
}}
onSubmit={handleSubmit}
actions={addSchemaAction}
......
......@@ -176,6 +176,7 @@ const DocumentDetail: ISchema = {
'x-component-props': {
id: 'DocumentDetail',
title: intl.formatMessage({id: 'stockSellStorage.danjumingxi'}),
showTotal: true,
},
properties: {
MEGA_LAYOUT2: {
......
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