diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
index c9065474..b1256853 100644
--- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
+++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js
@@ -1161,9 +1161,10 @@ var table = {
});
},
// 添加信息
- add: function (id) {
+ add: function (id,width) {
table.set();
- $.modal.open("添加" + table.options.modalName, $.operate.addUrl(id));
+ width=width??800;
+ $.modal.open("添加" + table.options.modalName, $.operate.addUrl(id),width);
},
// 添加信息,以tab页展现
addTab: function (id) {
@@ -1181,7 +1182,8 @@ var table = {
return url;
},
// 修改信息
- edit: function (id) {
+ edit: function (id,width) {
+ width = width ?? 800;
table.set();
if ($.common.isEmpty(id) && table.options.type == table_type.bootstrapTreeTable) {
var row = $("#" + table.options.id).bootstrapTreeTable('getSelections')[0];
@@ -1190,9 +1192,9 @@ var table = {
return;
}
var url = table.options.updateUrl.replace("{id}", row[table.options.uniqueId]);
- $.modal.open("修改" + table.options.modalName, url);
+ $.modal.open("修改" + table.options.modalName, url,width);
} else {
- $.modal.open("修改" + table.options.modalName, $.operate.editUrl(id));
+ $.modal.open("修改" + table.options.modalName, $.operate.editUrl(id),width);
}
},
// 修改信息,以tab页展现
diff --git a/ruoyi-admin/src/main/resources/templates/inventory/execution/track.html b/ruoyi-admin/src/main/resources/templates/inventory/execution/track.html
index 7ee6a2da..1bbf160a 100644
--- a/ruoyi-admin/src/main/resources/templates/inventory/execution/track.html
+++ b/ruoyi-admin/src/main/resources/templates/inventory/execution/track.html
@@ -154,11 +154,11 @@
function viewDetail(id) {
- $.modal.openFull("订单详情", ctx + "project/order/view/" + id)
+ $.modal.openFull("订单详情", ctx + "project/order/view/" + id,1400)
}
function viewProjectDetail(id) {
- $.modal.openFull("项目详情", ctx + "sip/project/view/" + id)
+ $.modal.openFull("项目详情", ctx + "sip/project/view/" + id,1400)
}
function signOrder(orderId,versionCode) {
diff --git a/ruoyi-admin/src/main/resources/templates/layout/product-list.html b/ruoyi-admin/src/main/resources/templates/layout/product-list.html
index 0c76e05d..9fd33202 100644
--- a/ruoyi-admin/src/main/resources/templates/layout/product-list.html
+++ b/ruoyi-admin/src/main/resources/templates/layout/product-list.html
@@ -351,46 +351,46 @@
let tr=$(`
| ${length + 1} |
- |
- |
- |
- |
-
-
+ | |
+ |
+ |
+ |
+
+
|
-
+
|
-
- |
`)
diff --git a/ruoyi-admin/src/main/resources/templates/project/info/edit.html b/ruoyi-admin/src/main/resources/templates/project/info/edit.html
index 0789e9d0..02e6ff7e 100644
--- a/ruoyi-admin/src/main/resources/templates/project/info/edit.html
+++ b/ruoyi-admin/src/main/resources/templates/project/info/edit.html
@@ -358,32 +358,32 @@
function initProductList() {
let softwareProjectProductInfoListAll = [[${projectInfo.softwareProjectProductInfoList}]] || []
softwareProjectProductInfoListAll.forEach((ele) => {
- ele.cataloguePriceFormmat = ele.cataloguePrice ? formatAmountNumber(ele.cataloguePrice) : ""
- ele.priceFormmat = ele.price ? formatAmountNumber(ele.price) : ""
- ele.catalogueAllPriceFormmat = ele.catalogueAllPrice ? formatAmountNumber(ele.catalogueAllPrice) : ""
- ele.allPriceFormmat = ele.allPrice ? formatAmountNumber(ele.allPrice) : ""
- ele.discountFormat = ele.discount ? preciseCurrencyRound(ele.discount*100) : ""
- ele.guidanceDiscountFormat = ele.guidanceDiscount ? preciseCurrencyRound((ele.guidanceDiscount*100)) : ""
+ ele.cataloguePriceFormmat = $.common.isNotEmpty(ele.cataloguePrice) ? formatAmountNumber(ele.cataloguePrice) : ""
+ ele.priceFormmat = $.common.isNotEmpty(ele.price) ? formatAmountNumber(ele.price) : ""
+ ele.catalogueAllPriceFormmat = $.common.isNotEmpty(ele.catalogueAllPrice) ? formatAmountNumber(ele.catalogueAllPrice) : ""
+ ele.allPriceFormmat = $.common.isNotEmpty(ele.allPrice) ? formatAmountNumber(ele.allPrice) : ""
+ ele.discountFormat = $.common.isNotEmpty(ele.discount) ? preciseCurrencyRound(ele.discount*100) : ""
+ ele.guidanceDiscountFormat = $.common.isNotEmpty(ele.guidanceDiscount) ? preciseCurrencyRound((ele.guidanceDiscount*100)) : ""
addProduct(ele)
})
let hardwareProjectProductInfoListAll = [[${projectInfo.hardwareProjectProductInfoList}]] || []
hardwareProjectProductInfoListAll.forEach((ele) => {
- ele.cataloguePriceFormmat = ele.cataloguePrice ? formatAmountNumber(ele.cataloguePrice) : ""
- ele.priceFormmat = ele.price ? formatAmountNumber(ele.price) : ""
- ele.catalogueAllPriceFormmat = ele.catalogueAllPrice ? formatAmountNumber(ele.catalogueAllPrice) : ""
- ele.allPriceFormmat = ele.allPrice ? formatAmountNumber(ele.allPrice) : ""
- ele.discountFormat = ele.discount ? preciseCurrencyRound((ele.discount*100)) : ""
- ele.guidanceDiscountFormat = ele.guidanceDiscount ? preciseCurrencyRound((ele.guidanceDiscount*100)) : ""
+ ele.cataloguePriceFormmat = $.common.isNotEmpty(ele.cataloguePrice) ? formatAmountNumber(ele.cataloguePrice) : ""
+ ele.priceFormmat = $.common.isNotEmpty(ele.price) ? formatAmountNumber(ele.price) : ""
+ ele.catalogueAllPriceFormmat = $.common.isNotEmpty(ele.catalogueAllPrice) ? formatAmountNumber(ele.catalogueAllPrice) : ""
+ ele.allPriceFormmat = $.common.isNotEmpty(ele.allPrice) ? formatAmountNumber(ele.allPrice) : ""
+ ele.discountFormat = $.common.isNotEmpty(ele.discount) ? preciseCurrencyRound((ele.discount*100)) : ""
+ ele.guidanceDiscountFormat = $.common.isNotEmpty(ele.guidanceDiscount) ? preciseCurrencyRound((ele.guidanceDiscount*100)) : ""
addProduct2(ele)
})
let maintenanceProjectProductInfoListAll = [[${projectInfo.maintenanceProjectProductInfoList}]] || []
maintenanceProjectProductInfoListAll.forEach((ele) => {
- ele.cataloguePriceFormmat = ele.cataloguePrice ? formatAmountNumber(ele.cataloguePrice) : ""
- ele.priceFormmat = ele.price ? formatAmountNumber(ele.price) : ""
- ele.catalogueAllPriceFormmat = ele.catalogueAllPrice ? formatAmountNumber(ele.catalogueAllPrice) : ""
- ele.allPriceFormmat = ele.allPrice ? formatAmountNumber(ele.allPrice) : ""
- ele.discountFormat = ele.discount ? preciseCurrencyRound((ele.discount*100)) : ""
- ele.guidanceDiscountFormat = ele.guidanceDiscount ? preciseCurrencyRound((ele.guidanceDiscount*100)) : ""
+ ele.cataloguePriceFormmat = $.common.isNotEmpty(ele.cataloguePrice) ? formatAmountNumber(ele.cataloguePrice) : ""
+ ele.priceFormmat = $.common.isNotEmpty(ele.price) ? formatAmountNumber(ele.price) : ""
+ ele.catalogueAllPriceFormmat = $.common.isNotEmpty(ele.catalogueAllPrice) ? formatAmountNumber(ele.catalogueAllPrice) : ""
+ ele.allPriceFormmat = $.common.isNotEmpty(ele.allPrice) ? formatAmountNumber(ele.allPrice) : ""
+ ele.discountFormat = $.common.isNotEmpty(ele.discount) ? preciseCurrencyRound((ele.discount*100)) : ""
+ ele.guidanceDiscountFormat = $.common.isNotEmpty(ele.guidanceDiscount) ? preciseCurrencyRound((ele.guidanceDiscount*100)) : ""
addProduct3(ele)
})
if (!canUpdate){
diff --git a/ruoyi-admin/src/main/resources/templates/project/info/project.html b/ruoyi-admin/src/main/resources/templates/project/info/project.html
index a53f8161..8c956153 100644
--- a/ruoyi-admin/src/main/resources/templates/project/info/project.html
+++ b/ruoyi-admin/src/main/resources/templates/project/info/project.html
@@ -152,7 +152,7 @@