diff --git a/src/api/gw/com/index.ts b/src/api/gw/com/index.ts new file mode 100644 index 0000000..8197162 --- /dev/null +++ b/src/api/gw/com/index.ts @@ -0,0 +1,8 @@ +import request from '@/config/axios' + +// 获取系统序列号 +export const getSystemSerialNo = async () => { + return await request.post({ url: `/DistributionBoxTesting/GetSystemSerialNo` }).then((res) => { + return res.SerialNo + }) +} diff --git a/src/views/Gw/biLeiQi/BiLeiQi.vue b/src/views/Gw/biLeiQi/BiLeiQi.vue index 873ccba..cc71320 100644 --- a/src/views/Gw/biLeiQi/BiLeiQi.vue +++ b/src/views/Gw/biLeiQi/BiLeiQi.vue @@ -50,7 +50,7 @@ const gridOptionsA: any = reactive({ { field: 'SupplierCode', title: '国网侧供应商编码', sortable: true, width: '160px' }, { field: 'ModelCode', title: '规格型号编码', width: '140px' }, { field: 'CategoryType', title: '物资种类编码', width: '120px' }, - { field: 'SerialNo', title: '序列号', sortable: true, width: '110px' }, + { field: 'SerialNo', title: '序列号', sortable: true, width: '210px' }, { field: 'RmibNumber', title: '原材料检验批次号', sortable: true, width: '160px' }, { field: 'RmbNumber', title: '原材料批次号', sortable: true, width: '130px' }, { field: 'BorMaterials', title: '原材料品牌', sortable: true, width: '180px' }, @@ -65,7 +65,7 @@ const gridOptionsA: any = reactive({ { field: 'IsQualify', title: '检验结果是否合格', width: '140px', slots: { default: 'slotIsQualify' } }, { field: 'Ecode', title: 'ecode码', width: '110px' }, { field: 'SgEntityId', title: '国网实物Id', width: '110px' }, - { field: 'DataUniqueIdentifier', title: '数据唯一标识', width: '110px' }, + { field: 'DataUniqueIdentifier', title: '数据唯一标识', width: '250px' }, { field: 'ModelSpecification', title: '规格型号', width: '160px' }, { field: 'PressureValue', title: '额定电压(kV)', width: '120px' }, { title: '操作', width: 250, fixed: 'right', slots: { default: 'operate' } } @@ -143,7 +143,6 @@ const gridOptionsA: any = reactive({ if (o1.order == "asc") { isAscending = true; } - console.log(o1) return { "field": o1.field, "isAscending": (() => { @@ -152,7 +151,6 @@ const gridOptionsA: any = reactive({ } }) } - // console.log(queryParams) const data = await BiLeiQiApi.getBiLeiQiPaging(queryParamsA) return data // // 处理排序条件 @@ -172,7 +170,6 @@ const gridOptionsA: any = reactive({ // 当点击工具栏保存按钮或者手动提交指令 save 时会被触发 save: ({ body }:any) => { }, add: ({ body }: any) => { - console.log(body) }, } } diff --git a/src/views/Gw/biLeiQi/BiLeiQiForm.vue b/src/views/Gw/biLeiQi/BiLeiQiForm.vue index 5916e27..f6d1429 100644 --- a/src/views/Gw/biLeiQi/BiLeiQiForm.vue +++ b/src/views/Gw/biLeiQi/BiLeiQiForm.vue @@ -1,5 +1,6 @@ --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - + --> - +