Browse Source

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	log.path_IS_UNDEFINED/sys-user.log
erp、
ling li 2 years ago
parent
commit
d9bc6a7a43
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/manufacture/controller/WorkOrderDetailController.java
  2. 30
      ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsDetail/deliveryGoodsDetail.html
  3. 2
      ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsNotice/deliveryGoodsNotice.html
  4. 4
      ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsNotice/edit.html
  5. 30
      ruoyi-admin/target/classes/templates/manufacture/deliveryGoodsDetail/deliveryGoodsDetail.html
  6. 2
      ruoyi-admin/target/classes/templates/manufacture/deliveryGoodsNotice/deliveryGoodsNotice.html
  7. 4
      ruoyi-admin/target/classes/templates/manufacture/deliveryGoodsNotice/edit.html

2
ruoyi-admin/src/main/java/com/ruoyi/manufacture/controller/WorkOrderDetailController.java

@ -101,9 +101,7 @@ public class WorkOrderDetailController extends BaseController
// 反序列化 // 反序列化
List<WorkOrderDetail> workOrderDetailList = JSONObject.parseArray(data, WorkOrderDetail.class); List<WorkOrderDetail> workOrderDetailList = JSONObject.parseArray(data, WorkOrderDetail.class);
for (int i=0;i<workOrderDetailList.size();i++) { for (int i=0;i<workOrderDetailList.size();i++) {
String id = String.valueOf(workOrderDetailService.selectWorkOrderDetailById(workOrderDetailList.get(i).getWorkOrderDetailId())); String id = String.valueOf(workOrderDetailService.selectWorkOrderDetailById(workOrderDetailList.get(i).getWorkOrderDetailId()));
if (Objects.equals(id, "null")) { if (Objects.equals(id, "null")) {
workOrderDetailService.insertWorkOrderDetail(workOrderDetailList.get(i)); workOrderDetailService.insertWorkOrderDetail(workOrderDetailList.get(i));

30
ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsDetail/deliveryGoodsDetail.html

@ -86,7 +86,8 @@
}, },
{ {
field: 'noticeOrderNumber', field: 'noticeOrderNumber',
title: '通知单号' title: '通知单号',
visible: false
}, },
{ {
field: 'salesOrderNumber', field: 'salesOrderNumber',
@ -94,11 +95,13 @@
}, },
{ {
field: 'enterpriseCode', field: 'enterpriseCode',
title: '客户代码' title: '客户代码',
visible: false
}, },
{ {
field: 'enterpriseName', field: 'enterpriseName',
title: '客户名称' title: '客户名称',
visible: false
}, },
{ {
field: 'finishProductCode', field: 'finishProductCode',
@ -118,12 +121,17 @@
}, },
{ {
field: 'typeMachine', field: 'typeMachine',
title: '机种' title: '机种',
visible: false
}, },
{ {
field: 'inventoryUnit', field: 'inventoryUnit',
title: '单位' title: '单位'
}, },
{
field: 'productQuantity',
title: '数量'
},
{ {
field: 'commonCurrency', field: 'commonCurrency',
title: '币别' title: '币别'
@ -132,26 +140,22 @@
field: 'processPrice', field: 'processPrice',
title: '单价' title: '单价'
}, },
{
field: 'productQuantity',
title: '数量'
},
{ {
field: 'amountMoney', field: 'amountMoney',
title: '金额' title: '金额'
}, },
{
field: 'salesExplain',
title: '说明'
},
{ {
field: 'line', field: 'line',
title: 'Line#' title: '订单项次'
}, },
{ {
field: 'versionNumber', field: 'versionNumber',
title: '版本号' title: '版本号'
}, },
{
field: 'salesExplain',
title: '说明'
},
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',

2
ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsNotice/deliveryGoodsNotice.html

@ -127,6 +127,7 @@
{ {
field: 'exportSales', field: 'exportSales',
title: '内外销', title: '内外销',
visible: false,
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.selectDictLabel(exportSalesDatas, value); return $.table.selectDictLabel(exportSalesDatas, value);
} }
@ -150,6 +151,7 @@
{ {
field: 'deliveryGoodsFlag', field: 'deliveryGoodsFlag',
title: '发货否', title: '发货否',
visible: false,
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.selectDictLabel(deliveryGoodsFlagDatas, value); return $.table.selectDictLabel(deliveryGoodsFlagDatas, value);
} }

4
ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsNotice/edit.html

@ -84,7 +84,7 @@
<input name="deliveryAddress" th:field="*{deliveryAddress}" class="form-control" type="text"> <input name="deliveryAddress" th:field="*{deliveryAddress}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group" style="display: none">
<label class="col-sm-3 control-label">内外销:</label> <label class="col-sm-3 control-label">内外销:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="exportSales" class="form-control m-b" th:with="type=${@dict.getType('sys_export_sales')}"> <select name="exportSales" class="form-control m-b" th:with="type=${@dict.getType('sys_export_sales')}">
@ -122,7 +122,7 @@
</select> </select>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group" style="display: none">
<label class="col-sm-3 control-label">发货否:</label> <label class="col-sm-3 control-label">发货否:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="deliveryGoodsFlag" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> <select name="deliveryGoodsFlag" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}">

30
ruoyi-admin/target/classes/templates/manufacture/deliveryGoodsDetail/deliveryGoodsDetail.html

@ -86,7 +86,8 @@
}, },
{ {
field: 'noticeOrderNumber', field: 'noticeOrderNumber',
title: '通知单号' title: '通知单号',
visible: false
}, },
{ {
field: 'salesOrderNumber', field: 'salesOrderNumber',
@ -94,11 +95,13 @@
}, },
{ {
field: 'enterpriseCode', field: 'enterpriseCode',
title: '客户代码' title: '客户代码',
visible: false
}, },
{ {
field: 'enterpriseName', field: 'enterpriseName',
title: '客户名称' title: '客户名称',
visible: false
}, },
{ {
field: 'finishProductCode', field: 'finishProductCode',
@ -118,12 +121,17 @@
}, },
{ {
field: 'typeMachine', field: 'typeMachine',
title: '机种' title: '机种',
visible: false
}, },
{ {
field: 'inventoryUnit', field: 'inventoryUnit',
title: '单位' title: '单位'
}, },
{
field: 'productQuantity',
title: '数量'
},
{ {
field: 'commonCurrency', field: 'commonCurrency',
title: '币别' title: '币别'
@ -132,26 +140,22 @@
field: 'processPrice', field: 'processPrice',
title: '单价' title: '单价'
}, },
{
field: 'productQuantity',
title: '数量'
},
{ {
field: 'amountMoney', field: 'amountMoney',
title: '金额' title: '金额'
}, },
{
field: 'salesExplain',
title: '说明'
},
{ {
field: 'line', field: 'line',
title: 'Line#' title: '订单项次'
}, },
{ {
field: 'versionNumber', field: 'versionNumber',
title: '版本号' title: '版本号'
}, },
{
field: 'salesExplain',
title: '说明'
},
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',

