buli
2023-07-13 a046b3fe914e46147334d33bbdcb21e2759a3c43
force-app/main/default/lwc/lexConsumable/lexConsumable.html
@@ -128,7 +128,12 @@
              margin-bottom: 7px;
            "
          >
            <div style="border-bottom: 1px solid #d4d4d4; padding: 3px">
                        <div
                            style="
                                border-bottom: 1px solid #d4d4d4;
                                padding: 3px;
                            "
                        >
              <lightning-layout>
                <lightning-layout-item padding="around-small">
                  <p style="font-size: 18px">
@@ -194,7 +199,9 @@
                                                </template>
                                            </td> -->
                      <td>
                        <template if:true={showAttUploadDate}>
                                                <template
                                                    if:true={showAttUploadDate}
                                                >
                          <lightning-output-field
                            field-name="Consumable_pdf_insert_day__c"
                          ></lightning-output-field>
@@ -215,7 +222,9 @@
                    <tr>
                      <td></td>
                      <td>
                        <template if:true={showOrderDate}>
                                                <template
                                                    if:true={showOrderDate}
                                                >
                          <lightning-output-field
                            field-name="Order_date__c"
                          ></lightning-output-field>
@@ -233,7 +242,10 @@
                          title="附件列表"
                          icon-name="utility:attach"
                        >
                          <lightning-layout slot="footer" multiple-rows="true">
                                                    <lightning-layout
                                                        slot="footer"
                                                        multiple-rows="true"
                                                    >
                            <template
                              for:each={attachmentRecoeds}
                              for:item="item"
@@ -243,11 +255,16 @@
                                padding="around-none"
                                size="2"
                                key={item.recordId}
                                style="text-align: left; padding: 5px"
                                                                style="
                                                                    text-align: left;
                                                                    padding: 5px;
                                                                "
                              >
                                <lightning-icon
                                  title={item.fileFullName}
                                  style="margin-left: 20px"
                                                                    style="
                                                                        margin-left: 20px;
                                                                    "
                                  icon-name="doctype:gform"
                                  alternative-text={item.fileFullName}
                                  size="large"
@@ -269,10 +286,16 @@
                                </div>
                                <p>
                                  <!-- <a data-fileid ={item.documentId} onclick={previweAtt}> -->
                                  <a href={item.attUrl} target="_blank">
                                                                    <a
                                                                        href={item.attUrl}
                                                                        target="_blank"
                                                                    >
                                    预览 </a
                                  >&nbsp;·&nbsp;
                                  <a href={item.downloadUrl}> 下载 </a
                                                                    <a
                                                                        href={item.downloadUrl}
                                                                    >
                                                                        下载 </a
                                  >&nbsp;·&nbsp;
                                  <a
                                    data-fileid={item.recordId}
@@ -341,7 +364,12 @@
                  <!-- <tr style="height: 10px;"></tr> -->
                  <tr>
                    <td>
                      <div style="color: #696969; font-size: 16px">
                                            <div
                                                style="
                                                    color: #696969;
                                                    font-size: 16px;
                                                "
                                            >
                        消耗品名称
                      </div>
                    </td>
@@ -356,7 +384,14 @@
                    </td>
                    <td></td>
                    <td>
                      <div style="color: #696969; font-size: 16px">第3分类</div>
                                            <div
                                                style="
                                                    color: #696969;
                                                    font-size: 16px;
                                                "
                                            >
                                                第3分类
                                            </div>
                    </td>
                    <td>
                      <lightning-combobox
@@ -370,7 +405,14 @@
                    </td>
                    <td style="width: 30px"></td>
                    <td style="width: 66px">
                      <div style="color: #696969; font-size: 16px">第4分类</div>
                                            <div
                                                style="
                                                    color: #696969;
                                                    font-size: 16px;
                                                "
                                            >
                                                第4分类
                                            </div>
                    </td>
                    <td>
                      <lightning-combobox
@@ -384,7 +426,14 @@
                    </td>
                    <td></td>
                    <td style="width: 66px">
                      <div style="color: #696969; font-size: 16px">第5分类</div>
                                            <div
                                                style="
                                                    color: #696969;
                                                    font-size: 16px;
                                                "
                                            >
                                                第5分类
                                            </div>
                    </td>
                    <td style="width: 160px">
                      <lightning-combobox
@@ -400,8 +449,15 @@
                  <tr style="height: 10px"></tr>
                  <tr>
                    <td style="width: 100px">
                      <div style="color: #696969; font-size: 16px">
                        <span style="color: red">*&nbsp;</span>合同
                                            <div
                                                style="
                                                    color: #696969;
                                                    font-size: 16px;
                                                "
                                            >
                                                <span style="color: red"
                                                    >*&nbsp;</span
                                                >合同
                      </div>
                    </td>
                    <td style="width: 320px">
