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