liuyn
2024-03-22 e8be4d964c6b336ed39dba5900b1b9a8f3181b96
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<template>
        <template if:true={isShow}>
    <div class="" style="height:200px;width:100%;display: flex;flex-direction: column;justify-content: space-around;background-color: white;padding-left: 10px">
        <div style="font-size: 20px;">
            <!-- <b><p>>决裁信息</p></b> -->
        </div>
        <template if:false={isShowInputField}>
        <lightning-record-edit-form object-api-name="Campaign">
            <!-- <lightning-messages></lightning-messages> -->
            <div style="display: flex;height:100px;width:100%;flex;flex-direction: column;justify-content: space-around;">
                <div style="display: flex;height:100%;width:100%;flex-direction: row;justify-content: space-around;">
                    <div style="width: 5%;"></div>
                    <div style="height:100%;width:35%;display: flex;flex-wrap: nowrap;">
                        <lightning-input-field name="IF_Approved__c" field-name="IF_Approved__c" value={IFAc}> </lightning-input-field>
                    </div>
                    <div style="height:100%;width:30%;display: flex;flex-wrap: nowrap;">
                        <lightning-input-field id='abcd' name='Meeting_Approved_No__c' field-name="Meeting_Approved_No__c" value={MAc} onchange={ch}> </lightning-input-field>
                    </div>
                    <div style="height:100%;width:30%;display: flex;margin-left: 10%;">
                        <lightning-input-field  name='CampaignTheme__c' field-name='CampaignTheme__c' type="text" label="" disabled="true"></lightning-input-field>
                    </div>
                    <div style="width: 5%;"></div>
                </div>
 
                <div style="display: flex;height:80px;width:100%;padding-top: 10px;flex-direction: row;justify-content: space-around;flex-wrap:nowrap;">
                    <div style="width: 40%">
                    </div>
                    <div>
                        <lightning-button
                        label="提交"
                        onclick={openNewPage}
                        ></lightning-button>
                    </div>
 
                    <div>
                        <lightning-button
                        label="取消"
                        onclick={returnPage}
                        ></lightning-button>
                    </div>
                    <div style="width: 40%">
                    </div>
                </div>
            </div>
        </lightning-record-edit-form>
        </template>
    </div>
</template>
</template>