# 佳华ERP **Repository Path**: jiahua_old_driver/erp ## Basic Information - **Project Name**: 佳华ERP - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2020-05-18 - **Last Updated**: 2025-04-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #shipCenter 船舶中心 #supplierCenter 供应商中心 #systemPersonnelManagement 系统配置及人员管理中心 #salesCenter 销售中心 #public code Bao :row-key="record => record.id" createBussinessOrder.vue sellerId目前写死 -- , customRender: record => { return record.containerSealNo || '--' } 船舶中心 剩余两个item #1.5注意问题 接口传值规范问题 没有值就用null去替代,不要用空字符串 #develop 按钮权限 #bh-dev 导出 // 所属部门、所属销售 {{v.name}} import { querySellerDown, queryDeptDown } from '@/api' const deptData = { type: 2, // type 1判断权限 2不判断 dataRole: 'CONTAINER_SELL' } const sellerData = { type: 2, // type 1判断权限 2不判断 dataRole: 'CONTAINER_SELL', status: 1 } // data数据源 deptTreeData: [], sellers: [] // methods onLoadData (treeNode) { return new Promise(resolve => { if (treeNode.dataRef.children && treeNode.dataRef.children.length > 0) { resolve() return } queryDeptDown({parentId: treeNode.dataRef.key, ...deptData}).then(rsp => { let childrenData = [] rsp.data.forEach((value) => { childrenData.push({ title: value.name, key: value.deptId, value: value.deptId }) }) treeNode.dataRef.children = childrenData this.deptTreeData = [...this.deptTreeData] resolve() }) }) }, initDept (e) { queryDeptDown(e).then(rsp => { let initData = [] rsp.data.forEach((value, index) => { initData.push({ title: value.name, key: value.deptId, value: value.deptId }) }) this.deptTreeData = initData }) }, onChangeTree (value) { this.initSellerDown(value) }, initSellerDown (deptId) { querySellerDown({...sellerData, deptId}).then(rsp => { this.sellers = rsp.data.map((v, i) => { if (!v.uiId) { v.name = '请选择' v.uiId = '' } return v }) }) } // created this.initDept(deptData) // 所属部门 this.initSellerDown() // 所属销售 // 表单重置 const defaultForm = () => ({ }) // data中 form: { ...defaultForm() }, // 使用 Object.assign(this.form, defaultForm()) // 关于range-picker清空数据 :value="createValue" createValue: [] this.createValue = [] :row-key="record => record.id" :min="0" :precision="2" :max="999999999999.99" // 导出 import { commonExport } from '@/api/request' _needName: true, commonExport('/truck/export', { ...this.form, pageNum: this.pageNum, pageSize: this.pageSize, columns: this.columns }) // 按钮权限 btnControl: {} this.$nextTick(() => { this.btnControl = this.$root._bc console.log(this.$root._bc) }) if (!this.btnControl.edit) { this.$message.error('您无此权限!') return false } // 引入请求方法 queryGoodsData // 页面初始化 this.goodsListRequest({ name: '', status: 1 }) // methods goodsListRequest (e) { queryGoodsData(e).then(res => { console.log(res.data) this.goodsList = res.data }) }, goodsListChange (e) { this.goodsListRequest({ name: e, status: 1 }) }, // template 请选择 {{ d.name }} // data this.goodsListChange = _(this.goodsListChange, 800) goodsList: [], // PULL REQUEST -- 329 --- ERP --- 1.0版本 :max-length="20" pageSizeOptions: ['10', '30', '50', '100', '500'], :page-size-options="['10', '30', '50', '100', '500']" // modal :confirm-loading='confirmLoading' // btn :loading="btnStatus" // keepAlive
返回
// v1.2.0 queryOrderInfoList 代替成 salesCenterQueryShipOrderList // 结算类型统一修改 import {mixin} from '@/common/common' mixins: [mixin], {{v.value}} scopedSlots: { customRender: 'settlementType' } {{checkSettlementTypeName(v.settlementType)}} // 版本更新迭代问题 每做完一个小版本都进行开分支处理