@@ -427,14 +483,24 @@
                    <td style="width: 30px"></td>
                    <td style="width: 66px">
                      <template if:true={showHospital}>
                        <div style="color: #696969; font-size: 16px">
                          <span style="color: red">*&nbsp;</span>医院
                                                <div
                                                    style="
                                                        color: #696969;
                                                        font-size: 16px;
                                                    "
                                                >
                                                    <span style="color: red"
                                                        >*&nbsp;</span
                                                    >医院
                        </div>
                      </template>
                    </td>
                    <td
                      colspan="4"
                      style="padding-bottom: 5px; padding-top: 5px"
                                            style="
                                                padding-bottom: 5px;
                                                padding-top: 5px;
                                            "
                    >
                      <template if:true={showHospital}>
                        <div
@@ -461,7 +527,11 @@
                    <td colspan="2">
                      <button
                        class="slds-button slds-button_neutral slds-button_stretch lexsearchStyle"
                        style="width: 130px; height: 32px; margin-right: 10px"
                                                style="
                                                    width: 130px;
                                                    height: 32px;
                                                    margin-right: 10px;
                                                "
                        label="消耗品搜索"
                        onclick={searchProduct}
                      >
@@ -469,7 +539,10 @@
                      </button>
                      <button
                        class="slds-button slds-button_neutral slds-button_stretch lexclearStyle"
                        style="width: 80px; height: 32px"
                                                style="
                                                    width: 80px;
                                                    height: 32px;
                                                "
                        label="清空"
                        onclick={clear}
                      >
@@ -585,7 +658,10 @@
            <template if:true={editAble}>
              <c-lex-custom-lightning-datatable
                class="wrapped-header-datatable"
                style="word-wrap: break-word; word-break: break-all"
                                style="
                                    word-wrap: break-word;
                                    word-break: break-all;
                                "
                key-field="recordId"
                data={currentRecord}
                columns={cols}
@@ -615,7 +691,10 @@
            <template if:false={editAble}>
              <c-lex-custom-lightning-datatable
                class="wrapped-header-datatable"
                style="word-wrap: break-word; word-break: break-all"
                                style="
                                    word-wrap: break-word;
                                    word-break: break-all;
                                "
                hide-checkbox-column
                key-field="recordId"
                data={consumableorderdetailsRecordsview}
@@ -668,10 +747,16 @@
        style="border: 1px solid #d4d4d4"
      >
        <template if:true={showPopSpinner}>
          <lightning-spinner size="medium" variant="brand"></lightning-spinner>
                    <lightning-spinner
                        size="medium"
                        variant="brand"
                    ></lightning-spinner>
        </template>
        <div class="slds-modal__container">
          <header class="slds-modal__header" style="background-color: #f3f3f3">
                    <header
                        class="slds-modal__header"
                        style="background-color: #f3f3f3"
                    >
            <button
              style=""
              class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse"
@@ -755,7 +840,10 @@
        style="border: 1px solid #d4d4d4"
      >
        <div class="slds-modal__container">
          <header class="slds-modal__header" style="background-color: #f3f3f3">
                    <header
                        class="slds-modal__header"
                        style="background-color: #f3f3f3"
                    >
            <button
              style=""
              class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse"
@@ -787,7 +875,11 @@
                <tr>
                  <td style="width: 74px">
                    <div
                      style="color: #696969; font-size: 16px; text-align: left"
                                            style="
                                                color: #696969;
                                                font-size: 16px;
                                                text-align: left;
                                            "
                    >
                      医院名称
                    </div>
@@ -826,9 +918,16 @@
                margin-bottom: 7px;
              "
            >
              <div style="border-bottom: 1px solid #d4d4d4; padding: 3px">
                            <div
                                style="
                                    border-bottom: 1px solid #d4d4d4;
                                    padding: 3px;
                                "
                            >
                <lightning-layout>
                  <lightning-layout-item padding="around-small">
                                    <lightning-layout-item
                                        padding="around-small"
                                    >
                    <p style="font-size: 18px">
                      <strong>搜索结果</strong>
                    </p>
@@ -875,7 +974,10 @@
        style="border: 1px solid #d4d4d4"
      >
        <div class="slds-modal__container">
          <header class="slds-modal__header" style="background-color: #f3f3f3">
                    <header
                        class="slds-modal__header"
                        style="background-color: #f3f3f3"
                    >
            <button
              style=""
              class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse"
@@ -907,7 +1009,11 @@
                <tr>
                  <td style="width: 74px">
                    <div
                      style="color: #696969; font-size: 16px; text-align: left"
                                            style="
                                                color: #696969;
                                                font-size: 16px;
                                                text-align: left;
                                            "
                    >
                      合同名称
                    </div>
@@ -947,9 +1053,16 @@
                margin-bottom: 7px;
              "
            >
              <div style="border-bottom: 1px solid #d4d4d4; padding: 3px">
                            <div
                                style="
                                    border-bottom: 1px solid #d4d4d4;
                                    padding: 3px;
                                "
                            >
                <lightning-layout>
                  <lightning-layout-item padding="around-small">
                                    <lightning-layout-item
                                        padding="around-small"
                                    >
                    <p style="font-size: 18px">
                      <strong>搜索结果</strong>
                    </p>