diff --git a/src/components/Form/src/jeecg/components/JDictSelectTag.vue b/src/components/Form/src/jeecg/components/JDictSelectTag.vue index 969e712..91ade9d 100644 --- a/src/components/Form/src/jeecg/components/JDictSelectTag.vue +++ b/src/components/Form/src/jeecg/components/JDictSelectTag.vue @@ -78,6 +78,7 @@ export default defineComponent({ style: propTypes.any, ignoreDisabled: propTypes.bool.def(false), orgCode: '',//组织机构编码 会切换数据源 + showLabel: propTypes.bool.def(true) }, emits: ['options-change', 'change', 'update:value', 'upDictCode', 'currentText'], setup(props, { emit, refs }) { @@ -132,13 +133,17 @@ export default defineComponent({ dictOptions.value = dictData.reduce((prev, next) => { if (next) { const value = next['value']; - prev.push({ + const value1 = { label: next['text'] || next['label'], value: stringToNumber ? +value : value, disabled: next['status'] == 1, color: next['color'], ...omit(next, ['text', 'value', 'color']), - }); + } + if(!props.showLabel&&next['status'] == 1){ + }else{ + prev.push(value1); + } } return prev; }, []); diff --git a/src/views/biz/nuBaseInfo/NuBaseInfo.api.ts b/src/views/biz/nuBaseInfo/NuBaseInfo.api.ts index 7be6ad0..3c3ab41 100644 --- a/src/views/biz/nuBaseInfo/NuBaseInfo.api.ts +++ b/src/views/biz/nuBaseInfo/NuBaseInfo.api.ts @@ -5,6 +5,7 @@ enum Api { list = '/nuBaseInfo/nuBaseInfo/list', save = '/nuBaseInfo/nuBaseInfo/add', edit = '/nuBaseInfo/nuBaseInfo/edit', + hldyQyty = '/nuBaseInfo/nuBaseInfo/hldyQyty', importExcel = '/nuBaseInfo/nuBaseInfo/importExcel', exportXls = '/nuBaseInfo/nuBaseInfo/exportXls', qyList = '/nuBaseInfo/nuBaseInfo/qyList', @@ -12,6 +13,7 @@ enum Api { queryRolePermission = '/nuidPermission/nuAppNuidPermission/queryNuidPermission', saveRolePermission = '/nuidPermission/nuAppNuidPermission/saveRolePermission', queryDataRule = '/nuidPermission/nuAppNuidPermission/queryDataRule', + getNuId = '/nuBaseInfo/nuBaseInfo/getNuId', } /** @@ -31,6 +33,7 @@ export const getImportUrl = Api.importExcel; */ export const list = (params) => defHttp.get({ url: Api.list, params }); export const qyList = (params) => defHttp.get({ url: Api.qyList, params }); +export const getNuId = (params) => defHttp.get({ url: Api.getNuId, params }); /** * 保存或者更新 @@ -41,6 +44,9 @@ export const saveOrUpdate = (params, isUpdate) => { let url = isUpdate ? Api.edit : Api.save; return defHttp.post({ url: url, params }, { isTransformResponse: false }); }; +export const hldyQyty = (params, isUpdate) => { + return defHttp.post({ url: Api.hldyQyty, params }, { isTransformResponse: false }); +}; /** diff --git a/src/views/biz/nuBaseInfo/QyxxList.vue b/src/views/biz/nuBaseInfo/QyxxList.vue index 1c95de5..e6f52fd 100644 --- a/src/views/biz/nuBaseInfo/QyxxList.vue +++ b/src/views/biz/nuBaseInfo/QyxxList.vue @@ -4,19 +4,19 @@
- + - + - + @@ -36,11 +36,12 @@ - - + + 查询 重置 - 新增 + 添加区域 + 设备预览 @@ -53,7 +54,8 @@ :headStyle="{ height: '60px', padding: '0 24px',border:'0px' }" @mouseenter="item.key" @mouseleave="item.key" - @click="isSelected = item"> + @click="isSelected = item" + style="height: 270px;"> @@ -68,9 +70,8 @@

区域名称:{{item.nuName}}

创建时间:{{item.createTime}}

-
- 更名 - 设备 +

负责人:{{item.fzr_dictText}} 

+
- 二维码 + 二维码 - 区域功能 + 区域名称 + 库管信息 + 设备管理 + 区域功能 + 物料管理
@@ -102,31 +107,34 @@ + + + + + +
+ + diff --git a/src/views/biz/nuBaseInfo/iotDevices/IotDevicesModal.vue b/src/views/biz/nuBaseInfo/iotDevices/IotDevicesModal.vue new file mode 100644 index 0000000..28fe389 --- /dev/null +++ b/src/views/biz/nuBaseInfo/iotDevices/IotDevicesModal.vue @@ -0,0 +1,62 @@ + + + + + + diff --git a/src/views/biz/nuBaseInfo/iotDevices/components/IotDevicesForm.vue b/src/views/biz/nuBaseInfo/iotDevices/components/IotDevicesForm.vue new file mode 100644 index 0000000..2b9fff5 --- /dev/null +++ b/src/views/biz/nuBaseInfo/iotDevices/components/IotDevicesForm.vue @@ -0,0 +1,175 @@ + + + + + diff --git a/src/views/biz/nuBaseInfo/iotDevices/components/IotDevicesModal.vue b/src/views/biz/nuBaseInfo/iotDevices/components/IotDevicesModal.vue new file mode 100644 index 0000000..a7562e4 --- /dev/null +++ b/src/views/biz/nuBaseInfo/iotDevices/components/IotDevicesModal.vue @@ -0,0 +1,77 @@ + + + + + + diff --git a/src/views/invoicing/ConfigMaterial/ConfigMaterialInfo.data.ts b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfo.data.ts index 6b5362a..3237caf 100644 --- a/src/views/invoicing/ConfigMaterial/ConfigMaterialInfo.data.ts +++ b/src/views/invoicing/ConfigMaterial/ConfigMaterialInfo.data.ts @@ -78,6 +78,12 @@ export const columns: BasicColumn[] = [ dataIndex: 'lowerLimit', width:'100px' }, + { + title: '品牌型号', + align: "center", + dataIndex: 'brandType', + width:'100px' + }, { title: '物料标签', align: "center", diff --git a/src/views/invoicing/ConfigMaterial/components/ConfigMaterialInfoForm.vue b/src/views/invoicing/ConfigMaterial/components/ConfigMaterialInfoForm.vue index 605f8f4..12531bf 100644 --- a/src/views/invoicing/ConfigMaterial/components/ConfigMaterialInfoForm.vue +++ b/src/views/invoicing/ConfigMaterial/components/ConfigMaterialInfoForm.vue @@ -126,6 +126,11 @@ + + + + + @@ -196,6 +201,7 @@ izYbbx:'', izJgyh:'', tagType:'', + brandType:'', }); const { createMessage } = useMessage(); const labelCol = ref({ xs: { span: 24 }, sm: { span: 9 } }); diff --git a/src/views/invoicing/warehouseMaterialInfo/components/CkfzrForm.vue b/src/views/invoicing/warehouseMaterialInfo/components/CkfzrForm.vue index 7a744bd..5799108 100644 --- a/src/views/invoicing/warehouseMaterialInfo/components/CkfzrForm.vue +++ b/src/views/invoicing/warehouseMaterialInfo/components/CkfzrForm.vue @@ -4,7 +4,7 @@