@ -164,8 +164,8 @@ const submitForm = async () => {
}
const onMountedCallBack = ($event,a,b)=>{
const onMountedCallBack = (parent,tableRef)=>{
debugger
</script>
@ -309,7 +309,22 @@ export default {
typeCreate: '字典类型新增',
typeUpdate: '字典类型编辑',
dataCreate: '字典数据新增',
dataUpdate: '字典数据编辑'
dataUpdate: '字典数据编辑',
turnOrder: '转办',
repair: '维修',
verifyOrder: '验证',
mainInspectionOrder: '检修',
finishOrder: '完成',
upload: '上传',
download: '下载',
view: '预览',
picture: '照片',
qrCodeBatch: '批量标签',
disAgree: '驳回',
selectItem: '选择备件',
qrCode: '二维码',
},
dialog: {
dialog: '弹窗',
@ -46,13 +46,14 @@ export const DeviceAccountsRules = reactive({
export const DeviceAccounts = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '编号唯一标识',
label: '设备台账编号',
field: 'number',
sort: 'custom',
isSearch: true,
isForm: false,
table: {
width: '150',
fixed: 'left',
@ -54,7 +54,7 @@
:isBusiness="false"
/>
<SearchTable ref="searchTableRef" @searchTableSuccess="submitItem" />
<SearchTable ref="searchTableRef" @onMountedCallBack="onMountedCallBack" @searchTableSuccess="submitItem" />
<!-- 详情 -->
<DetailDeviceLedger
@ -467,4 +467,6 @@ const qrCodeBatch = async (val,item) => {
window.open(src.value + "&number=" + qrCodeList)
@ -15,6 +15,10 @@ export const DeviceMaintainPlan = useCrudSchemas(reactive<CrudSchema[]>([
label: '名称',
@ -27,23 +27,13 @@ export const DeviceRepairRules = reactive({
})
export const DeviceRepair = useCrudSchemas(reactive<CrudSchema[]>([
label: 'id',
field: 'id',
isSearch: false,
isTable: false
label: '报修工单编号',
isForm: false
@ -32,6 +32,7 @@ export const DeviceSpotInspectionRecordMain = useCrudSchemas(reactive<CrudSchema
@ -47,6 +47,7 @@ export const DeviceInspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
@ -330,7 +331,7 @@ export const DeviceInspectionDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: '150'
@ -27,6 +27,7 @@ export const DeviceMaintainOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
@ -38,6 +38,7 @@ export const DeviceMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([
@ -38,6 +38,10 @@ export const MoldAccounts = useCrudSchemas(reactive<CrudSchema[]>([
isForm: true,
@ -12,10 +12,14 @@ export const MoldMaintainPlanRules = reactive({
export const MoldMaintainPlan = useCrudSchemas(reactive<CrudSchema[]>([
label: '保养计划编号',
@ -25,23 +25,13 @@ export const MoldRepairRules = reactive({
export const MoldRepair = useCrudSchemas(reactive<CrudSchema[]>([
@ -44,6 +44,7 @@ export const MoldInspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
@ -28,6 +28,7 @@ export const MoldMaintainOrderMain = useCrudSchemas(reactive<CrudSchema[]>([
@ -35,6 +35,7 @@ export const MoldMaintenanceMain = useCrudSchemas(reactive<CrudSchema[]>([