2
ruoyi-admin/target/classes/templates/manufacture/deliveryGoodsNotice/deliveryGoodsNotice.html

@ -127,6 +127,7 @@
{ {
field: 'exportSales', field: 'exportSales',
title: '内外销', title: '内外销',
visible: false,
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.selectDictLabel(exportSalesDatas, value); return $.table.selectDictLabel(exportSalesDatas, value);
} }
@ -150,6 +151,7 @@
{ {
field: 'deliveryGoodsFlag', field: 'deliveryGoodsFlag',
title: '发货否', title: '发货否',
visible: false,
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.selectDictLabel(deliveryGoodsFlagDatas, value); return $.table.selectDictLabel(deliveryGoodsFlagDatas, value);
} }

4
ruoyi-admin/target/classes/templates/manufacture/deliveryGoodsNotice/edit.html

@ -84,7 +84,7 @@
<input name="deliveryAddress" th:field="*{deliveryAddress}" class="form-control" type="text"> <input name="deliveryAddress" th:field="*{deliveryAddress}" class="form-control" type="text">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group" style="display: none">
<label class="col-sm-3 control-label">内外销:</label> <label class="col-sm-3 control-label">内外销:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="exportSales" class="form-control m-b" th:with="type=${@dict.getType('sys_export_sales')}"> <select name="exportSales" class="form-control m-b" th:with="type=${@dict.getType('sys_export_sales')}">
@ -122,7 +122,7 @@
</select> </select>
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group" style="display: none">
<label class="col-sm-3 control-label">发货否:</label> <label class="col-sm-3 control-label">发货否:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select name="deliveryGoodsFlag" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> <select name="deliveryGoodsFlag" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}">

Loading…
Cancel
Save