| | |
| | | <!-- sldsValidatorIgnore --> |
| | | <!-- sldsValidatorIgnore --> |
| | | <template> |
| | | <c-common-toast></c-common-toast> |
| | | <template if:true={isShowSpinner}> |
| | | <lightning-spinner alternative-text="Loading" size="large"></lightning-spinner> |
| | | </template> |
| | |
| | | |
| | | <div class="tableColumn"> |
| | | <lightning-layout class="datatable"> |
| | | <lightning-datatable class="datatabel slds-border_top" key-field="id" data={hospitalList} |
| | | columns={hospitalColumns} hide-checkbox-column="true" |
| | | <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-layout> |
| | |
| | | <template if:false={isShippingSales}> |
| | | <!-- 按钮 --> |
| | | <div class="borderCss"> |
| | | <div style="padding: 10px"> |
| | | <div style="padding: 15px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <table> |
| | | <colgroup> |
| | | <col width="150px" /> |
| | | <col width="200px" /> |
| | | <col width="200px" /> |
| | | <col width="200px" /> |
| | | <col width="310px" /> |
| | | <col width="310px" /> |
| | | <col width="310px" /> |
| | | <col width="200px" /> |
| | | <col width="200px" /> |
| | | <col width="90px" /> |
| | |
| | | <tr> |
| | | <td> |
| | | <template if:true={isSaveShow}> |
| | | <lightning-button label="保存" onclick={saveConfirmJs} |
| | | style="width: 150px"></lightning-button> |
| | | <!-- <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"> |
| | |
| | | <tr> |
| | | <td></td> |
| | | <td> |
| | | |
| | | <template if:true={isEditShow}> |
| | | <lightning-button label="编辑出库单" onclick={EditConsumable} |
| | | style="width: 150px" disabled={isEditDisabled}></lightning-button> |
| | | <!-- <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> |
| | | |
| | | <td> |
| | | <template if:true={isDeliveryShow}> |
| | | <lightning-button label="出货/销售" onclick={GoodsDeliveryJs} |
| | | style="width: 150px;" disabled={isDeliveryDisabled}></lightning-button> |
| | | <!-- <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> |
| | | |
| | | <td> |
| | | |
| | | <template if:true={isOpenToInvoiceShow}> |
| | | <lightning-button label="开票" onclick={openToInvoiceJs} style="width: 150px" |
| | | disabled={isOpenToInvoiceDisabled}></lightning-button> |
| | | <!-- <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> |
| | | |
| | | <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> |
| | | <!-- <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> |
| | | |
| | | <td> |
| | | |
| | | <template if:true={isOpenReportShow}> |
| | | <lightning-button label="显示明细" onclick={openReportJs} style="width: 150px" |
| | | disabled={isOpenReportDisabled}></lightning-button> |
| | | <!-- <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" |
| | | disabled={isDeleteDisabled}></lightning-button> |
| | | |
| | | <!-- <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> |
| | |
| | | <template if:true={EditAble}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库单信息1</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <!-- SummonsStatus_c__c == '价格未定' --> |
| | |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <lightning-output-field |
| | | field-name="SummonsForDirction__c"></lightning-output-field> |
| | | field-name="SummonsForDirction__c" class="searchName"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | |
| | | <lightning-layout-item size="1"></lightning-layout-item> |
| | | |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <lightning-output-field |
| | | field-name="Billed_Status__c"></lightning-output-field> |
| | | field-name="Billed_Status__c" class="searchName"></lightning-output-field> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | |
| | |
| | | onselectionchange={handleSelectionChange} label="经销商(录入)" |
| | | variant="label-inline" placeholder="搜索经销商" |
| | | onisdisabledfordealertext={isDisabledForDealerText} |
| | | onblur={vpClear2Delay} disabled={isDisabledForDealerText}> |
| | | account-value={accountValue} onblur={vpClear2Delay} |
| | | disabled={isDisabledForDealerText}> |
| | | </c-lex-lookup> |
| | | </template> |
| | | <template if:false={isMutualTransferGoods}> |
| | |
| | | <template if:false={EditAble}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | <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} |
| | |
| | | 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="11"> |
| | | <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"> |
| | | <lightning-icon title={item.Title} |
| | | style="margin-left: 20px;" icon-name="doctype:gform" |
| | | alternative-text={item.Title} |
| | | size="large"></lightning-icon><br /> |
| | | <span title={item.Title}> |
| | | {item.fileName} |
| | | </span> |
| | | <p> |
| | | <!-- <a data-fileid ={item.documentId} onclick={previweAtt}> --> |
| | | <a href={item.attUrl} target="_blank"> |
| | | 预览 |
| | | </a> · |
| | | <a href={item.downloadUrl}> |
| | | 下载 |
| | | </a> · |
| | | <a data-fileid={item.recordId} 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> |
| | |
| | | <!-- 检索 --> |
| | | <template if:true={isSearchShow}> |
| | | <div class="borderCss"> |
| | | <div style="padding: 10px"> |
| | | <div style="padding: 3px;height:110px;"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-layout multiple-rows> |
| | |
| | | </lightning-layout-item> |
| | | <lightning-layout-item padding="around-small" flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width:70px">第3分类</div> |
| | | <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: 160px;"></lightning-combobox> |
| | |
| | | </lightning-layout-item> |
| | | <lightning-layout-item padding="around-small" flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width:70px">第4分类</div> |
| | | <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: 160px;"></lightning-combobox> |
| | |
| | | </lightning-layout-item> |
| | | <lightning-layout-item padding="around-small" flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <div class="slds-form-element__label" style="width:70px">第5分类</div> |
| | | <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} |
| | |
| | | <div class="slds-form-element__label">医院特价</div> |
| | | <lightning-combobox name="progress" label="医院特价" value={outOutPattern} |
| | | variant="label-hidden" options={outOutPatternOptionList} |
| | | onchange={handleChange}></lightning-combobox> |
| | | onchange={dataChange} |
| | | data-field="outOutPattern" style="min-width: 140px;"></lightning-combobox> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </template> |
| | | |
| | | <lightning-layout-item padding="around-small" flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <lightning-button label="检索" onclick={searchProductJs}></lightning-button> |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item padding="around-small" flexibility="auto"> |
| | | <div class="slds-grid slds-grid_vertical-align-center"> |
| | | <lightning-button label="清空" onclick={ClearJs}></lightning-button> |
| | | </div> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | <div style="float:right;margin-right:50px;"> |
| | | <!-- <lightning-button label="检索" onclick={searchProductJs}></lightning-button> --> |
| | | <button |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={searchProductJs}>检索</button> |
| | | |
| | | |
| | | <!-- <lightning-button label="清空" onclick={ClearJs}></lightning-button> --> |
| | | <button style="margin-left:10px;" |
| | | class="slds-button slds-button_neutral slds-button_stretch lexBorder" |
| | | onclick={ClearJs}>清空</button> |
| | | </div> |
| | | |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <!-- 出库单明细 --> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库单明细</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库单明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | |
| | | <div style="padding: 7px"> |
| | | <template if:true={EditAble}> |
| | | <template if:true={showTable}> |
| | | <c-lex-custom-lightning-datatable key-field="Id" data={data} columns={columns} |
| | |
| | | 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; "> |
| | | style="word-wrap:break-word; word-break:break-all; " |
| | | class="wrapped-header-datatable wrapped-header-wrap-datatable"> |
| | | </c-lex-custom-lightning-datatable> |
| | | </template> |
| | | <c-paginator onprevious={handlePrevious} onnext={handleNext} |
| | |
| | | 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; "> |
| | | style="word-wrap:break-word; word-break:break-all; " |
| | | class="wrapped-header-datatable wrapped-header-wrap-datatable"> |
| | | </c-lex-custom-lightning-datatable> |
| | | <c-paginator onprevious={editHandlePrevious} onnext={editHandleNext} |
| | | onpageschange={editHandlePageschange} onfirst={editHandleFirst} |
| | |
| | | <template if:true={isShowOutboundProductDetails}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库产品明细</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库产品明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | <div style="padding: 7px"> |
| | | <lightning-datatable key-field="id" data={consumableorderdetails2Records} |
| | | columns={consumableorderdetails2RecordsColumns} hide-checkbox-column> |
| | | 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"> |
| | | <p style="font-size: 16px"> |
| | | <strong>附件</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>附件</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-card title=""> |
| | | <lightning-layout multiple-rows="true" style="margin-top: -20px"> |
| | | <!-- <lightning-layout-item size="12"> |
| | | <lightning-input label="" name="file uploader" onchange={handleFilesChange} |
| | | type="file" accept={acceptedType}></lightning-input><br /> |
| | | <div class="slds-text-body_small"> |
| | | {fileName} |
| | | </div> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item> |
| | | <lightning-button label={UploadFile} |
| | | onclick={handleSave}></lightning-button> |
| | | </lightning-layout-item> --> |
| | | <lightning-layout-item size="5"> |
| | | </lightning-layout-item> |
| | | <lightning-layout-item padding="around-small"> |
| | |
| | | <template if:true={showLoadingSpinner}> |
| | | <lightning-spinner alternative-text="Uploading now"></lightning-spinner> |
| | | </template> |
| | | <footer style="margin-top: 20px"> |
| | | <lightning-datatable key-field="id" data={fileData} columns={fileColumns} |
| | | hide-checkbox-column> |
| | | </lightning-datatable> |
| | | <footer style="margin-top: 20px" class="deleteAtt"> |
| | | <c-lex-custom-lightning-datatable key-field="id" data={fileData} |
| | | columns={fileColumns} onclickicon={deleteAtt} hide-checkbox-column |
| | | class="wrapped-header-datatable"> |
| | | </c-lex-custom-lightning-datatable> |
| | | </footer> |
| | | </lightning-card> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | </template> --> |
| | | </template> |
| | | |
| | | <!-- 出货/销售 --> |
| | | <template if:true={isShippingSales}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出货管理</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出货管理</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | <div style="padding: 7px;"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-layout multiple-rows="true"> |
| | | <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> |
| | | <!-- <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> |
| | | <!-- <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"> |
| | |
| | | <template if:true={isShowInformation}> |
| | | <div class="borderCss" style="margin-top: 5px;"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出库单信息</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-record-edit-form object-api-name="Consumable_order__c" |
| | |
| | | <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-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" |
| | |
| | | <template if:true={isBarcode}> |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px"> |
| | | <strong>BarCode录入</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>BarCode录入</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-record-edit-form object-api-name="Consumable_order__c" |
| | |
| | | <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> |
| | | <!-- <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> |
| | |
| | | |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出货明细</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出货明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | <div style="padding: 7px"> |
| | | <div lwc:dom="manual" class="resultDiv"></div> |
| | | <div draggable="false"> |
| | | <lightning-datatable key-field="id" data={salesData} columns={salesColumns} |
| | | <!-- <lightning-datatable key-field="id" data={salesData} columns={salesColumns} |
| | | hide-checkbox-column |
| | | style="word-wrap:break-word; word-break:break-all; "> |
| | | </lightning-datatable> |
| | | 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> |
| | | |
| | | <div class="borderCss"> |
| | | <div class="headerDorderCss"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出货错误明细</strong> |
| | | </p> |
| | | <lightning-layout> |
| | | <lightning-layout-item padding="around-small"> |
| | | <p style="font-size: 16px"> |
| | | <strong>出货错误明细</strong> |
| | | </p> |
| | | </lightning-layout-item> |
| | | </lightning-layout> |
| | | </div> |
| | | <div style="padding: 10px"> |
| | | <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; "> |
| | | style="word-wrap:break-word; word-break:break-all; " |
| | | class="wrapped-header-datatable"> |
| | | </lightning-datatable> |
| | | </div> |
| | | </div> |
| | |
| | | </lightning-layout-item> |
| | | <template if:true={isSales}> |
| | | <lightning-layout-item class="hehe-layoutItem" size="4"> |
| | | <lightning-button label="销售" onclick={SaveP}></lightning-button> |
| | | <!-- <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> |
| | | <!-- <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"> |