| | |
| | | <!-- sldsValidatorIgnore --> |
| | | <!-- sldsValidatorIgnore --> |
| | | <template> |
| | | <c-common-toast></c-common-toast> |
| | | <template if:true={isShowSpinner}> |
| | | <div class="slds-spinner_container"> |
| | | |
| | | <div |
| | | role="status" |
| | | class="slds-spinner slds-spinner_medium slds-spinner_brand" |
| | | > |
| | | <span class="slds-assistive-text">Loading</span> |
| | | |
| | | <div class="slds-spinner__dot-a"></div> |
| | | |
| | | <div class="slds-spinner__dot-b"></div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | </template> |
| | | <!-- 搜索客户名 --> |
| | | <template if:true={isModalOpen}> |
| | | <section |
| | | role="dialog" |
| | | tabindex="-1" |
| | | aria-labelledby="modal-heading-01" |
| | | aria-modal="true" |
| | | aria-describedby="modal-content-id-1" |
| | | class="slds-modal slds-fade-in-open slds-modal_medium" |
| | | style="border: 1px solid #d4d4d4" |
| | | > |
| | | <div class="slds-modal__container"> |
| | | <header class="slds-modal__header" style="background-color: #f3f3f3"> |
| | | <button |
| | | style="" |
| | | class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse" |
| | | title="Close" |
| | | onclick={closeModal} |
| | | > |
| | | <lightning-icon |
| | | icon-name="utility:close" |
| | | alternative-text="close" |
| | | variant="inverse" |
| | | size="small" |
| | | ></lightning-icon> |
| | | <span class="slds-assistive-text">Close</span> |
| | | </button> |
| | | <h2 |
| | | id="modal-heading-01" |
| | | class="slds-text-heading_medium slds-hyphenate" |
| | | > |
| | | 经销商医院检索 |
| | | </h2> |
| | | </header> |
| | | <div |
| | | class="slds-modal__content slds-p-around_medium" |
| | | id="modal-content-id-1" |
| | | style="border: 1px solid #f3f3f3" |
| | | > |
| | | <table style="width: 100%"> |
| | | <tbody> |
| | | <tr> |
| | | <td style="width: 74px"> |
| | | <div |
| | | style="color: #696969; font-size: 16px; text-align: left" |
| | | > |
| | | 医院名称 |
| | | </div> |
| | | </td> |
| | | <td style="width: 60%"> |
| | | <lightning-input |
| | | class="inputFont" |
| | | label="医院名称" |
| | | variant="label-hidden" |
| | | placeholder="请输入医院名称" |
| | | value={searchHospitalName} |
| | | data-field="searchHospitalName" |
| | | onchange={dataChange} |
| | | ></lightning-input> |
| | | </td> |
| | | <td style="width: 10px"></td> |
| | | <td> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexsearchStyle" |
| | | style="height: 32px" |
| | | label="搜索" |
| | | onclick={searchHospital} |
| | | > |
| | | 搜索 |
| | | </button> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | <p style="height: 20px"></p> |
| | | <!-- <p>已选择医院:{chooseHospital}</p> --> |
| | | <div |
| | | style=" |
| | | border: 1px solid #d4d4d4; |
| | | border-top: 3px solid #51606e; |
| | | border-radius: 5px; |
| | | margin-bottom: 7px; |
| | | " |
| | | > |
| | | <div style="border-bottom: 1px solid #d4d4d4; padding: 3px"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>搜索结果</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | <!-- <p style="font-size: 16px;"><strong>搜索结果</strong></p> --> |
| | | </div> |
| | | <div class="myTable" style="padding: 10px"> |
| | | <!-- <lightning-datatable class="wrapped-header-datatable" key-field="id" |
| | | <c-common-toast></c-common-toast> |
| | | <template if:true={isShowSpinner}> |
| | | <div class="slds-spinner_container"> |
| | | <div role="status" class="slds-spinner slds-spinner_medium slds-spinner_brand"> |
| | | <span class="slds-assistive-text">Loading</span> |
| | | <div class="slds-spinner__dot-a"></div> |
| | | <div class="slds-spinner__dot-b"></div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <!-- 搜索客户名 --> |
| | | <template if:true={isModalOpen}> |
| | | <section role="dialog" tabindex="-1" aria-labelledby="modal-heading-01" aria-modal="true" |
| | | aria-describedby="modal-content-id-1" class="slds-modal slds-fade-in-open slds-modal_medium" |
| | | style="border: 1px solid #D4D4D4;"> |
| | | <div class="slds-modal__container"> |
| | | <header class="slds-modal__header" style="background-color: #F3F3F3;"> |
| | | <button style="" class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse" |
| | | title="Close" onclick={closeModal}> |
| | | <lightning-icon icon-name="utility:close" alternative-text="close" variant="inverse" |
| | | size="small"></lightning-icon> |
| | | <span class="slds-assistive-text">Close</span> |
| | | </button> |
| | | <h2 id="modal-heading-01" class="slds-text-heading_medium slds-hyphenate">经销商医院检索</h2> |
| | | </header> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1" |
| | | style="border: 1px solid #F3F3F3;"> |
| | | <table style="width: 100%;"> |
| | | <tbody> |
| | | <tr> |
| | | <td style="width: 74px;"> |
| | | <div style="color:#696969;font-size:16px;text-align: left;">医院名称</div> |
| | | </td> |
| | | <td style="width: 60%;"><lightning-input class="inputFont" label="医院名称" |
| | | variant="label-hidden" placeholder="请输入医院名称" value={searchHospitalName} |
| | | data-field="searchHospitalName" onchange={dataChange}></lightning-input></td> |
| | | <td style="width: 10px;"></td> |
| | | <td><button class="slds-button slds-button_neutral slds-button_stretch lexsearchStyle" |
| | | style="height: 32px;" label="搜索" onclick={searchHospital}>搜索</button></td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | <p style="height: 20px;"></p> |
| | | <!-- <p>已选择医院:{chooseHospital}</p> --> |
| | | <div |
| | | style="border: 1px solid #D4D4D4;border-top: 3px solid #51606E;border-radius:5px;margin-bottom:7px;"> |
| | | <div style="border-bottom: 1px solid #D4D4D4;padding:3px;"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>搜索结果</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | <!-- <p style="font-size: 16px;"><strong>搜索结果</strong></p> --> |
| | | </div> |
| | | <div class="myTable" style="padding:10px;"> |
| | | <!-- <lightning-datatable class="wrapped-header-datatable" key-field="id" |
| | | hide-checkbox-column="true" data={hospitalList} columns={hosCols} |
| | | onrowaction={chooseHos}></lightning-datatable> --> |
| | | <lightning-datatable |
| | | class="datatabel slds-border_top wrapped-header-datatable" |
| | | key-field="id" |
| | | data={hospitalList} |
| | | columns={hospitalColumns} |
| | | hide-checkbox-column="true" |
| | | onrowaction={searchHandleRowAction} |
| | | > |
| | | </lightning-datatable> |
| | | <lightning-datatable class="datatabel slds-border_top wrapped-header-datatable" |
| | | key-field="id" data={hospitalList} columns={hospitalColumns} hide-checkbox-column="true" |
| | | onrowaction={searchHandleRowAction}> |
| | | </lightning-datatable> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexclearStyle" label="取消" |
| | | onclick={closeModal}>取消</button> |
| | | </footer> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexclearStyle" |
| | | label="取消" |
| | | onclick={closeModal} |
| | | > |
| | | 取消 |
| | | </button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </template> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </template> |
| | | |
| | | <!-- 上传附件弹窗 --> |
| | | <template if:true={showAttPop}> |
| | | <section |
| | | role="dialog" |
| | | tabindex="-1" |
| | | aria-labelledby="modal-heading-01" |
| | | aria-modal="true" |
| | | aria-describedby="modal-content-id-1" |
| | | class="slds-modal slds-fade-in-open slds-modal_small" |
| | | style="border: 1px solid #d4d4d4" |
| | | > |
| | | <template if:true={showPopSpinner}> |
| | | <lightning-spinner size="medium" variant="brand"></lightning-spinner> |
| | | </template> |
| | | <div class="slds-modal__container"> |
| | | <header class="slds-modal__header" style="background-color: #f3f3f3"> |
| | | <button |
| | | style="" |
| | | class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse" |
| | | title="Close" |
| | | onclick={closePop} |
| | | > |
| | | <lightning-icon |
| | | icon-name="utility:close" |
| | | alternative-text="close" |
| | | variant="inverse" |
| | | size="small" |
| | | ></lightning-icon> |
| | | <span class="slds-assistive-text">Close</span> |
| | | </button> |
| | | <h2 |
| | | id="modal-heading-02" |
| | | class="slds-text-heading_medium slds-hyphenate" |
| | | > |
| | | 上传附件 |
| | | </h2> |
| | | </header> |
| | | <div |
| | | class="slds-modal__content slds-p-around_medium" |
| | | id="modal-content-id-2" |
| | | style="border: 1px solid #f3f3f3" |
| | | > |
| | | <div class="slds-m-top_medium slds-m-bottom_x-large"> |
| | | <div class="slds-p-around_medium lgc-bg"> |
| | | <lightning-input |
| | | class="fileUpload" |
| | | type="file" |
| | | label="附件上传" |
| | | accept=".xlsx, .xls, .csv, .png, .doc, .docx, .pdf" |
| | | onchange={attChange} |
| | | ></lightning-input> |
| | | </div> |
| | | <p style="font-size: 16px"> |
| | | 已选择文件:{fileName} |
| | | <template if:true={attDelBtn}> |
| | | <a onclick={removeAtt}>移除</a> |
| | | </template> |
| | | </p> |
| | | </div> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <!-- <lightning-button style="margin-left: 10px;" variant="neutral" label="取消" |
| | | <!-- 上传附件弹窗 --> |
| | | <template if:true={showAttPop}> |
| | | <section role="dialog" tabindex="-1" aria-labelledby="modal-heading-01" aria-modal="true" |
| | | aria-describedby="modal-content-id-1" class="slds-modal slds-fade-in-open slds-modal_small" |
| | | style="border: 1px solid #D4D4D4;"> |
| | | <template if:true={showPopSpinner}> |
| | | <lightning-spinner size="medium" variant="brand"></lightning-spinner> |
| | | </template> |
| | | <div class="slds-modal__container"> |
| | | <header class="slds-modal__header" style="background-color: #F3F3F3;"> |
| | | <button style="" class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse" |
| | | title="Close" onclick={closePop}> |
| | | <lightning-icon icon-name="utility:close" alternative-text="close" variant="inverse" |
| | | size="small"></lightning-icon> |
| | | <span class="slds-assistive-text">Close</span> |
| | | </button> |
| | | <h2 id="modal-heading-02" class="slds-text-heading_medium slds-hyphenate">上传附件</h2> |
| | | </header> |
| | | <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-2" |
| | | style="border: 1px solid #F3F3F3;"> |
| | | <div class="slds-m-top_medium slds-m-bottom_x-large"> |
| | | <div class="slds-p-around_medium lgc-bg"> |
| | | <lightning-input class="fileUpload" type="file" label="附件上传" |
| | | accept=".xlsx, .xls, .csv, .png, .doc, .docx, .pdf" |
| | | onchange={attChange}></lightning-input> |
| | | </div> |
| | | <p style="font-size: 16px;">已选择文件:{fileName} |
| | | <template if:true={attDelBtn}> |
| | | <a onclick={removeAtt}>移除</a> |
| | | </template> |
| | | </p> |
| | | </div> |
| | | </div> |
| | | <footer class="slds-modal__footer"> |
| | | <!-- <lightning-button style="margin-left: 10px;" variant="neutral" label="取消" |
| | | onclick={closePop}></lightning-button> |
| | | <lightning-button style="margin-left: 10px;" variant="neutral" label="上传" |
| | | onclick={handleSave}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexclearStyle" |
| | | style="margin-left: 10px" |
| | | label="取消" |
| | | onclick={closePop} |
| | | > |
| | | 取消 |
| | | </button> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexsearchStyle" |
| | | style="margin-left: 10px" |
| | | label="上传" |
| | | onclick={handleSave} |
| | | > |
| | | 上传 |
| | | </button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </template> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexclearStyle" style="margin-left: 10px;" label="取消" |
| | | onclick={closePop}>取消</button> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexsearchStyle" style="margin-left: 10px;" label="上传" |
| | | onclick={handleSave}>上传</button> |
| | | </footer> |
| | | </div> |
| | | </section> |
| | | <div class="slds-backdrop slds-backdrop_open"></div> |
| | | </template> |
| | | |
| | | <div class="outerBorderCss"> |
| | | <div style="padding: 5px"> |
| | | <template if:false={isShippingSales}> |
| | | <!-- 按钮 --> |
| | | <div class="borderCss"> |
| | | <div style="padding: 15px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <table> |
| | | <colgroup> |
| | | <col width="150px" /> |
| | | <col width="310px" /> |
| | | <col width="310px" /> |
| | | <col width="310px" /> |
| | | <col width="200px" /> |
| | | <col width="200px" /> |
| | | <col width="90px" /> |
| | | <col width="100px" /> |
| | | <col width="10px" /> |
| | | <col width="85px" /> |
| | | <col width="100px" /> |
| | | <col width="10px" /> |
| | | <col width="70px" /> |
| | | <col width="100px" /> |
| | | </colgroup> |
| | | <tr> |
| | | <td> |
| | | <template if:true={isSaveShow}> |
| | | <!-- <lightning-button label="保存" onclick={saveConfirmJs} |
| | | <div class="outerBorderCss"> |
| | | <div style="padding: 5px"> |
| | | <template if:false={isShippingSales}> |
| | | <!-- 按钮 --> |
| | | <div class="borderCss"> |
| | | <div style="padding: 15px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <table> |
| | | <colgroup> |
| | | <col width="150px" /> |
| | | <col width="310px" /> |
| | | <col width="310px" /> |
| | | <col width="310px" /> |
| | | <col width="200px" /> |
| | | <col width="200px" /> |
| | | <col width="90px" /> |
| | | <col width="100px" /> |
| | | <col width="10px" /> |
| | | <col width="85px" /> |
| | | <col width="100px" /> |
| | | <col width="10px" /> |
| | | <col width="70px" /> |
| | | <col width="100px" /> |
| | | </colgroup> |
| | | <tr> |
| | | <td> |
| | | <template if:true={isSaveShow}> |
| | | <!-- <lightning-button label="保存" onclick={saveConfirmJs} |
| | | style="width: 150px"></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={saveConfirmJs} |
| | | > |
| | | 保存 |
| | | </button> |
| | | </template> |
| | | </td> |
| | | <td colspan="4"> |
| | | <!-- <template if:true={isSaveShow}> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={saveConfirmJs}>保存</button> |
| | | </template> |
| | | </td> |
| | | <td colspan="4"> |
| | | <!-- <template if:true={isSaveShow}> |
| | | <lightning-button label="保存" onclick={saveConfirmJs} |
| | | style="width: 150px"></lightning-button> |
| | | </template> --> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td></td> |
| | | <td> |
| | | <template if:true={isEditShow}> |
| | | <!-- <lightning-button label="编辑出库单" onclick={EditConsumable} |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <td></td> |
| | | <td> |
| | | <template if:true={isEditShow}> |
| | | <!-- <lightning-button label="编辑出库单" onclick={EditConsumable} |
| | | style="width: 150px" disabled={isEditDisabled}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={EditConsumable} |
| | | disabled={isEditDisabled} |
| | | > |
| | | 编辑出库单 |
| | | </button> |
| | | </template> |
| | | </td> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={EditConsumable} disabled={isEditDisabled}>编辑出库单</button> |
| | | </template> |
| | | </td> |
| | | |
| | | <td> |
| | | <template if:true={isDeliveryShow}> |
| | | <!-- <lightning-button label="出货/销售" onclick={GoodsDeliveryJs} |
| | | <td> |
| | | <template if:true={isDeliveryShow}> |
| | | <!-- <lightning-button label="出货/销售" onclick={GoodsDeliveryJs} |
| | | style="width: 150px;" disabled={isDeliveryDisabled}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={GoodsDeliveryJs} |
| | | disabled={isDeliveryDisabled} |
| | | > |
| | | 出货/销售 |
| | | </button> |
| | | </template> |
| | | </td> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={GoodsDeliveryJs} disabled={isDeliveryDisabled}>出货/销售</button> |
| | | </template> |
| | | </td> |
| | | |
| | | <td> |
| | | <template if:true={isOpenToInvoiceShow}> |
| | | <!-- <lightning-button label="开票" onclick={openToInvoiceJs} style="width: 150px" |
| | | <td> |
| | | <template if:true={isOpenToInvoiceShow}> |
| | | <!-- <lightning-button label="开票" onclick={openToInvoiceJs} style="width: 150px" |
| | | disabled={isOpenToInvoiceDisabled}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={openToInvoiceJs} |
| | | disabled={isOpenToInvoiceDisabled} |
| | | > |
| | | 开票 |
| | | </button> |
| | | </template> |
| | | </td> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={openToInvoiceJs} disabled={isOpenToInvoiceDisabled}>开票</button> |
| | | </template> |
| | | </td> |
| | | |
| | | <td> |
| | | <template if:false={EditAble}> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={uploadOrder} |
| | | > |
| | | 上传附件 |
| | | </button> |
| | | </template> |
| | | </td> |
| | | </tr> |
| | | <tr style="height: 5px"></tr> |
| | | <tr> |
| | | <td></td> |
| | | <td> |
| | | <template if:true={isPraseToPDFShow}> |
| | | <!-- <lightning-button label="打印指示单" onclick={PraseToPDFJs} style="width: 150px" |
| | | <td> |
| | | <template if:false={EditAble}> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={uploadOrder}>上传附件</button> |
| | | </template> |
| | | </td> |
| | | </tr> |
| | | <tr style="height: 5px;"></tr> |
| | | <tr> |
| | | <td></td> |
| | | <td> |
| | | <template if:true={isPraseToPDFShow}> |
| | | <!-- <lightning-button label="打印指示单" onclick={PraseToPDFJs} style="width: 150px" |
| | | disabled={isPraseToPDFDisabled}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={PraseToPDFJs} |
| | | disabled={isPraseToPDFDisabled} |
| | | > |
| | | 打印指示单 |
| | | </button> |
| | | </template> |
| | | </td> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={PraseToPDFJs} disabled={isPraseToPDFDisabled}>打印指示单</button> |
| | | </template> |
| | | </td> |
| | | |
| | | <td> |
| | | <template if:true={isOpenReportShow}> |
| | | <!-- <lightning-button label="显示明细 " onclick={openReportJs} |
| | | <td> |
| | | |
| | | <template if:true={isOpenReportShow}> |
| | | <!-- <lightning-button label="显示明细 " onclick={openReportJs} |
| | | style="width: 150px" disabled={isOpenReportDisabled}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={openReportJs} |
| | | disabled={isOpenReportDisabled} |
| | | > |
| | | 显示明细 |
| | | </button> |
| | | </template> |
| | | </td> |
| | | <td> |
| | | <template if:true={isDeleteShow}> |
| | | <!-- <lightning-button label="删除" onclick={DeleteConsumable} style="width: 150px" |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={openReportJs} disabled={isOpenReportDisabled}>显示明细</button> |
| | | </template> |
| | | </td> |
| | | <td> |
| | | |
| | | <template if:true={isDeleteShow}> |
| | | <!-- <lightning-button label="删除" onclick={DeleteConsumable} style="width: 150px" |
| | | disabled={isDeleteDisabled}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={DeleteConsumable} |
| | | disabled={isDeleteDisabled} |
| | | > |
| | | 删除 |
| | | </button> |
| | | </template> |
| | | </td> |
| | | <td></td> |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 出库单信息 EditAble = true --> |
| | | <template if:true={EditAble}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <!-- SummonsStatus_c__c == '价格未定' --> |
| | | <template if:true={summonsStatusPriceNotDetermined}> |
| | | <lightning-record-edit-form |
| | | object-api-name="Consumable_order__c" |
| | | record-id={cocId} |
| | | onload={handleLoad} |
| | | > |
| | | <!-- 出库单号 出库单状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <template if:true={isSummonsFlag}> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field |
| | | field-name="Name" |
| | | class="hehe-layoutItem" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item |
| | | class="hehe-layoutItem" |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <lightning-output-field |
| | | field-name="SummonsStatus_c__c" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | |
| | | <!-- 目的 开票状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field |
| | | field-name="SummonsForDirction__c" |
| | | class="searchName" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item |
| | | class="hehe-layoutItem" |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <lightning-output-field |
| | | field-name="Billed_Status__c" |
| | | class="searchName" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | | <!-- 二级经销商 --> |
| | | <template if:true={isSummonsForDirctionTwoShow}> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field |
| | | field-name="Order_Dealer_Info__c" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </template> |
| | | |
| | | <!-- 客户名 发票--> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field |
| | | class="hideHelpText" |
| | | field-name="ShipmentAccount__c" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item |
| | | class="hehe-layoutItem" |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <lightning-input-field |
| | | data-field={ConInvoice_Code__c} |
| | | onchange={invoiceChange} |
| | | field-name="ConInvoice_Code__c" |
| | | class="inputFont" |
| | | ></lightning-input-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | | <!-- 科室 出库金额 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field |
| | | field-name="Order_ForCustomerText__c" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item |
| | | class="hehe-layoutItem" |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <lightning-output-field |
| | | field-name="Shipment_total_amount__c" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | | <!-- 没有确定价格 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field |
| | | field-name="NoConfirmedPrice__c" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </lightning-record-edit-form> |
| | | </template> |
| | | |
| | | <!-- SummonsStatus_c__c != '价格未定' --> |
| | | <template if:false={summonsStatusPriceNotDetermined}> |
| | | <lightning-record-edit-form |
| | | object-api-name="Consumable_order__c" |
| | | record-id={cocId} |
| | | onsubmit={handleSubmit} |
| | | onload={handleLoad} |
| | | > |
| | | <!-- 出库单号 出库单状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <template if:true={isSummonsFlag}> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field |
| | | field-name="Name" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item |
| | | class="hehe-layoutItem" |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <lightning-output-field |
| | | field-name="SummonsStatus_c__c" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | |
| | | <!-- 目的 二级经销商 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-input-field |
| | | data-field="summonsForDirction" |
| | | value={summonsForDirction} |
| | | field-name="SummonsForDirction__c" |
| | | required="true" |
| | | onchange={ChangeDirction} |
| | | class="inputFont" |
| | | ></lightning-input-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item |
| | | class="hehe-layoutItem" |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <lightning-combobox |
| | | data-field="secondaryDistributor" |
| | | name="secondaryDistributor" |
| | | label="二级经销商" |
| | | value={secondaryDistributor} |
| | | placeholder="请选择..." |
| | | options={secondaryDistributorOptions} |
| | | variant="label-inline" |
| | | onchange={dataChange} |
| | | disabled={isDisabledSecondaryDistributor} |
| | | class="inputFont" |
| | | ></lightning-combobox> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | | <!-- 客户名 经销商录入 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <div |
| | | class="slds-form-element__control slds-input-has-icon slds-input-has-icon_right" |
| | | > |
| | | <lightning-icon |
| | | size="x-small" |
| | | class="iconMargin slds-icon slds-input__icon slds-input__icon_right slds-icon-text-default" |
| | | icon-name="utility:search" |
| | | ></lightning-icon> |
| | | <lightning-input |
| | | type="text" |
| | | name="HospitalName" |
| | | label="客户名" |
| | | value={HospitalName} |
| | | variant="label-inline" |
| | | onclick={searchHospitalNameModal} |
| | | data-field="HospitalName" |
| | | disabled={isDisabledHospitalName} |
| | | onchange={clearAgencyI} |
| | | class="inputFont" |
| | | ></lightning-input> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={DeleteConsumable} disabled={isDeleteDisabled}>删除</button> |
| | | </template> |
| | | </td> |
| | | <td></td> |
| | | </tr> |
| | | </table> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </div> |
| | | </div> |
| | | |
| | | <lightning-layout-item |
| | | class="hehe-layoutItem" |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <template if:true={isMutualTransferGoods}> |
| | | <c-lex-lookup |
| | | onsearch={handleSearch} |
| | | onselectionchange={handleSelectionChange} |
| | | label="经销商(录入)" |
| | | variant="label-inline" |
| | | placeholder="搜索经销商" |
| | | onisdisabledfordealertext={isDisabledForDealerText} |
| | | account-value={accountValue} |
| | | onblur={vpClear2Delay} |
| | | disabled={isDisabledForDealerText} |
| | | class="inputFont" |
| | | > |
| | | </c-lex-lookup> |
| | | </template> |
| | | <template if:false={isMutualTransferGoods}> |
| | | <lightning-input |
| | | type="text" |
| | | name="Order_ForDealerText__c" |
| | | label="经销商(录入)" |
| | | value={ForDealerText} |
| | | onchange={dataChange} |
| | | data-field="Order_ForDealerText__c" |
| | | disabled={isDisabledForDealerText} |
| | | variant="label-inline" |
| | | class="inputFont" |
| | | > |
| | | </lightning-input> |
| | | </template> |
| | | </lightning-layout-item> |
| | | <!-- 出库单信息 EditAble = true --> |
| | | <template if:true={EditAble}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <!-- SummonsStatus_c__c == '价格未定' --> |
| | | <template if:true={summonsStatusPriceNotDetermined}> |
| | | <lightning-record-edit-form object-api-name="Consumable_order__c" record-id={cocId} |
| | | onload={handleLoad}> |
| | | <!-- 出库单号 出库单状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <template if:true={isSummonsFlag}> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field field-name="Name" |
| | | class="hehe-layoutItem"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <!-- 科室 总金额 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | <lightning-layout-item class="hehe-layoutItem" size="5" |
| | | style="padding-left: 100px;"> |
| | | <lightning-output-field |
| | | field-name="SummonsStatus_c__c"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-input-field |
| | | onchange={dataChange} |
| | | data-field="ForCustomerText" |
| | | value={ForCustomerText} |
| | | field-name="Order_ForCustomerText__c" |
| | | disabled={isDisabledForCustomerText} |
| | | class="inputFont" |
| | | ></lightning-input-field> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item |
| | | class="hehe-layoutItem" |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <lightning-input |
| | | type="text" |
| | | name="sumPrice" |
| | | label="总金额" |
| | | value={sumPrice} |
| | | variant="label-inline" |
| | | onchange={dataChange} |
| | | data-field="sumPrice" |
| | | readonly |
| | | ></lightning-input> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | </template> |
| | | </lightning-layout> |
| | | |
| | | <!-- 没有确定价格 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | <!-- 目的 开票状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-input-field |
| | | value={NoConfirmedPrice} |
| | | field-name="NoConfirmedPrice__c" |
| | | data-field="NoConfirmedPrice" |
| | | onchange={dataChange} |
| | | ></lightning-input-field> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </lightning-record-edit-form> |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field field-name="SummonsForDirction__c" |
| | | class="searchName"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5" |
| | | style="padding-left: 100px;"> |
| | | <lightning-output-field field-name="Billed_Status__c" |
| | | class="searchName"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | |
| | | </lightning-layout> |
| | | |
| | | <!-- 二级经销商 --> |
| | | <template if:true={isSummonsForDirctionTwoShow}> |
| | | <lightning-layout multiple-rows="true"> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field |
| | | field-name="Order_Dealer_Info__c"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | |
| | | </lightning-layout> |
| | | </template> |
| | | |
| | | <!-- 客户名 发票--> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field class="hideHelpText" |
| | | field-name="ShipmentAccount__c"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5" |
| | | style="padding-left: 100px;"> |
| | | <lightning-input-field data-field={ConInvoice_Code__c} |
| | | onchange={invoiceChange} field-name="ConInvoice_Code__c" |
| | | class="inputFont"></lightning-input-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | |
| | | </lightning-layout> |
| | | |
| | | <!-- 科室 出库金额 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field |
| | | field-name="Order_ForCustomerText__c"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5" |
| | | style="padding-left: 100px;"> |
| | | <lightning-output-field |
| | | field-name="Shipment_total_amount__c"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | |
| | | </lightning-layout> |
| | | |
| | | <!-- 没有确定价格 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field |
| | | field-name="NoConfirmedPrice__c"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | |
| | | </lightning-layout> |
| | | </lightning-record-edit-form> |
| | | </template> |
| | | |
| | | <!-- SummonsStatus_c__c != '价格未定' --> |
| | | <template if:false={summonsStatusPriceNotDetermined}> |
| | | <lightning-record-edit-form object-api-name="Consumable_order__c" record-id={cocId} |
| | | onsubmit={handleSubmit} onload={handleLoad}> |
| | | <!-- 出库单号 出库单状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <template if:true={isSummonsFlag}> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-output-field field-name="Name"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5" |
| | | style="padding-left: 100px;"> |
| | | <lightning-output-field |
| | | field-name="SummonsStatus_c__c"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | |
| | | <!-- 目的 二级经销商 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-input-field data-field="summonsForDirction" |
| | | value={summonsForDirction} field-name="SummonsForDirction__c" |
| | | required="true" onchange={ChangeDirction} |
| | | class="inputFont"></lightning-input-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5" |
| | | style="padding-left: 100px;"> |
| | | <lightning-combobox data-field="secondaryDistributor" |
| | | name="secondaryDistributor" label="二级经销商" |
| | | value={secondaryDistributor} placeholder="请选择..." |
| | | options={secondaryDistributorOptions} variant="label-inline" |
| | | onchange={dataChange} disabled={isDisabledSecondaryDistributor} |
| | | class="inputFont"></lightning-combobox> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | |
| | | </lightning-layout> |
| | | |
| | | <!-- 客户名 经销商录入 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <div |
| | | class="slds-form-element__control slds-input-has-icon slds-input-has-icon_right"> |
| | | <lightning-icon size="x-small" |
| | | class="iconMargin slds-icon slds-input__icon slds-input__icon_right slds-icon-text-default" |
| | | icon-name="utility:search"></lightning-icon> |
| | | <lightning-input type="text" name="HospitalName" label="客户名" |
| | | value={HospitalName} variant="label-inline" |
| | | onclick={searchHospitalNameModal} data-field="HospitalName" |
| | | disabled={isDisabledHospitalName} onchange={clearAgencyI} |
| | | class="inputFont"></lightning-input> |
| | | </div> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5" |
| | | style="padding-left: 100px;"> |
| | | <template if:true={isMutualTransferGoods}> |
| | | <c-lex-lookup onsearch={handleSearch} |
| | | onselectionchange={handleSelectionChange} label="经销商(录入)" |
| | | variant="label-inline" placeholder="搜索经销商" |
| | | onisdisabledfordealertext={isDisabledForDealerText} |
| | | account-value={accountValue} onblur={vpClear2Delay} |
| | | disabled={isDisabledForDealerText} class="inputFont"> |
| | | </c-lex-lookup> |
| | | </template> |
| | | <template if:false={isMutualTransferGoods}> |
| | | <lightning-input type="text" name="Order_ForDealerText__c" |
| | | label="经销商(录入)" value={ForDealerText} onchange={dataChange} |
| | | data-field="Order_ForDealerText__c" |
| | | disabled={isDisabledForDealerText} variant="label-inline" |
| | | class="inputFont"> |
| | | </lightning-input> |
| | | </template> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | |
| | | </lightning-layout> |
| | | |
| | | <!-- 科室 总金额 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-input-field onchange={dataChange} |
| | | data-field="ForCustomerText" value={ForCustomerText} |
| | | field-name="Order_ForCustomerText__c" |
| | | disabled={isDisabledForCustomerText} |
| | | class="inputFont"></lightning-input-field> |
| | | </lightning-layout-item> |
| | | |
| | | |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5" |
| | | style="padding-left: 100px;"> |
| | | <lightning-input type="text" name="sumPrice" label="总金额" |
| | | value={sumPrice} variant="label-inline" onchange={dataChange} |
| | | data-field="sumPrice" readonly></lightning-input> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | | <!-- 没有确定价格 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="5"> |
| | | <lightning-input-field value={NoConfirmedPrice} |
| | | field-name="NoConfirmedPrice__c" data-field="NoConfirmedPrice" |
| | | onchange={dataChange}></lightning-input-field> |
| | | </lightning-layout-item> |
| | | |
| | | |
| | | |
| | | </lightning-layout> |
| | | </lightning-record-edit-form> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <!-- 出库单信息 EditAble = false --> |
| | | <template if:false={EditAble}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-record-edit-form |
| | | object-api-name="Consumable_order__c" |
| | | record-id={cocId} |
| | | onload={handleLoad2} |
| | | > |
| | | <!-- 出库单号 出库单状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <template if:true={isSummonsFlag}> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | <!-- 出库单信息 EditAble = false --> |
| | | <template if:false={EditAble}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-record-edit-form object-api-name="Consumable_order__c" record-id={cocId} |
| | | onload={handleLoad2}> |
| | | <!-- 出库单号 出库单状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <template if:true={isSummonsFlag}> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field |
| | | field-name="Name" |
| | | class="hehe-layoutItem" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field field-name="Name" |
| | | class="hehe-layoutItem"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <lightning-output-field |
| | | field-name="SummonsStatus_c__c" |
| | | class="hehe-layoutItem" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | |
| | | <!-- 目的 开票状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | <lightning-layout-item size="5" style="padding-left: 100px;"> |
| | | <lightning-output-field field-name="SummonsStatus_c__c" |
| | | class="hehe-layoutItem"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field |
| | | field-name="SummonsForDirction__c" |
| | | class="hehe-layoutItem" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | |
| | | <lightning-layout-item size="5" style="padding-left: 100px"> |
| | | <lightning-output-field |
| | | field-name="Billed_Status__c" |
| | | class="hehe-layoutItem" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | <!-- 目的 开票状态 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field field-name="SummonsForDirction__c" |
| | | class="hehe-layoutItem"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <!-- 二级经销商 --> |
| | | <template if:true={isSummonsForDirctionTwoShow}> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | <lightning-layout-item size="5" style="padding-left: 100px;"> |
| | | <lightning-output-field field-name="Billed_Status__c" |
| | | class="hehe-layoutItem"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field |
| | | field-name="Order_Dealer_Info__c" |
| | | class="hehe-layoutItem" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </template> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <!-- 客户名 发票--> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5" class="hehe-layoutItem"> |
| | | <lightning-output-field |
| | | class="hideHelpText" |
| | | field-name="ShipmentAccount__c" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | | <template if:true={isConInvoiceShow}> |
| | | <lightning-layout-item |
| | | size="5" |
| | | style="padding-left: 100px" |
| | | > |
| | | <lightning-input-field |
| | | data-field={ConInvoice_Code__c} |
| | | onchange={invoiceChange} |
| | | field-name="ConInvoice_Code__c" |
| | | class="hehe-layoutItem inputFont" |
| | | ></lightning-input-field> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <!-- 二级经销商 --> |
| | | <template if:true={isSummonsForDirctionTwoShow}> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field field-name="Order_Dealer_Info__c" |
| | | class="hehe-layoutItem"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </template> |
| | | |
| | | <!-- 科室 出库金额 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | <!-- 客户名 发票--> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field |
| | | field-name="Order_ForCustomerText__c" |
| | | class="hehe-layoutItem" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item size="5" class="hehe-layoutItem"> |
| | | <lightning-output-field class="hideHelpText" |
| | | field-name="ShipmentAccount__c"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5" style="padding-left: 100px"> |
| | | <lightning-output-field |
| | | field-name="Shipment_total_amount__c" |
| | | class="hehe-layoutItem" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | <template if:true={isConInvoiceShow}> |
| | | <lightning-layout-item size="5" style="padding-left: 100px;"> |
| | | <lightning-input-field data-field={ConInvoice_Code__c} |
| | | onchange={invoiceChange} field-name="ConInvoice_Code__c" |
| | | class="hehe-layoutItem inputFont"></lightning-input-field> |
| | | </lightning-layout-item> |
| | | </template> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | </lightning-layout> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <!-- 没有确定价格 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field |
| | | field-name="NoConfirmedPrice__c" |
| | | class="hehe-layoutItem" |
| | | ></lightning-output-field> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </lightning-layout> |
| | | |
| | | <!-- 附件预览 --> |
| | | <template if:false={EditAble}> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"> </lightning-layout-item> |
| | | <lightning-layout-item size="10"> |
| | | <lightning-card |
| | | class="attListTitle" |
| | | variant="Narrow" |
| | | title="附件列表" |
| | | icon-name="utility:attach" |
| | | > |
| | | <lightning-layout slot="footer" multiple-rows="true"> |
| | | <template |
| | | for:each={fileData} |
| | | for:item="item" |
| | | for:index="index" |
| | | > |
| | | <lightning-layout-item |
| | | padding="around-none" |
| | | size="2" |
| | | key={item.recordId} |
| | | style=" |
| | | text-align: left; |
| | | padding: 5px; |
| | | word-wrap: break-word; |
| | | word-break: break-all; |
| | | " |
| | | > |
| | | <lightning-icon |
| | | title={item.Title} |
| | | style="margin-left: 20px" |
| | | icon-name="doctype:gform" |
| | | alternative-text={item.Title} |
| | | size="large" |
| | | ></lightning-icon |
| | | ><br /> |
| | | <div |
| | | title={item.Title} |
| | | style=" |
| | | width: 100px; |
| | | text-overflow: ellipsis; |
| | | overflow: hidden; |
| | | white-space: nowrap; |
| | | " |
| | | > |
| | | {item.Title} |
| | | </div> |
| | | <p> |
| | | <!-- <a data-fileid ={item.documentId} onclick={previweAtt}> --> |
| | | <a href={item.attUrl} target="_blank"> |
| | | 预览 </a |
| | | > · |
| | | <a href={item.downloadUrl}> 下载 </a |
| | | > · |
| | | <a data-fileid={item.Id} onclick={deleteAtt}> |
| | | 删除 |
| | | </a> |
| | | <!-- 科室 出库金额 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field field-name="Order_ForCustomerText__c" |
| | | class="hehe-layoutItem"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5" style="padding-left: 100px;"> |
| | | <lightning-output-field field-name="Shipment_total_amount__c" |
| | | class="hehe-layoutItem"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | |
| | | </lightning-layout> |
| | | |
| | | <!-- 没有确定价格 --> |
| | | <lightning-layout multiple-rows="true"> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="5"> |
| | | <lightning-output-field field-name="NoConfirmedPrice__c" |
| | | class="hehe-layoutItem"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | | <!-- 附件预览 --> |
| | | <template if:false={EditAble}> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item size="10"> |
| | | <lightning-card class="attListTitle" variant="Narrow" title="附件列表" |
| | | icon-name="utility:attach"> |
| | | |
| | | <lightning-layout slot="footer" multiple-rows="true"> |
| | | <template for:each={fileData} for:item="item" for:index="index"> |
| | | <lightning-layout-item padding="around-none" size="2" |
| | | key={item.recordId} |
| | | style="text-align: left;padding:5px;word-wrap:break-word; word-break:break-all;"> |
| | | <lightning-icon title={item.Title} |
| | | style="margin-left: 20px;" icon-name="doctype:gform" |
| | | alternative-text={item.Title} |
| | | size="large"></lightning-icon><br /> |
| | | <div title={item.Title} style="width: 100px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;"> |
| | | {item.Title} |
| | | </div> |
| | | <p> |
| | | <!-- <a data-fileid ={item.documentId} onclick={previweAtt}> --> |
| | | <a href={item.attUrl} target="_blank"> |
| | | 预览 |
| | | </a> · |
| | | <a href={item.downloadUrl}> |
| | | 下载 |
| | | </a> · |
| | | <a data-fileid={item.Id} onclick={deleteAtt}> |
| | | 删除 |
| | | </a> |
| | | </p> |
| | | <!-- <p>{item.updateDate} · {item.ownerName}</p> --> |
| | | </lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | </lightning-card> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </template> |
| | | |
| | | </lightning-record-edit-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <!-- 检索 --> |
| | | <template if:true={isSearchShow}> |
| | | <div class="borderCss"> |
| | | <div style="padding: 3px;"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-layout multiple-rows style="margin-top: 10px;"> |
| | | <lightning-layout-item style="padding-left: 10px;" flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label">消耗品名称</div> |
| | | <lightning-input type="text" name="consumableName" label="消耗品名称" |
| | | value={consumableName} variant="label-hidden" onchange={dataChange} |
| | | data-field="consumableName" class="inputFont" |
| | | style="width:150px"></lightning-input> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width:80px">第3分类</div> |
| | | <lightning-combobox name="progress" label="第3分类" value={Category3} |
| | | variant="label-hidden" options={category3Options} onchange={dataChange} |
| | | data-field="Category3" style="min-width: 120px;" |
| | | class="inputFont"></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width:80px">第4分类</div> |
| | | <lightning-combobox name="progress" label="第4分类" value={Category4} |
| | | variant="label-hidden" options={category4Options} onchange={dataChange} |
| | | data-field="Category4" style="min-width: 120px;" |
| | | class="inputFont"></lightning-combobox> |
| | | </div> |
| | | |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width:80px">第5分类</div> |
| | | <lightning-combobox name="progress" label="第5分类" value={Category5} |
| | | variant="label-hidden" onchange={dataChange} data-field="Category5" |
| | | options={category5Options} style="min-width: 120px;" |
| | | class="inputFont"></lightning-combobox> |
| | | </div> |
| | | |
| | | </lightning-layout-item> |
| | | <template if:true={hasHosPro}> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label">医院特价</div> |
| | | <lightning-combobox name="progress" label="医院特价" value={outOutPattern} |
| | | variant="label-hidden" options={outOutPatternOptionList} |
| | | onchange={dataChange} data-field="outOutPattern" |
| | | style="min-width: 120px;" class="inputFont"></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | |
| | | <lightning-layout multiple-rows style="margin-top: 10px;"> |
| | | <lightning-layout-item style="padding-left: 10px;visibility:hidden;" |
| | | flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label">消耗品名称</div> |
| | | <lightning-input type="text" name="consumableName" label="消耗品名称" |
| | | value={consumableName} variant="label-hidden" onchange={dataChange} |
| | | data-field="consumableName" class="inputFont" |
| | | style="width:150px"></lightning-input> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto" style="visibility:hidden;"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width:80px">第3分类</div> |
| | | <lightning-combobox name="progress" label="第3分类" value={Category3} |
| | | variant="label-hidden" options={category3Options} onchange={dataChange} |
| | | data-field="Category3" style="min-width: 120px;" |
| | | class="inputFont"></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto" style="visibility:hidden;"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width:80px">第4分类</div> |
| | | <lightning-combobox name="progress" label="第4分类" value={Category4} |
| | | variant="label-hidden" options={category4Options} onchange={dataChange} |
| | | data-field="Category4" style="min-width: 120px;" |
| | | class="inputFont"></lightning-combobox> |
| | | </div> |
| | | |
| | | </lightning-layout-item> |
| | | <template if:false={hasHosPro}> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder lexsearchStyle" |
| | | onclick={searchProductJs} |
| | | style="min-width: 80px;max-width: 100px;">检索</button> |
| | | <button style="margin-left:10px;min-width: 80px;max-width: 100px;" |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder lexclearStyle" |
| | | onclick={ClearJs}>清空</button> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <template if:true={hasHosPro}> |
| | | <lightning-layout-item flexibility="auto" style="visibility:hidden;"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width:80px">第5分类</div> |
| | | <lightning-combobox name="progress" label="第5分类" value={Category5} |
| | | variant="label-hidden" onchange={dataChange} data-field="Category5" |
| | | options={category5Options} style="min-width: 120px;" |
| | | class="inputFont"></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder lexsearchStyle" |
| | | onclick={searchProductJs} |
| | | style="min-width: 80px;max-width: 110px;">检索</button> |
| | | <button style="margin-left:10px;min-width: 80px;max-width: 110px;" |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder lexclearStyle" |
| | | onclick={ClearJs}>清空</button> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <!-- 出库单明细 --> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库单明细</strong> |
| | | </p> |
| | | <!-- <p>{item.updateDate} · {item.ownerName}</p> --> |
| | | </lightning-layout-item> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <template if:true={EditAble}> |
| | | <template if:true={showTable}> |
| | | <c-lex-custom-lightning-datatable key-field="Id" data={data} columns={columns} |
| | | hide-checkbox-column={hideCheckboxColumn} onunitchange={handleUnitChange} |
| | | onshipmentnumber={handleShipmentNumber} |
| | | onshipmentunitprice={handleShipmentUnitPrice} onrowselection={getSelectedRows} |
| | | selected-rows={selectedRows} default-sort-direction={defaultSortDirection} |
| | | sorted-direction={sortDirection} sorted-by={sortedBy} onsort={onHandleSort} |
| | | style="word-wrap:break-word; word-break:break-all; " |
| | | class="wrapped-header-datatable slds-is-selected"> |
| | | </c-lex-custom-lightning-datatable> |
| | | </template> |
| | | </lightning-layout> |
| | | </lightning-card> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </template> |
| | | </lightning-record-edit-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <c-paginator onprevious={handlePrevious} onnext={handleNext} |
| | | onpageschange={handlePageschange} onfirst={handleFirst} onlast={handleLast} |
| | | page-size-options={pageSizeOptions} previous-button-disabled={previousButtonDisabled} |
| | | next-button-disabled={nextButtonDisabled} record-start={recordStart} |
| | | record-end={recordEnd} total-records={totalRecords}></c-paginator> |
| | | </template> |
| | | |
| | | <!-- 检索 --> |
| | | <template if:true={isSearchShow}> |
| | | <div class="borderCss"> |
| | | <div style="padding: 3px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-layout multiple-rows style="margin-top: 10px"> |
| | | <lightning-layout-item |
| | | style="padding-left: 10px" |
| | | flexibility="auto" |
| | | > |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label">消耗品名称</div> |
| | | <lightning-input |
| | | type="text" |
| | | name="consumableName" |
| | | label="消耗品名称" |
| | | value={consumableName} |
| | | variant="label-hidden" |
| | | onchange={dataChange} |
| | | data-field="consumableName" |
| | | class="inputFont" |
| | | style="width: 150px" |
| | | ></lightning-input> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width: 80px"> |
| | | 第3分类 |
| | | </div> |
| | | <lightning-combobox |
| | | name="progress" |
| | | label="第3分类" |
| | | value={Category3} |
| | | variant="label-hidden" |
| | | options={category3Options} |
| | | onchange={dataChange} |
| | | data-field="Category3" |
| | | style="min-width: 120px" |
| | | class="inputFont" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width: 80px"> |
| | | 第4分类 |
| | | </div> |
| | | <lightning-combobox |
| | | name="progress" |
| | | label="第4分类" |
| | | value={Category4} |
| | | variant="label-hidden" |
| | | options={category4Options} |
| | | onchange={dataChange} |
| | | data-field="Category4" |
| | | style="min-width: 120px" |
| | | class="inputFont" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width: 80px"> |
| | | 第5分类 |
| | | </div> |
| | | <lightning-combobox |
| | | name="progress" |
| | | label="第5分类" |
| | | value={Category5} |
| | | variant="label-hidden" |
| | | onchange={dataChange} |
| | | data-field="Category5" |
| | | options={category5Options} |
| | | style="min-width: 120px" |
| | | class="inputFont" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <template if:true={hasHosPro}> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label">医院特价</div> |
| | | <lightning-combobox |
| | | name="progress" |
| | | label="医院特价" |
| | | value={outOutPattern} |
| | | variant="label-hidden" |
| | | options={outOutPatternOptionList} |
| | | onchange={dataChange} |
| | | data-field="outOutPattern" |
| | | style="min-width: 120px" |
| | | class="inputFont" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | <template if:false={EditAble}> |
| | | <template if:true={showTable}> |
| | | <c-lex-custom-lightning-datatable hide-checkbox-column key-field="Id" data={editData} |
| | | columns={editColumns} onunitchange={handleUnitChange} |
| | | onshipmentnumber={handleShipmentNumber} |
| | | onshipmentunitprice={handleShipmentUnitPrice} onrowselection={getSelectedRows} |
| | | selected-rows={selectedRows} default-sort-direction={defaultSortDirection} |
| | | sorted-direction={sortDirection} sorted-by={sortedBy} onsort={onHandleSort} |
| | | style="word-wrap:break-word; word-break:break-all; " |
| | | class="wrapped-header-datatable slds-is-selected"> |
| | | </c-lex-custom-lightning-datatable> |
| | | <c-paginator onprevious={editHandlePrevious} onnext={editHandleNext} |
| | | onpageschange={editHandlePageschange} onfirst={editHandleFirst} |
| | | onlast={editHandleLast} page-size-options={pageSizeOptions} |
| | | previous-button-disabled={previousButtonDisabled} |
| | | next-button-disabled={nextButtonDisabled} record-start={recordStart} |
| | | record-end={recordEnd} total-records={totalRecords}></c-paginator> |
| | | </template> |
| | | </template> |
| | | |
| | | <lightning-layout multiple-rows style="margin-top: 10px"> |
| | | <lightning-layout-item |
| | | style="padding-left: 10px; visibility: hidden" |
| | | flexibility="auto" |
| | | > |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label">消耗品名称</div> |
| | | <lightning-input |
| | | type="text" |
| | | name="consumableName" |
| | | label="消耗品名称" |
| | | value={consumableName} |
| | | variant="label-hidden" |
| | | onchange={dataChange} |
| | | data-field="consumableName" |
| | | class="inputFont" |
| | | style="width: 150px" |
| | | ></lightning-input> |
| | | <template if:true={isEditShowSpinner}> |
| | | <lightning-spinner alternative-text="Uploading now"></lightning-spinner> |
| | | </template> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item |
| | | flexibility="auto" |
| | | style="visibility: hidden" |
| | | > |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width: 80px"> |
| | | 第3分类 |
| | | </div> |
| | | <lightning-combobox |
| | | name="progress" |
| | | label="第3分类" |
| | | value={Category3} |
| | | variant="label-hidden" |
| | | options={category3Options} |
| | | onchange={dataChange} |
| | | data-field="Category3" |
| | | style="min-width: 120px" |
| | | class="inputFont" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item |
| | | flexibility="auto" |
| | | style="visibility: hidden" |
| | | > |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width: 80px"> |
| | | 第4分类 |
| | | </div> |
| | | <lightning-combobox |
| | | name="progress" |
| | | label="第4分类" |
| | | value={Category4} |
| | | variant="label-hidden" |
| | | options={category4Options} |
| | | onchange={dataChange} |
| | | data-field="Category4" |
| | | style="min-width: 120px" |
| | | class="inputFont" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <template if:false={hasHosPro}> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder lexsearchStyle" |
| | | onclick={searchProductJs} |
| | | style="min-width: 80px; max-width: 100px" |
| | | > |
| | | 检索 |
| | | </button> |
| | | <button |
| | | style=" |
| | | margin-left: 10px; |
| | | min-width: 80px; |
| | | max-width: 100px; |
| | | " |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder lexclearStyle" |
| | | onclick={ClearJs} |
| | | > |
| | | 清空 |
| | | </button> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <template if:true={hasHosPro}> |
| | | <lightning-layout-item |
| | | flexibility="auto" |
| | | style="visibility: hidden" |
| | | > |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div |
| | | class="slds-form-element__label" |
| | | style="width: 80px" |
| | | > |
| | | 第5分类 |
| | | </div> |
| | | |
| | | <!-- 出库产品明细 --> |
| | | <template if:true={isShowOutboundProductDetails}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库产品明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <lightning-combobox |
| | | name="progress" |
| | | label="第5分类" |
| | | value={Category5} |
| | | variant="label-hidden" |
| | | onchange={dataChange} |
| | | data-field="Category5" |
| | | options={category5Options} |
| | | style="min-width: 120px" |
| | | class="inputFont" |
| | | ></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder lexsearchStyle" |
| | | onclick={searchProductJs} |
| | | style="min-width: 80px; max-width: 110px" |
| | | > |
| | | 检索 |
| | | </button> |
| | | <button |
| | | style=" |
| | | margin-left: 10px; |
| | | min-width: 80px; |
| | | max-width: 110px; |
| | | " |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder lexclearStyle" |
| | | onclick={ClearJs} |
| | | > |
| | | 清空 |
| | | </button> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </template> |
| | | </lightning-layout> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <div style="padding: 7px"> |
| | | <lightning-datatable key-field="id" data={consumableorderdetails2Records} |
| | | columns={consumableorderdetails2RecordsColumns} hide-checkbox-column |
| | | class="wrapped-header-datatable"> |
| | | </lightning-datatable> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <!-- 出库单明细 --> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库单明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <template if:true={EditAble}> |
| | | <template if:true={showTable}> |
| | | <c-lex-custom-lightning-datatable |
| | | key-field="Id" |
| | | data={data} |
| | | columns={columns} |
| | | hide-checkbox-column={hideCheckboxColumn} |
| | | onunitchange={handleUnitChange} |
| | | onshipmentnumber={handleShipmentNumber} |
| | | onshipmentunitprice={handleShipmentUnitPrice} |
| | | onrowselection={getSelectedRows} |
| | | selected-rows={selectedRows} |
| | | default-sort-direction={defaultSortDirection} |
| | | sorted-direction={sortDirection} |
| | | sorted-by={sortedBy} |
| | | onsort={onHandleSort} |
| | | style="word-wrap: break-word; word-break: break-all" |
| | | class="wrapped-header-datatable slds-is-selected" |
| | | > |
| | | </c-lex-custom-lightning-datatable> |
| | | </template> |
| | | <c-paginator |
| | | onprevious={handlePrevious} |
| | | onnext={handleNext} |
| | | onpageschange={handlePageschange} |
| | | onfirst={handleFirst} |
| | | onlast={handleLast} |
| | | page-size-options={pageSizeOptions} |
| | | previous-button-disabled={previousButtonDisabled} |
| | | next-button-disabled={nextButtonDisabled} |
| | | record-start={recordStart} |
| | | record-end={recordEnd} |
| | | total-records={totalRecords} |
| | | ></c-paginator> |
| | | </template> |
| | | |
| | | <template if:false={EditAble}> |
| | | <template if:true={showTable}> |
| | | <c-lex-custom-lightning-datatable |
| | | hide-checkbox-column |
| | | key-field="Id" |
| | | data={editData} |
| | | columns={editColumns} |
| | | onunitchange={handleUnitChange} |
| | | onshipmentnumber={handleShipmentNumber} |
| | | onshipmentunitprice={handleShipmentUnitPrice} |
| | | onrowselection={getSelectedRows} |
| | | selected-rows={selectedRows} |
| | | default-sort-direction={defaultSortDirection} |
| | | sorted-direction={sortDirection} |
| | | sorted-by={sortedBy} |
| | | onsort={onHandleSort} |
| | | style="word-wrap: break-word; word-break: break-all" |
| | | class="wrapped-header-datatable slds-is-selected" |
| | | > |
| | | </c-lex-custom-lightning-datatable> |
| | | <c-paginator |
| | | onprevious={editHandlePrevious} |
| | | onnext={editHandleNext} |
| | | onpageschange={editHandlePageschange} |
| | | onfirst={editHandleFirst} |
| | | onlast={editHandleLast} |
| | | page-size-options={pageSizeOptions} |
| | | previous-button-disabled={previousButtonDisabled} |
| | | next-button-disabled={nextButtonDisabled} |
| | | record-start={recordStart} |
| | | record-end={recordEnd} |
| | | total-records={totalRecords} |
| | | ></c-paginator> |
| | | </template> |
| | | </template> |
| | | |
| | | <template if:true={isEditShowSpinner}> |
| | | <lightning-spinner |
| | | alternative-text="Uploading now" |
| | | ></lightning-spinner> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 出库产品明细 --> |
| | | <template if:true={isShowOutboundProductDetails}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库产品明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <lightning-datatable |
| | | key-field="id" |
| | | data={consumableorderdetails2Records} |
| | | columns={consumableorderdetails2RecordsColumns} |
| | | hide-checkbox-column |
| | | class="wrapped-header-datatable" |
| | | > |
| | | </lightning-datatable> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <!-- 上传附件 --> |
| | | <!-- <template if:false={EditAble}> |
| | | <!-- 上传附件 --> |
| | | <!-- <template if:false={EditAble}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | |
| | | </div> |
| | | </div> |
| | | </template> --> |
| | | </template> |
| | | </template> |
| | | |
| | | <!-- 出货/销售 --> |
| | | <template if:true={isShippingSales}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出货管理</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-layout multiple-rows="true" style="height: 50px"> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | </lightning-layout-item> |
| | | <template if:true={isSales}> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <!-- <lightning-button label="销售" onclick={SaveP} |
| | | style="margin-top:-10px"></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SaveP} |
| | | > |
| | | 销售 |
| | | </button> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <template if:false={isSales}> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <!-- <lightning-button label="出货" onclick={SaveE}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SaveE} |
| | | > |
| | | 出货 |
| | | </button> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | | <template if:true={isShowInformation}> |
| | | <div class="borderCss" style="margin-top: 5px"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-record-edit-form |
| | | object-api-name="Consumable_order__c" |
| | | record-id={cocId} |
| | | onload={handleLoad2} |
| | | > |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item |
| | | size="3" |
| | | padding="around-small" |
| | | > |
| | | <!-- <lightning-output-field field-name="Name"></lightning-output-field> --> |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | | > |
| | | <div |
| | | class="slds-form-element__label" |
| | | style="padding: 0px" |
| | | > |
| | | 出库单号: |
| | | </div> |
| | | <lightning-output-field |
| | | field-name="Name" |
| | | variant="label-hidden" |
| | | ></lightning-output-field> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item |
| | | size="4" |
| | | padding="around-small" |
| | | > |
| | | <!-- <lightning-output-field |
| | | field-name="ShipmentAccount__c" class="hideHelpText"></lightning-output-field> --> |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center hehe-layoutItem" |
| | | > |
| | | <div |
| | | class="slds-form-element__label" |
| | | style="padding: 0px" |
| | | > |
| | | 客户名: |
| | | </div> |
| | | <lightning-output-field |
| | | field-name="ShipmentAccount__c" |
| | | variant="label-hidden" |
| | | ></lightning-output-field> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item |
| | | size="2" |
| | | padding="around-small" |
| | | > |
| | | <!-- <lightning-output-field |
| | | field-name="Order_ForCustomerText__c"></lightning-output-field> --> |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | | > |
| | | <div |
| | | class="slds-form-element__label" |
| | | style="padding: 0px" |
| | | > |
| | | 科室: |
| | | </div> |
| | | <lightning-output-field |
| | | field-name="Order_ForCustomerText__c" |
| | | variant="label-hidden" |
| | | ></lightning-output-field> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item |
| | | size="2" |
| | | padding="around-small" |
| | | > |
| | | <!-- <lightning-output-field |
| | | field-name="SummonsForDirction__c"></lightning-output-field> --> |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | | > |
| | | <div |
| | | class="slds-form-element__label" |
| | | style="padding: 0px" |
| | | > |
| | | 目的: |
| | | </div> |
| | | <lightning-output-field |
| | | field-name="SummonsForDirction__c" |
| | | variant="label-hidden" |
| | | ></lightning-output-field> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </lightning-record-edit-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <template if:true={isBarcode}> |
| | | <div class="borderCss"> |
| | | <!-- 出货/销售 --> |
| | | <template if:true={isShippingSales}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>BarCode录入</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-record-edit-form |
| | | object-api-name="Consumable_order__c" |
| | | record-id={cocId} |
| | | > |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item |
| | | size="1" |
| | | ></lightning-layout-item> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <!-- <lightning-textarea name="Barcode" label="BarCode号" |
| | | <p style="font-size: 18px"> |
| | | <strong>出货管理</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px;"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-layout multiple-rows="true" style="height:50px"> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | </lightning-layout-item> |
| | | <template if:true={isSales}> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <!-- <lightning-button label="销售" onclick={SaveP} |
| | | style="margin-top:-10px"></lightning-button> --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SaveP}>销售</button> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <template if:false={isSales}> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <!-- <lightning-button label="出货" onclick={SaveE}></lightning-button> --> |
| | | <button class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SaveE}>出货</button> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | | <template if:true={isShowInformation}> |
| | | <div class="borderCss" style="margin-top: 5px;"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-record-edit-form object-api-name="Consumable_order__c" |
| | | record-id={cocId} onload={handleLoad2}> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="3" padding="around-small"> |
| | | <!-- <lightning-output-field field-name="Name"></lightning-output-field> --> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="padding: 0px;"> |
| | | 出库单号:</div> |
| | | <lightning-output-field field-name="Name" |
| | | variant="label-hidden"></lightning-output-field> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item size="4" padding="around-small"> |
| | | <!-- <lightning-output-field |
| | | field-name="ShipmentAccount__c" class="hideHelpText"></lightning-output-field> --> |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center hehe-layoutItem"> |
| | | <div class="slds-form-element__label" style="padding: 0px;"> |
| | | 客户名:</div> |
| | | <lightning-output-field field-name="ShipmentAccount__c" |
| | | variant="label-hidden"></lightning-output-field> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item size="2" padding="around-small"> |
| | | <!-- <lightning-output-field |
| | | field-name="Order_ForCustomerText__c"></lightning-output-field> --> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="padding: 0px;"> |
| | | 科室:</div> |
| | | <lightning-output-field |
| | | field-name="Order_ForCustomerText__c" |
| | | variant="label-hidden"></lightning-output-field> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item size="2" padding="around-small"> |
| | | <!-- <lightning-output-field |
| | | field-name="SummonsForDirction__c"></lightning-output-field> --> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="padding: 0px;"> |
| | | 目的:</div> |
| | | <lightning-output-field field-name="SummonsForDirction__c" |
| | | variant="label-hidden"></lightning-output-field> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </lightning-record-edit-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <template if:true={isBarcode}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>BarCode录入</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-record-edit-form object-api-name="Consumable_order__c" |
| | | record-id={cocId}> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | <lightning-layout-item padding="around-small"> |
| | | <!-- <lightning-textarea name="Barcode" label="BarCode号" |
| | | onchange={dataChange} variant="label-inline" |
| | | data-field="Barcode" |
| | | value={Barcode}></lightning-textarea> --> |
| | | |
| | | <div class="slds-grid"> |
| | | <div class="slds-form-element__label"> |
| | | BarCode号 |
| | | </div> |
| | | <lightning-textarea |
| | | name="Barcode" |
| | | label="BarCode号" |
| | | onchange={dataChange} |
| | | variant="label-hidden" |
| | | data-field="Barcode" |
| | | value={Barcode} |
| | | style="min-width: 400px" |
| | | ></lightning-textarea> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item padding="around-small"> |
| | | <div |
| | | class="slds-grid slds-grid_vertical-align-center" |
| | | > |
| | | <div class="slds-form-element__label"> |
| | | <!-- <lightning-button label="确认" |
| | | <div class="slds-grid"> |
| | | <div class="slds-form-element__label">BarCode号</div> |
| | | <lightning-textarea name="Barcode" label="BarCode号" |
| | | onchange={dataChange} variant="label-hidden" |
| | | data-field="Barcode" value={Barcode} |
| | | style="min-width: 400px;"></lightning-textarea> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item padding="around-small"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label"> |
| | | <!-- <lightning-button label="确认" |
| | | onclick={SalesearchProductJs}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SalesearchProductJs} |
| | | > |
| | | 获取明细 |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </lightning-record-edit-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SalesearchProductJs}>获取明细</button> |
| | | </div> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </lightning-record-edit-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出货明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <!-- <lightning-datatable key-field="id" data={salesData} columns={salesColumns} |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出货明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <!-- <lightning-datatable key-field="id" data={salesData} columns={salesColumns} |
| | | hide-checkbox-column |
| | | style="word-wrap:break-word; word-break:break-all; " |
| | | class="wrapped-header-datatable"> |
| | | </lightning-datatable> --> |
| | | <c-lex-custom-lightning-datatable |
| | | key-field="Id" |
| | | data={salesData} |
| | | columns={salesColumns} |
| | | onoutboundcount={handleOutboundCount} |
| | | hide-checkbox-column |
| | | style="word-wrap: break-word; word-break: break-all" |
| | | class="wrapped-header-datatable" |
| | | > |
| | | </c-lex-custom-lightning-datatable> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <c-lex-custom-lightning-datatable key-field="Id" data={salesData} |
| | | columns={salesColumns} onoutboundcount={handleOutboundCount} |
| | | hide-checkbox-column |
| | | style="word-wrap:break-word; word-break:break-all; " |
| | | class="wrapped-header-datatable"> |
| | | </c-lex-custom-lightning-datatable> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出货错误明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-datatable |
| | | key-field="id" |
| | | data={salesErrorData} |
| | | columns={salesErrorColumns} |
| | | hide-checkbox-column |
| | | style="word-wrap: break-word; word-break: break-all" |
| | | class="wrapped-header-datatable" |
| | | > |
| | | </lightning-datatable> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 18px"> |
| | | <strong>出货错误明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-datatable key-field="id" data={salesErrorData} |
| | | columns={salesErrorColumns} hide-checkbox-column |
| | | style="word-wrap:break-word; word-break:break-all; " |
| | | class="wrapped-header-datatable"> |
| | | </lightning-datatable> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | </lightning-layout-item> |
| | | <template if:true={isSales}> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <!-- <lightning-button label="销售" onclick={SaveP}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SaveP} |
| | | > |
| | | 销售 |
| | | </button> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <template if:false={isSales}> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <!-- <lightning-button label="出货" onclick={SaveE}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SaveE} |
| | | > |
| | | 出货 |
| | | </button> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | <lightning-layout multiple-rows="true"> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | </lightning-layout-item> |
| | | <template if:true={isSales}> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <!-- <lightning-button label="销售" onclick={SaveP}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SaveP}>销售</button> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <template if:false={isSales}> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <!-- <lightning-button label="出货" onclick={SaveE}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={SaveE}>出货</button> |
| | | </lightning-layout-item> |
| | | </template> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </template> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | </template> |