2 lines
12 KiB
Java
2 lines
12 KiB
Java
|
|
var le=Object.defineProperty;var B=Object.getOwnPropertySymbols;var ne=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var L=(o,r,l)=>r in o?le(o,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):o[r]=l,J=(o,r)=>{for(var l in r||(r={}))ne.call(r,l)&&L(o,l,r[l]);if(B)for(var l of B(r))re.call(r,l)&&L(o,l,r[l]);return o};var b=(o,r,l)=>new Promise((p,v)=>{var h=i=>{try{d(l.next(i))}catch(c){v(c)}},f=i=>{try{d(l.throw(i))}catch(c){v(c)}},d=i=>i.done?p(i.value):Promise.resolve(i.value).then(h,f);d((l=l.apply(o,r)).next())});import{B as se}from"./index-BDvqZ5j4.js";import{B as ie}from"./BasicForm-ClUSoD_-.js";import"./helper-DcLcf4v6.js";import{u as ce}from"./useForm-D61zovon.js";import{aG as pe,x as de,aH as me,bL as ue,au as he}from"./index-X7Y8jykP.js";import{render as fe}from"./renderUtils-BiIzV8ua.js";import{s as we}from"./MesXslRawMaterialCard.api-vGuaxFmq.js";import{l as be}from"./MesXslWarehouseArea.api-CcWpXqxD.js";import{a as _e}from"./useModal-DaJ3Bflg.js";import{e as ge,y as $,A as y,B as Pe,c as _,u as a,K as ve,z as g,Q as m,J as O,C as N,H as T,f as P,r as u,E as Ie,F as ye,D as Ce,G as A}from"./vue-vendor-DNhG1Cve.js";const je=[{title:"条码",align:"center",dataIndex:"barcode",width:200},{title:"批次号",align:"center",dataIndex:"batchNo",width:180},{title:"入场日期",align:"center",dataIndex:"entryDate",width:110,customRender:({text:o})=>o?o.length>10?o.substr(0,10):o:""},{title:"物料名称",align:"center",dataIndex:"materialName",width:160},{title:"供应商名称",align:"center",dataIndex:"supplierName",width:150},{title:"厂家物料名称",align:"center",dataIndex:"manufacturerMaterialName",width:150},{title:"保质期",align:"center",dataIndex:"shelfLife",width:110},{title:"总重",align:"center",dataIndex:"totalWeight",width:90},{title:"包装物皮重",align:"center",dataIndex:"packagingTare",width:100},{title:"托盘重量",align:"center",dataIndex:"palletWeight",width:90},{title:"剩余重量",align:"center",dataIndex:"remainingWeight",width:90},{title:"剩余数量",align:"center",dataIndex:"remainingQuantity",width:90},{title:"状态",align:"center",dataIndex:"status_dictText",width:80},{title:"检测结果",align:"center",dataIndex:"testResult_dictText",width:90},{title:"库区",align:"center",dataIndex:"warehouseArea",width:100},{title:"卸货人",align:"center",dataIndex:"unloadOperator",width:90},{title:"优先出库",align:"center",dataIndex:"priorityPickup",width:90,customRender:({text:o})=>fe.renderSwitch(o,[{text:"是",value:"1"},{text:"否",value:"0"}])},{title:"创建时间",align:"center",dataIndex:"createTime",width:160}],Ge=[{label:"条码",field:"barcode",component:"JInput",colProps:{span:6}},{label:"批次号",field:"batchNo",component:"JInput",colProps:{span:6}},{label:"物料名称",field:"materialName",component:"JInput",colProps:{span:6}},{label:"供应商名称",field:"supplierName",component:"JInput",colProps:{span:6}},{label:"状态",field:"status",component:"JDictSelectTag",componentProps:{dictCode:"xslmes_card_status"},colProps:{span:6}},{label:"检测结果",field:"testResult",component:"JDictSelectTag",componentProps:{dictCode:"xslmes_test_result"},colProps:{span:6}},{label:"入场日期",field:"entryDate",component:"RangePicker",componentProps:{showTime:!1,valueFormat:"YYYY-MM-DD"},colProps:{span:8}}],Y=[{label:"",field:"id",component:"Input",show:!1},{label:"条码",field:"barcode",component:"Input",componentProps:{placeholder:"请输入条码"},colProps:{span:12}},{label:"批次号",field:"batchNo",component:"Input",componentProps:{placeholder:"请输入批次号"},colProps:{span:12}},{label:"入场日期",field:"entryDate",component:"DatePicker",componentProps:{showTime:!1,valueFormat:"YYYY-MM-DD",placeholder:"请选择入场日期"},colProps:{span:12}},{label:"物料ID",field:"materialId",component:"Input",show:!1},{label:"物料名称",field:"materialName",component:"Input",componentProps:{placeholder:"请输入物料名称"},colProps:{span:12}},{label:"物料描述",field:"materialDesc",component:"InputTextArea",componentProps:
|