修订
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
<Table
|
<Table
|
||||||
:show-header="false"
|
:show-header="false"
|
||||||
border
|
border
|
||||||
|
height="700"
|
||||||
:data="data"
|
:data="data"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
show-summary
|
show-summary
|
||||||
@@ -23,13 +24,14 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
custnanme() {
|
custnanme() {
|
||||||
|
this.data3=[];
|
||||||
this.data.forEach(item => {
|
this.data.forEach(item => {
|
||||||
//console.log(1)
|
//console.log(1)
|
||||||
this.data3.push(item.cCusAbbName);
|
this.data3.push(item.cCusAbbName);
|
||||||
});
|
});
|
||||||
this.data3 = this.noRepeat(this.data3);
|
this.data3 = this.noRepeat(this.data3);
|
||||||
this.data3 = this.data3.slice(0, 10);
|
this.data3 = this.data3.slice(0, 10);
|
||||||
//console.log(this.data3);
|
//console.log(this.data);
|
||||||
return this.data3;
|
return this.data3;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -79,7 +79,6 @@ import {
|
|||||||
} from "@/libs/tools";
|
} from "@/libs/tools";
|
||||||
|
|
||||||
const isqj = {
|
const isqj = {
|
||||||
|
|
||||||
1: {
|
1: {
|
||||||
value: 1,
|
value: 1,
|
||||||
name: "是",
|
name: "是",
|
||||||
@@ -140,13 +139,14 @@ export default {
|
|||||||
{
|
{
|
||||||
type: "index",
|
type: "index",
|
||||||
title: "序号",
|
title: "序号",
|
||||||
width: 65,
|
width: 70,
|
||||||
align: "center"
|
align: "center"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "客户",
|
title: "客户",
|
||||||
align: "center",
|
align: "center",
|
||||||
key: "cCusAbbName",
|
key: "cCusAbbName",
|
||||||
|
width: 145,
|
||||||
filter: {
|
filter: {
|
||||||
type: "AutoComplete"
|
type: "AutoComplete"
|
||||||
}
|
}
|
||||||
@@ -154,6 +154,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "订单日期",
|
title: "订单日期",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
width: 145,
|
||||||
key: "dDate",
|
key: "dDate",
|
||||||
render: (h, params) => {
|
render: (h, params) => {
|
||||||
return <div> {dateFormat(params.row.dDate)} </div>;
|
return <div> {dateFormat(params.row.dDate)} </div>;
|
||||||
@@ -166,7 +167,7 @@ export default {
|
|||||||
title: "销售单号",
|
title: "销售单号",
|
||||||
align: "center",
|
align: "center",
|
||||||
key: "cSOCode",
|
key: "cSOCode",
|
||||||
width: "150",
|
width: "160",
|
||||||
filter: {
|
filter: {
|
||||||
type: "Input"
|
type: "Input"
|
||||||
}
|
}
|
||||||
@@ -176,6 +177,7 @@ export default {
|
|||||||
title: "产品编码",
|
title: "产品编码",
|
||||||
align: "center",
|
align: "center",
|
||||||
key: "cInvCode",
|
key: "cInvCode",
|
||||||
|
width: "120",
|
||||||
className: "demo-table-info-new",
|
className: "demo-table-info-new",
|
||||||
filter: {
|
filter: {
|
||||||
type: "Input"
|
type: "Input"
|
||||||
@@ -184,6 +186,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "产品名称",
|
title: "产品名称",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
width: "150",
|
||||||
key: "cInvName",
|
key: "cInvName",
|
||||||
filter: {
|
filter: {
|
||||||
type: "Input"
|
type: "Input"
|
||||||
@@ -201,6 +204,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "未发数量",
|
title: "未发数量",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
width: "120",
|
||||||
key: "wfiQuantity",
|
key: "wfiQuantity",
|
||||||
filter: {
|
filter: {
|
||||||
type: "Input"
|
type: "Input"
|
||||||
@@ -209,6 +213,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "库存余量",
|
title: "库存余量",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
width: "120",
|
||||||
key: "kcyl",
|
key: "kcyl",
|
||||||
filter: {
|
filter: {
|
||||||
type: "Input"
|
type: "Input"
|
||||||
@@ -217,6 +222,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "预计发货日期",
|
title: "预计发货日期",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
width: 145,
|
||||||
key: "dPreDate",
|
key: "dPreDate",
|
||||||
filter: {
|
filter: {
|
||||||
type: "DatePicker"
|
type: "DatePicker"
|
||||||
@@ -235,8 +241,9 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "时间预警",
|
title: "时间预警",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
width: 130,
|
||||||
key: "datewaring",
|
key: "datewaring",
|
||||||
filter: {
|
filter: {
|
||||||
type: "Select",
|
type: "Select",
|
||||||
option: stateListq
|
option: stateListq
|
||||||
}
|
}
|
||||||
@@ -245,6 +252,7 @@ export default {
|
|||||||
title: "超期天数",
|
title: "超期天数",
|
||||||
align: "center",
|
align: "center",
|
||||||
key: "jandate",
|
key: "jandate",
|
||||||
|
width: "120",
|
||||||
filter: {
|
filter: {
|
||||||
type: "Input"
|
type: "Input"
|
||||||
}
|
}
|
||||||
@@ -252,6 +260,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: "是否欠机",
|
title: "是否欠机",
|
||||||
align: "center",
|
align: "center",
|
||||||
|
width: "120",
|
||||||
key: "kcyl2",
|
key: "kcyl2",
|
||||||
render: (h, params) => {
|
render: (h, params) => {
|
||||||
return <div> {this.Formatkcyl(params.row.kcyl)} </div>;
|
return <div> {this.Formatkcyl(params.row.kcyl)} </div>;
|
||||||
@@ -385,45 +394,35 @@ export default {
|
|||||||
|
|
||||||
//console.log(search);
|
//console.log(search);
|
||||||
|
|
||||||
if(JSON.stringify(search.cCusAbbName)=="{}")
|
if (JSON.stringify(search.cCusAbbName) == "{}") {
|
||||||
{
|
search.cCusAbbName = "";
|
||||||
search.cCusAbbName=""
|
|
||||||
}
|
}
|
||||||
if(JSON.stringify(search.cSOCode)=="{}")
|
if (JSON.stringify(search.cSOCode) == "{}") {
|
||||||
{
|
search.cSOCode = "";
|
||||||
search.cSOCode=""
|
|
||||||
}
|
}
|
||||||
if(JSON.stringify(search.cInvCode)=="{}")
|
if (JSON.stringify(search.cInvCode) == "{}") {
|
||||||
{
|
search.cInvCode = "";
|
||||||
search.cInvCode=""
|
|
||||||
}
|
}
|
||||||
if(JSON.stringify(search.cInvName)=="{}")
|
if (JSON.stringify(search.cInvName) == "{}") {
|
||||||
{
|
search.cInvName = "";
|
||||||
search.cInvName=""
|
|
||||||
}
|
}
|
||||||
if(JSON.stringify(search.cInvStd)=="{}")
|
if (JSON.stringify(search.cInvStd) == "{}") {
|
||||||
{
|
|
||||||
console.log(123)
|
search.cInvStd = "";
|
||||||
search.cInvStd=""
|
|
||||||
}
|
}
|
||||||
if(JSON.stringify(search.wfiQuantity)=="{}")
|
if (JSON.stringify(search.wfiQuantity) == "{}") {
|
||||||
{
|
search.wfiQuantity = "";
|
||||||
search.wfiQuantity=""
|
|
||||||
}
|
}
|
||||||
if(JSON.stringify(search.kcyl)=="{}")
|
if (JSON.stringify(search.kcyl) == "{}") {
|
||||||
{
|
search.kcyl = "";
|
||||||
search.kcyl=""
|
|
||||||
}
|
}
|
||||||
if(JSON.stringify(search.datewaring)=="{}")
|
if (JSON.stringify(search.datewaring) == "{}") {
|
||||||
{
|
search.datewaring = "";
|
||||||
search.datewaring=""
|
|
||||||
}
|
}
|
||||||
if(JSON.stringify(search.cMemo)=="{}")
|
if (JSON.stringify(search.cMemo) == "{}") {
|
||||||
{
|
search.cMemo = "";
|
||||||
search.cMemo=""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
let _filert = {
|
let _filert = {
|
||||||
c_cus_abb_name: search.cCusAbbName,
|
c_cus_abb_name: search.cCusAbbName,
|
||||||
d_date: search.dDate,
|
d_date: search.dDate,
|
||||||
@@ -437,9 +436,7 @@ export default {
|
|||||||
datewaring: search.datewaring,
|
datewaring: search.datewaring,
|
||||||
c_memo: search.cMemo,
|
c_memo: search.cMemo,
|
||||||
jandate: search.jandate,
|
jandate: search.jandate,
|
||||||
kcyl2: search.kcyl2,
|
kcyl2: search.kcyl2
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let resp = await getInventorySale(_filert);
|
let resp = await getInventorySale(_filert);
|
||||||
@@ -528,7 +525,7 @@ body {
|
|||||||
padding: 10px 1;
|
padding: 10px 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ivu-select-dropdown-transfer{
|
.ivu-select-dropdown-transfer {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user