Commit 54660cab authored by 鲁鑫's avatar 鲁鑫

付款方式数据字典

parent cc7c78e8
...@@ -224,31 +224,21 @@ var tableArray = [ ...@@ -224,31 +224,21 @@ var tableArray = [
} }
}, },
{ {
display: "付款方式代码", name: "zlsch", width: 120, minwidth: 120, type: "string", align: "left", display: "付款方式", name: "zlschTextView", width: 200, minwidth: 120, type: "string", align: "left",
/*editor: { editor: {
required: true, type: "select", type: 'dictionary',
data: { data: {name: 'zlsch'},
type: 'system', textField: 'zlschTextView',
name: "dictionary", valueField: 'zlsch',
getParam: function (item) { required: true,
return {fieldName: "ZLSCH"} render: function (item) {
}, return item.zlsch;
back: { }
ZLSCH: "zlsch", },
ZLSCH_TEXT1: "zlschText1",
}
},
}*/
render:function (item){
return item.zlsch = "T"
}
},
{
display: "付款方式名称", name: "zlschText1", width: 120, minwidth: 120, type: "string", align: "left",
render:function (item){
return item.zlschText1 = "电汇"
}
}, },
// {
// display: "付款方式名称", name: "zlschText1", width: 120, minwidth: 120, type: "string", align: "left",
// },
{ {
display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left", display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left",
editor: { editor: {
...@@ -366,9 +356,10 @@ function loadGrid(obj) { ...@@ -366,9 +356,10 @@ function loadGrid(obj) {
canEdit = true; canEdit = true;
var columns = obj.columns; var columns = obj.columns;
columns.some(column => { columns.some(column => {
if (column.name == "rstgrName" || if (//column.name == "rstgrName" ||
column.name == "zepPay" || column.name == "zepPay"
column.name == "zepBank" ){ //|| column.name == "zepBank"
){
column.editor.required = true; column.editor.required = true;
} }
}) })
...@@ -387,7 +378,15 @@ function loadGrid(obj) { ...@@ -387,7 +378,15 @@ function loadGrid(obj) {
toolbarOptions = UICtrl.getDefaultToolbarOptions({ toolbarOptions = UICtrl.getDefaultToolbarOptions({
addHandler: function () { addHandler: function () {
tableArray.forEach((item) => { tableArray.forEach((item) => {
UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"K",zepBptypename:"供应商"}); UICtrl.addGridRow(item.gridManager,
{
zepItemno: getZepItemNo(),
zepBptype:"K",
zepBptypename:"供应商",
zlsch:"T",
zlschTextView:"T-电汇",
}
);
}); });
}, },
deleteHandler: function () { deleteHandler: function () {
......
...@@ -433,31 +433,24 @@ var tableArray = [ ...@@ -433,31 +433,24 @@ var tableArray = [
// } // }
}, },
{ {
display: "付款方式代码", name: "zlsch", width: 120, minwidth: 120, type: "string", align: "left", display: "付款方式", name: "zlschTextView", width: 200, minwidth: 120, type: "string", align: "left",
/*editor: { editor: {
required: false, type: "select", type: 'dictionary',
data: { data: {name: 'zlsch'},
type: 'system', textField: 'zlschTextView',
name: "dictionary", valueField: 'zlsch',
getParam: function (item) { required: true,
return {fieldName: "ZLSCH"} render: function (item) {
}, return item.zlsch;
back: { }
ZLSCH: "zlsch", },
ZLSCH_TEXT1: "zlschText1",
}
},
}*/
render:function (item){
return item.zlsch = "T"
}
},
{
display: "付款方式名称", name: "zlschText1", width: 120, minwidth: 120, type: "string", align: "left",
render:function (item){
return item.zlschText1 = "电汇"
}
}, },
// {
// display: "付款方式名称", name: "zlschText1", width: 120, minwidth: 120, type: "string", align: "left",
// render:function (item){
// return item.zlschText1 = "电汇"
// }
// },
{ {
display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left", display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left",
editor: { editor: {
...@@ -530,9 +523,10 @@ function loadGrid(obj) { ...@@ -530,9 +523,10 @@ function loadGrid(obj) {
canEdit = true; canEdit = true;
var columns = obj.columns; var columns = obj.columns;
columns.some(column => { columns.some(column => {
if (column.name == "rstgrName" || if (//column.name == "rstgrName" ||
column.name == "zepPay" || column.name == "zepPay"
column.name == "zepBank" ){ //|| column.name == "zepBank"
){
column.editor.required = true; column.editor.required = true;
} }
}) })
...@@ -551,7 +545,10 @@ function loadGrid(obj) { ...@@ -551,7 +545,10 @@ function loadGrid(obj) {
toolbarOptions = UICtrl.getDefaultToolbarOptions({ toolbarOptions = UICtrl.getDefaultToolbarOptions({
addHandler: function () { addHandler: function () {
tableArray.forEach((item) => { tableArray.forEach((item) => {
UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"E",zepBptypename:"员工客户",waers: 'CNY', kursf: 1.00}); UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"E",zepBptypename:"员工客户",waers: 'CNY', kursf: 1.00,
zlsch:"T",
zlschTextView:"T-电汇",
});
}); });
}, },
deleteHandler: function () { deleteHandler: function () {
......
...@@ -255,32 +255,18 @@ var tableArray = [ ...@@ -255,32 +255,18 @@ var tableArray = [
mask: 'nnnnnnnnn.nn', mask: 'nnnnnnnnn.nn',
} }
}, },
{ {
display: "付款方式代码", name: "zlsch", width: 120, minwidth: 120, type: "string", align: "left", display: "付款方式", name: "zlschTextView", width: 200, minwidth: 120, type: "string", align: "left",
/*editor: { editor: {
required: true, type: "select", type: 'dictionary',
data: { data: {name: 'zlsch'},
type: 'system', textField: 'zlschTextView',
name: "dictionary", valueField: 'zlsch',
getParam: function (item) { required: true,
return {fieldName: "ZLSCH"} render: function (item) {
}, return item.zlsch;
back: { }
ZLSCH: "zlsch", },
ZLSCH_TEXT1: "zlschText1",
}
},
}*/
render:function (item){
return item.zlsch = "T"
}
},
{
display: "付款方式名称", name: "zlschText1", width: 120, minwidth: 120, type: "string", align: "left",
render:function (item){
return item.zlschText1 = "电汇"
}
}, },
{ {
display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left", display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left",
...@@ -394,9 +380,10 @@ function loadGrid(obj) { ...@@ -394,9 +380,10 @@ function loadGrid(obj) {
canEdit = true; canEdit = true;
var columns = obj.columns; var columns = obj.columns;
columns.some(column => { columns.some(column => {
if (column.name == "rstgrName" || if (//column.name == "rstgrName" ||
column.name == "zepPay" || column.name == "zepPay"
column.name == "zepBank" ){ //|| column.name == "zepBank"
){
column.editor.required = true; column.editor.required = true;
} }
}) })
...@@ -415,7 +402,8 @@ function loadGrid(obj) { ...@@ -415,7 +402,8 @@ function loadGrid(obj) {
toolbarOptions = UICtrl.getDefaultToolbarOptions({ toolbarOptions = UICtrl.getDefaultToolbarOptions({
addHandler: function () { addHandler: function () {
tableArray.forEach((item) => { tableArray.forEach((item) => {
UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"E",zepBptypename:"员工",waers:"CNY",kursf:"1"}); UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"E",zepBptypename:"员工",waers:"CNY",kursf:"1",zlsch:"T",
zlschTextView:"T-电汇",});
}); });
}, },
deleteHandler: function () { deleteHandler: function () {
......
...@@ -250,16 +250,17 @@ var tableArray = [ ...@@ -250,16 +250,17 @@ var tableArray = [
} }
}, },
{ {
display: "付款方式代码", name: "zlsch", width: 120, minwidth: 120, type: "string", align: "left", display: "付款方式代码", name: "zlschTextView", width: 200, minwidth: 120, type: "string", align: "left",
render:function (item){ editor: {
return item.zlsch = "T" type: 'dictionary',
} data: {name: 'zlsch'},
}, textField: 'zlschTextView',
{ valueField: 'zlsch',
display: "付款方式名称", name: "zlschText1", width: 120, minwidth: 120, type: "string", align: "left", required: true,
render:function (item){ render: function (item) {
return item.zlschText1 = "电汇" return item.zlsch;
} }
},
}, },
{ {
display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left", display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left",
...@@ -378,9 +379,10 @@ function loadGrid(obj) { ...@@ -378,9 +379,10 @@ function loadGrid(obj) {
canEdit = true; canEdit = true;
var columns = obj.columns; var columns = obj.columns;
columns.some(column => { columns.some(column => {
if (column.name == "rstgrName" || if (//column.name == "rstgrName" ||
column.name == "zepPay" || column.name == "zepPay"
column.name == "zepBank" ){ //|| column.name == "zepBank"
){
column.editor.required = true; column.editor.required = true;
} }
}) })
...@@ -399,7 +401,8 @@ function loadGrid(obj) { ...@@ -399,7 +401,8 @@ function loadGrid(obj) {
toolbarOptions = UICtrl.getDefaultToolbarOptions({ toolbarOptions = UICtrl.getDefaultToolbarOptions({
addHandler: function () { addHandler: function () {
tableArray.forEach((item) => { tableArray.forEach((item) => {
UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"K",zepBptypename:"供应商"}); UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"K",zepBptypename:"供应商",zlsch:"T",
zlschTextView:"T-电汇",});
}); });
}, },
deleteHandler: function () { deleteHandler: function () {
......
...@@ -437,30 +437,17 @@ var tableArray = [ ...@@ -437,30 +437,17 @@ var tableArray = [
} }
}, },
{ {
display: "付款方式代码", name: "zlsch", width: 120, minwidth: 120, type: "string", align: "left", display: "付款方式", name: "zlschTextView", width: 200, minwidth: 120, type: "string", align: "left",
/*editor: { editor: {
required: false, type: "select", type: 'dictionary',
data: { data: {name: 'zlsch'},
type: 'system', textField: 'zlschTextView',
name: "dictionary", valueField: 'zlsch',
getParam: function (item) { required: true,
return {fieldName: "ZLSCH"} render: function (item) {
}, return item.zlsch;
back: { }
ZLSCH: "zlsch", },
ZLSCH_TEXT1: "zlschText1",
}
},
}*/
render:function (item){
return item.zlsch = "T"
}
},
{
display: "付款方式名称", name: "zlschText1", width: 120, minwidth: 120, type: "string", align: "left",
render:function (item){
return item.zlschText1 = "电汇"
}
}, },
{ {
display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left", display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left",
...@@ -533,9 +520,10 @@ function loadGrid(obj) { ...@@ -533,9 +520,10 @@ function loadGrid(obj) {
canEdit = true; canEdit = true;
var columns = obj.columns; var columns = obj.columns;
columns.some(column => { columns.some(column => {
if (column.name == "rstgrName" || if (//column.name == "rstgrName" ||
column.name == "zepPay" || column.name == "zepPay"
column.name == "zepBank" ){ //|| column.name == "zepBank"
){
column.editor.required = true; column.editor.required = true;
} }
}) })
...@@ -554,7 +542,8 @@ function loadGrid(obj) { ...@@ -554,7 +542,8 @@ function loadGrid(obj) {
toolbarOptions = UICtrl.getDefaultToolbarOptions({ toolbarOptions = UICtrl.getDefaultToolbarOptions({
addHandler: function () { addHandler: function () {
tableArray.forEach((item) => { tableArray.forEach((item) => {
UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"K",zepBptypename:"供应商",waers: 'CNY', kursf: 1.00}); UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"K",zepBptypename:"供应商",waers: 'CNY', kursf: 1.00,zlsch:"T",
zlschTextView:"T-电汇"});
}); });
}, },
deleteHandler: function () { deleteHandler: function () {
......
...@@ -197,16 +197,17 @@ var tableArray = [ ...@@ -197,16 +197,17 @@ var tableArray = [
} }
}, },
{ {
display: "付款方式代码", name: "zlsch", width: 120, minwidth: 120, type: "string", align: "left", display: "付款方式", name: "zlschTextView", width: 200, minwidth: 120, type: "string", align: "left",
render:function (item){ editor: {
return item.zlsch = "T" type: 'dictionary',
} data: {name: 'zlsch'},
}, textField: 'zlschTextView',
{ valueField: 'zlsch',
display: "付款方式名称", name: "zlschText1", width: 120, minwidth: 120, type: "string", align: "left", required: true,
render:function (item){ render: function (item) {
return item.zlschText1 = "电汇" return item.zlsch;
} }
},
}, },
{ {
display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left", display: "直联付款标识", name: "zepBank", width: 120, minwidth: 120, type: "string", align: "left",
...@@ -278,9 +279,10 @@ function loadGrid(obj) { ...@@ -278,9 +279,10 @@ function loadGrid(obj) {
canEdit = true; canEdit = true;
var columns = obj.columns; var columns = obj.columns;
columns.some(column => { columns.some(column => {
if (column.name == "rstgrName" || if (//column.name == "rstgrName" ||
column.name == "zepPay" || column.name == "zepPay"
column.name == "zepBank" ){ //|| column.name == "zepBank"
){
column.editor.required = true; column.editor.required = true;
} }
}) })
...@@ -299,7 +301,8 @@ function loadGrid(obj) { ...@@ -299,7 +301,8 @@ function loadGrid(obj) {
toolbarOptions = UICtrl.getDefaultToolbarOptions({ toolbarOptions = UICtrl.getDefaultToolbarOptions({
addHandler: function () { addHandler: function () {
tableArray.forEach((item) => { tableArray.forEach((item) => {
UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"D",zepBptypename:"客户"}); UICtrl.addGridRow(item.gridManager, {zepItemno: getZepItemNo(),zepBptype:"D",zepBptypename:"客户",zlsch:"T",
zlschTextView:"T-电汇"});
}); });
}, },
deleteHandler: function () { deleteHandler: function () {
......
...@@ -11,7 +11,6 @@ import com.huigou.topsun.ep.change.domain.query.EpChangeFormQueryRequest; ...@@ -11,7 +11,6 @@ import com.huigou.topsun.ep.change.domain.query.EpChangeFormQueryRequest;
import com.huigou.uasp.annotation.ControllerMapping; import com.huigou.uasp.annotation.ControllerMapping;
import com.huigou.uasp.bmp.common.BizBillStatus; import com.huigou.uasp.bmp.common.BizBillStatus;
import com.huigou.uasp.client.CommonController; import com.huigou.uasp.client.CommonController;
import com.huigou.util.ClassHelper;
import com.huigou.util.SDO; import com.huigou.util.SDO;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
...@@ -23,8 +22,6 @@ import java.util.Arrays; ...@@ -23,8 +22,6 @@ import java.util.Arrays;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import static sun.plugin2.os.windows.OSVERSIONINFOA.size;
/** /**
* @Auther: xin.lu * @Auther: xin.lu
* @Date: 2024/06/19/10:05 * @Date: 2024/06/19/10:05
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment