diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index 1f967466..ae606d78 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -6,9 +6,9 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://localhost:3306/unis_pms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://121.199.168.157:3306/unis_pms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: sagacity + password: unis@db # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-admin/src/main/resources/templates/manage/order/add.html b/ruoyi-admin/src/main/resources/templates/manage/order/add.html index 7cb986b4..c635d66d 100644 --- a/ruoyi-admin/src/main/resources/templates/manage/order/add.html +++ b/ruoyi-admin/src/main/resources/templates/manage/order/add.html @@ -170,11 +170,11 @@ } }, { - field: 'productId', + field: 'productCode', align: 'center', - title: '产品编码', + title: 'BOM编码', formatter: function(value, row, index) { - var html = $.common.sprintf("", index, value); + var html = $.common.sprintf("", index, value); return html; } }, @@ -214,33 +214,6 @@ return html; } }, - { - field: 'createdAt', - align: 'center', - title: '创建时间', - formatter: function(value, row, index) { - var html = $.common.sprintf("", index, value); - return html; - } - }, - { - field: 'updatedAt', - align: 'center', - title: '更新时间', - formatter: function(value, row, index) { - var html = $.common.sprintf("", index, value); - return html; - } - }, - { - field: 'deletedAt', - align: 'center', - title: '删除时间', - formatter: function(value, row, index) { - var html = $.common.sprintf("", index, value); - return html; - } - }, { title: '操作', align: 'center', diff --git a/ruoyi-admin/src/main/resources/templates/manage/order/edit.html b/ruoyi-admin/src/main/resources/templates/manage/order/edit.html index cd28b573..2b4a5d91 100644 --- a/ruoyi-admin/src/main/resources/templates/manage/order/edit.html +++ b/ruoyi-admin/src/main/resources/templates/manage/order/edit.html @@ -172,11 +172,11 @@ } }, { - field: 'productId', + field: 'productCode', align: 'center', - title: '产品编码', + title: 'BOM编码', formatter: function(value, row, index) { - var html = $.common.sprintf("", index, value); + var html = $.common.sprintf("", index, value); return html; } }, @@ -221,36 +221,6 @@ } }, - { - field: 'createdAt', - align: 'center', - title: '创建时间', - formatter: function(value, row, index) { - var html = $.common.sprintf("", index, value); - return html; - } - }, - - { - field: 'updatedAt', - align: 'center', - title: '更新时间', - formatter: function(value, row, index) { - var html = $.common.sprintf("", index, value); - return html; - } - }, - - { - field: 'deletedAt', - align: 'center', - title: '删除时间', - formatter: function(value, row, index) { - var html = $.common.sprintf("", index, value); - return html; - } - }, - { title: '操作', align: 'center', diff --git a/ruoyi-admin/src/main/resources/templates/manage/order/order.html b/ruoyi-admin/src/main/resources/templates/manage/order/order.html index 1fe2ab9f..3251cd91 100644 --- a/ruoyi-admin/src/main/resources/templates/manage/order/order.html +++ b/ruoyi-admin/src/main/resources/templates/manage/order/order.html @@ -82,7 +82,7 @@ }, { field: 'orderCode', - title: '合同编号,唯一' + title: '合同编号' }, { field: 'versionCode', diff --git a/ruoyi-admin/src/main/resources/templates/system/product/add.html b/ruoyi-admin/src/main/resources/templates/system/product/add.html index ffd60041..5a0795c9 100644 --- a/ruoyi-admin/src/main/resources/templates/system/product/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/product/add.html @@ -9,7 +9,7 @@