From 572212886e4f980f5f408c75c416e12437b7f1c1 Mon Sep 17 00:00:00 2001
From: zhangsiqi <2825463979@qq.com>
Date: Mon, 8 Jul 2024 20:47:23 +0800
Subject: [PATCH] =?UTF-8?q?[feat]=20=E4=BF=AE=E6=94=B9=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E5=85=A5=E5=BA=93=E9=83=A8=E9=97=A8=E5=90=8E=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E9=94=99=E8=AF=AF=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=85=A5=E5=BA=93?=
=?UTF-8?q?=E9=83=A8=E9=97=A8=E5=AD=97=E6=AE=B5=E7=9A=84=E7=9B=B8=E5=85=B3?=
=?UTF-8?q?=E5=AD=97=E5=85=B8=E8=8E=B7=E5=8F=96=EF=BC=8C=E5=AD=90=E8=A1=A8?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=B7=B2=E6=98=BE=E7=A4=BA=E5=86=85=E5=AE=B9?=
=?UTF-8?q?=E5=AE=8C=E6=95=B4=E3=80=82=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B7=BB=E5=8A=A0=E6=98=AF=E5=90=A6=E6=9C=89?=
=?UTF-8?q?=E9=87=8D=E5=A4=8D=E7=89=A9=E6=96=99=E5=8F=B7=E6=A3=80=E6=B5=8B?=
=?UTF-8?q?=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../templates/system/salesOrder/detail.html | 1 +
.../templates/system/salesOrder/edit.html | 29 ++++++---
.../system/salesOrder/salesOrder.html | 1 +
.../system/salesOrder/taskYwjlVerify.html | 63 +------------------
.../system/salesOrder/taskYwzgVerify.html | 4 +-
.../system/salesOrder/taskZozjVerify.html | 6 +-
6 files changed, 30 insertions(+), 74 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/templates/system/salesOrder/detail.html b/ruoyi-admin/src/main/resources/templates/system/salesOrder/detail.html
index 3396927c..31705e1a 100644
--- a/ruoyi-admin/src/main/resources/templates/system/salesOrder/detail.html
+++ b/ruoyi-admin/src/main/resources/templates/system/salesOrder/detail.html
@@ -319,6 +319,7 @@
var processMethodDatas = [[${@dict.getType('processMethod')}]];
var sysSalesOrder = [[${sysSalesOrder}]];
var loginName = [[${@permission.getPrincipalProperty('loginName')}]];
+ var warehouseDeptDatas = [[${@dict.getType('warehouseDept')}]];
$("#form-salesOrder-edit").validate({focusCleanup: true});
$(function() {
var options = {
diff --git a/ruoyi-admin/src/main/resources/templates/system/salesOrder/edit.html b/ruoyi-admin/src/main/resources/templates/system/salesOrder/edit.html
index 394c8a70..1388ed20 100644
--- a/ruoyi-admin/src/main/resources/templates/system/salesOrder/edit.html
+++ b/ruoyi-admin/src/main/resources/templates/system/salesOrder/edit.html
@@ -331,6 +331,7 @@
var sysUnitClassDatas = [[${@dict.getType('sys_unit_class')}]];
var processMethodDatas = [[${@dict.getType('processMethod')}]];
var sysSalesOrder = [[${sysSalesOrder}]];
+ var warehouseDeptDatas = [[${@dict.getType('warehouseDept')}]];
$("#form-salesOrder-edit").validate({focusCleanup: true});
$(function() {
var options = {
@@ -341,13 +342,15 @@
sidePagination: "client",
uniqueId: "index",
model: "物料报价信息",
+ fixedColumns: true, // 启用冻结列
+ rightFixedColumns:1,
+ fixedRightNumber: 1, // 冻结右列个数
columns: [
{checkbox: true},
{field: 'id',title: '主键id',align: 'center',visible: false},
- {field: 'index',align: 'center', title: "序号",
- formatter: function (value, row, index) {
- return $.common.serialNumber(value, index);
- }
+ {field: 'materialIndex',title: '序号',align: 'center',
+ formatter: function(value, row, index) {return index+1;
+ }
},
{title: '物料索引id',field: 'materialId',align: 'center',visible: false},
{title: '料号',field: 'materialCode',align: 'center'},
@@ -375,7 +378,9 @@
}
},
{ title: '入库部门',field: 'warehouseDept',align: 'center',
- formatter: function(value, row, index) {}
+ formatter: function(value, row, index) {
+ return $.table.selectDictLabel(warehouseDeptDatas, value);
+ }
},
{ title: '对外售价',field: 'materialSole',
editable: {
@@ -473,7 +478,6 @@
return value + "天数";
}
},
-
},
{ title: '录入人',field: 'createBy',align: 'center',visible: false},
{ title: '录入时间',field: 'createTime',align: 'center',visible: false},
@@ -488,7 +492,7 @@
{title: '操作', align: 'center',
formatter: function (value, row, index) {
var actions = [];
- actions.push('删除 ');
+ actions.push('删除 ');
return actions.join('');
}
}
@@ -644,6 +648,14 @@
if (rmb1== null){
rmb1 = 0;
}
+ var rows = $("#bootstrap-table-editOrder").bootstrapTable('getData').length;
+ for(var i=0;i 0) {
@@ -461,7 +461,7 @@
// 传递参数查询参数
pageSize: params.limit,
pageNum: params.offset / params.limit + 1,
- quoteId: sysSalesOrder.salesOrderCode
+ quoteId: sysSalesOrderCode
};
return curParams;
}