|
|
@@ -42,11 +42,11 @@
|
|
|
<el-button type="primary" size="small" plain @click="CopyDocumentsfun">复制单据 </el-button>
|
|
|
<el-button type="primary" size="small" @click="allClick('修改单据类型')">修改单据类型 </el-button>
|
|
|
<el-button type="success" size="small" plain @click="increaseMawb">分单->主单 </el-button>
|
|
|
- <el-button type="warning" size="small" plain v-if="query.billStatus == 0 || query.billStatus == 999" @click="Disembarkingfun(4)"
|
|
|
+ <el-button type="warning" size="small" plain v-if="query.billStatus == 0 || query.billStatus == 888" @click="Disembarkingfun(4)"
|
|
|
>暂停</el-button
|
|
|
>
|
|
|
<el-button type="primary" size="small" plain v-if="query.billStatus == 4" @click="revokeWithdrawalfun(4)">撤销暂停 </el-button>
|
|
|
- <el-button type="warning" size="small" plain v-if="query.billStatus == 0 || query.billStatus == 999" @click="Disembarkingfun(1)"
|
|
|
+ <el-button type="warning" size="small" plain v-if="query.billStatus == 0 || query.billStatus == 888" @click="Disembarkingfun(1)"
|
|
|
>退舱</el-button
|
|
|
>
|
|
|
<el-button type="primary" size="small" plain v-if="query.billStatus == 1" @click="revokeWithdrawalfun(1)">撤销退舱 </el-button>
|
|
|
@@ -89,7 +89,8 @@
|
|
|
</el-dropdown>
|
|
|
<div style="margin-top: 10px">
|
|
|
<el-tabs type="card" v-model="query.billStatus" @tab-click="handleClick">
|
|
|
- <el-tab-pane label="全部" name="999"></el-tab-pane>
|
|
|
+<!-- <el-tab-pane label="全部" name="999"></el-tab-pane>-->
|
|
|
+ <el-tab-pane label="处理中" name="888"></el-tab-pane>
|
|
|
<el-tab-pane label="接单" name="0">
|
|
|
<span slot="label">接单</span>
|
|
|
</el-tab-pane>
|
|
|
@@ -522,7 +523,7 @@ export default {
|
|
|
etaList: [defaultDate(1)[0] + " 00:00", defaultDate(1)[1] + " 23:59"],
|
|
|
// 表格的检索条件
|
|
|
query: {
|
|
|
- billStatus: "999",
|
|
|
+ billStatus: "888", // 999 全部 888 处理中
|
|
|
billSort: "3"
|
|
|
},
|
|
|
// 弹窗的搜索项
|
|
|
@@ -615,7 +616,7 @@ export default {
|
|
|
{
|
|
|
label: "MB/L NO",
|
|
|
prop: "mblno",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
overHidden: true,
|
|
|
search: true,
|
|
|
span: 6,
|
|
|
@@ -627,7 +628,7 @@ export default {
|
|
|
{
|
|
|
label: "booking NO",
|
|
|
prop: "bookingNo",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
overHidden: true,
|
|
|
search: true,
|
|
|
span: 6,
|
|
|
@@ -639,7 +640,7 @@ export default {
|
|
|
{
|
|
|
label: "HB/L NO",
|
|
|
prop: "hblno",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
overHidden: true,
|
|
|
search: true,
|
|
|
span: 6,
|
|
|
@@ -651,7 +652,7 @@ export default {
|
|
|
{
|
|
|
label: "M/PayMode",
|
|
|
prop: "mpaymode",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -660,7 +661,7 @@ export default {
|
|
|
{
|
|
|
label: "H/PayMode",
|
|
|
prop: "hpaymode",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -672,7 +673,7 @@ export default {
|
|
|
type: "select",
|
|
|
search: true,
|
|
|
span: 6,
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -696,7 +697,7 @@ export default {
|
|
|
{
|
|
|
label: "单据编号",
|
|
|
prop: "billNo",
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
overHidden: true,
|
|
|
search: true,
|
|
|
span: 6,
|
|
|
@@ -730,7 +731,7 @@ export default {
|
|
|
label: "船名",
|
|
|
prop: "vesselEnName",
|
|
|
overHidden: true,
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true
|
|
|
@@ -738,7 +739,7 @@ export default {
|
|
|
{
|
|
|
label: "航次",
|
|
|
prop: "voyageNo",
|
|
|
- width: "100",
|
|
|
+ width: 100,
|
|
|
overHidden: true,
|
|
|
search: true,
|
|
|
span: 6,
|
|
|
@@ -750,7 +751,7 @@ export default {
|
|
|
{
|
|
|
label: "REF MBLNO",
|
|
|
prop: "refno",
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
overHidden: true,
|
|
|
search: true,
|
|
|
span: 6,
|
|
|
@@ -765,7 +766,7 @@ export default {
|
|
|
prop: "etd",
|
|
|
searchProp: "etdList",
|
|
|
type: "date",
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
unlinkPanels: true,
|
|
|
searchRange: true,
|
|
|
overHidden: true,
|
|
|
@@ -782,7 +783,7 @@ export default {
|
|
|
{
|
|
|
label: "到港日期",
|
|
|
prop: "eta",
|
|
|
- width: "80",
|
|
|
+ width: 80,
|
|
|
overHidden: true,
|
|
|
searchProp: "etaList",
|
|
|
type: "date",
|
|
|
@@ -824,7 +825,7 @@ export default {
|
|
|
label: "船公司",
|
|
|
prop: "carrierShortName",
|
|
|
overHidden: true,
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true
|
|
|
@@ -832,7 +833,7 @@ export default {
|
|
|
{
|
|
|
label: "装货港",
|
|
|
prop: "polEnName",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -841,7 +842,7 @@ export default {
|
|
|
{
|
|
|
label: "卸货港",
|
|
|
prop: "podEnName",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -850,7 +851,7 @@ export default {
|
|
|
{
|
|
|
label: "目的港",
|
|
|
prop: "destinationName",
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
overHidden: true,
|
|
|
type: "select",
|
|
|
filterable: true,
|
|
|
@@ -870,13 +871,13 @@ export default {
|
|
|
// {
|
|
|
// label: "交货地",
|
|
|
// prop: "placeDeliveryName",
|
|
|
- // width: "120",
|
|
|
+ // width: 120,
|
|
|
// overHidden: true,
|
|
|
// },
|
|
|
{
|
|
|
label: "航线",
|
|
|
prop: "lineCnName",
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
overHidden: true,
|
|
|
type: "select",
|
|
|
filterable: true,
|
|
|
@@ -896,7 +897,7 @@ export default {
|
|
|
{
|
|
|
label: "场站",
|
|
|
prop: "cyCnName",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
overHidden: true,
|
|
|
type: "select",
|
|
|
filterable: true,
|
|
|
@@ -921,13 +922,13 @@ export default {
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
overHidden: true
|
|
|
},
|
|
|
{
|
|
|
label: "箱型/箱量",
|
|
|
prop: "quantityCntrDescr",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -936,7 +937,7 @@ export default {
|
|
|
// {
|
|
|
// label: "箱量",
|
|
|
// prop: "CntrDescr",
|
|
|
- // width:"120",
|
|
|
+ // width: 120,
|
|
|
// overHidden:true,
|
|
|
// },
|
|
|
{
|
|
|
@@ -946,7 +947,7 @@ export default {
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
dicData: [
|
|
|
{
|
|
|
label: "公司",
|
|
|
@@ -969,7 +970,7 @@ export default {
|
|
|
{
|
|
|
label: "来源详情",
|
|
|
prop: "srcCnName",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
overHidden: true,
|
|
|
search: true,
|
|
|
span: 6,
|
|
|
@@ -985,7 +986,7 @@ export default {
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
dicData: [
|
|
|
{
|
|
|
label: "整箱",
|
|
|
@@ -1005,7 +1006,7 @@ export default {
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
dicData: [
|
|
|
{
|
|
|
label: "普货",
|
|
|
@@ -1025,7 +1026,7 @@ export default {
|
|
|
{
|
|
|
label: "创建部门",
|
|
|
prop: "createDeptName",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
overHidden: true,
|
|
|
type: "tree",
|
|
|
dicUrl: "/api/blade-system/dept/tree",
|
|
|
@@ -1044,7 +1045,7 @@ export default {
|
|
|
{
|
|
|
label: "订舱代理",
|
|
|
prop: "bookingAgentCnName",
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
overHidden: true,
|
|
|
type: "select",
|
|
|
filterable: true,
|
|
|
@@ -1064,7 +1065,7 @@ export default {
|
|
|
{
|
|
|
label: "收货人",
|
|
|
prop: "hconsigneeCnName",
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
overHidden: true,
|
|
|
type: "select",
|
|
|
filterable: true,
|
|
|
@@ -1084,7 +1085,7 @@ export default {
|
|
|
{
|
|
|
label: "签单方式",
|
|
|
prop: "issueType",
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
overHidden: true,
|
|
|
type: "select",
|
|
|
// audit_status_los
|
|
|
@@ -1103,7 +1104,7 @@ export default {
|
|
|
{
|
|
|
label: "唛头",
|
|
|
prop: "marks",
|
|
|
- width: "180",
|
|
|
+ width: 180,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1115,7 +1116,7 @@ export default {
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
overHidden: true
|
|
|
},
|
|
|
{
|
|
|
@@ -1124,13 +1125,13 @@ export default {
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
overHidden: true
|
|
|
},
|
|
|
// {
|
|
|
// label: "净重 (KGM)",
|
|
|
// prop: "netWeight",
|
|
|
- // width: "140",
|
|
|
+ // width: 140,
|
|
|
// filterable: true,
|
|
|
// filters: true,
|
|
|
// sortable: true,
|
|
|
@@ -1139,7 +1140,7 @@ export default {
|
|
|
{
|
|
|
label: "体积 (CBM)",
|
|
|
prop: "measurement",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1148,7 +1149,7 @@ export default {
|
|
|
{
|
|
|
label: "TEU箱数",
|
|
|
prop: "teu",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1157,7 +1158,7 @@ export default {
|
|
|
{
|
|
|
label: "V20",
|
|
|
prop: "quantityV20",
|
|
|
- width: "100",
|
|
|
+ width: 100,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1166,7 +1167,7 @@ export default {
|
|
|
{
|
|
|
label: "V40",
|
|
|
prop: "quantityV40",
|
|
|
- width: "100",
|
|
|
+ width: 100,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1175,7 +1176,7 @@ export default {
|
|
|
{
|
|
|
label: "40HC",
|
|
|
prop: "quantityV40hc",
|
|
|
- width: "100",
|
|
|
+ width: 100,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1184,7 +1185,7 @@ export default {
|
|
|
{
|
|
|
label: "V45",
|
|
|
prop: "quantityV45",
|
|
|
- width: "100",
|
|
|
+ width: 100,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1193,7 +1194,7 @@ export default {
|
|
|
{
|
|
|
label: "V48",
|
|
|
prop: "quantityV48",
|
|
|
- width: "100",
|
|
|
+ width: 100,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1241,38 +1242,38 @@ export default {
|
|
|
// {
|
|
|
// label: "应收(CNY)",
|
|
|
// prop: "amountDr",
|
|
|
- // width: "160",
|
|
|
+ // width: 160,
|
|
|
// overHidden:true,
|
|
|
// },
|
|
|
// {
|
|
|
// label: "应付(CNY)",
|
|
|
// prop: "amountCr",
|
|
|
- // width: "160",
|
|
|
+ // width: 160,
|
|
|
// overHidden:true,
|
|
|
// },
|
|
|
// {
|
|
|
// label: "利润(CNY)",
|
|
|
// prop: "amountProfit",
|
|
|
- // width: "160",
|
|
|
+ // width: 160,
|
|
|
// overHidden:true,
|
|
|
// },
|
|
|
// {
|
|
|
// // label: "综合 USD 应付(USD) - 非 USD 外币转换为 USD",
|
|
|
// label: "综合应付(USD)",
|
|
|
// prop: "amountCrUsd",
|
|
|
- // width: "120",
|
|
|
+ // width: 120,
|
|
|
// overHidden:true,
|
|
|
// },
|
|
|
// {
|
|
|
// label: "综合利润(USD)",
|
|
|
// prop: "amountProfitUsd",
|
|
|
- // width: "120",
|
|
|
+ // width: 120,
|
|
|
// overHidden:true,
|
|
|
// },
|
|
|
{
|
|
|
label: "合计应收(CNY )",
|
|
|
prop: "amountDrLoc",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1281,7 +1282,7 @@ export default {
|
|
|
{
|
|
|
label: "合计应付(CNY)",
|
|
|
prop: "amountCrLoc",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1290,7 +1291,7 @@ export default {
|
|
|
{
|
|
|
label: "合计利润(CNY)",
|
|
|
prop: "amountProfitLoc",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1299,7 +1300,7 @@ export default {
|
|
|
{
|
|
|
label: "付费申请状态",
|
|
|
prop: "checkCrStatusDescr",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1308,7 +1309,7 @@ export default {
|
|
|
{
|
|
|
label: "应收对账状态",
|
|
|
prop: "checkDrStatusDescr",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1317,7 +1318,7 @@ export default {
|
|
|
// {
|
|
|
// label: "应付对账状态",
|
|
|
// prop: "checkCrStatusDescr",
|
|
|
- // width:"160",
|
|
|
+ // width:160,
|
|
|
// overHidden:true,
|
|
|
// },
|
|
|
{
|
|
|
@@ -1342,7 +1343,7 @@ export default {
|
|
|
value: "结清"
|
|
|
}
|
|
|
],
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
searchLabelWidth: "100",
|
|
|
overHidden: true,
|
|
|
searchOrder: 21
|
|
|
@@ -1369,7 +1370,7 @@ export default {
|
|
|
value: "结清"
|
|
|
}
|
|
|
],
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
searchLabelWidth: "100",
|
|
|
overHidden: true,
|
|
|
searchOrder: 22
|
|
|
@@ -1377,7 +1378,7 @@ export default {
|
|
|
{
|
|
|
label: "销项发票状态",
|
|
|
prop: "invoiceDrStatusDescr",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1429,7 +1430,7 @@ export default {
|
|
|
label: "创建人",
|
|
|
prop: "createUserName",
|
|
|
search: true,
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
rules: [
|
|
|
{
|
|
|
required: true,
|
|
|
@@ -1446,7 +1447,7 @@ export default {
|
|
|
{
|
|
|
label: "创建时间",
|
|
|
prop: "createTime",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1459,7 +1460,7 @@ export default {
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
dicData: [
|
|
|
{
|
|
|
label: "未发送",
|
|
|
@@ -1481,7 +1482,7 @@ export default {
|
|
|
label: "dictValue",
|
|
|
value: "dictKey"
|
|
|
},
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1496,7 +1497,7 @@ export default {
|
|
|
label: "dictValue",
|
|
|
value: "dictKey"
|
|
|
},
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
filterable: true,
|
|
|
filters: true,
|
|
|
sortable: true,
|
|
|
@@ -1509,7 +1510,7 @@ export default {
|
|
|
search: true,
|
|
|
searchOrder: 26,
|
|
|
dicUrl: "/api/blade-system/dict-biz/dictionary?code=audit_status_los",
|
|
|
- width: "140",
|
|
|
+ width: 140,
|
|
|
props: {
|
|
|
label: "dictValue",
|
|
|
value: "dictKey"
|
|
|
@@ -1600,13 +1601,13 @@ export default {
|
|
|
{
|
|
|
label: "卸货港",
|
|
|
prop: "podCnName",
|
|
|
- width: "120",
|
|
|
+ width: 120,
|
|
|
overHidden: true
|
|
|
},
|
|
|
{
|
|
|
label: "单据编号",
|
|
|
prop: "billNo",
|
|
|
- width: "160",
|
|
|
+ width: 160,
|
|
|
overHidden: true
|
|
|
},
|
|
|
{
|
|
|
@@ -1647,7 +1648,7 @@ export default {
|
|
|
{
|
|
|
label: "单据日期",
|
|
|
prop: "billDate",
|
|
|
- width: "150",
|
|
|
+ width: 150,
|
|
|
overHidden: true
|
|
|
}
|
|
|
]
|
|
|
@@ -1708,14 +1709,6 @@ export default {
|
|
|
// 获取当前登录人个人信息
|
|
|
this.saberUserInfo = JSON.parse(localStorage.getItem("saber-userInfo")).content;
|
|
|
|
|
|
- // this.optionBack.column.forEach((col, index) => {
|
|
|
- // col.index = index + 1;
|
|
|
- // col.filters = false;
|
|
|
- // });
|
|
|
- // this.mawbOptionBack.column.forEach((col, index) => {
|
|
|
- // col.index = index + 1;
|
|
|
- // });
|
|
|
-
|
|
|
this.option = await this.getColumnData(this.getColumnName(309), this.optionBack);
|
|
|
this.mawbOption = await this.getColumnData(this.getColumnName(309.7), this.mawbOptionBack); // 主单列表
|
|
|
|
|
|
@@ -1726,12 +1719,7 @@ export default {
|
|
|
// if (this.$route.query.id) {
|
|
|
// this.rowCellfun(this.$route.query.id)
|
|
|
// }
|
|
|
- // this.option = await this.getColumnData(this.getColumnName(309), this.optionBack);
|
|
|
- // if (localStorage.getItem(this.getColumnName(309))) {
|
|
|
- // this.optionBack = JSON.parse(
|
|
|
- // localStorage.getItem(this.getColumnName(309))
|
|
|
- // );
|
|
|
- // }
|
|
|
+
|
|
|
this.billStatusWorkDictsfun(); // 获取业务状态字典数据
|
|
|
this.accountStatusWorkDictsfun(); // 获取财务状态字典数据
|
|
|
this.statusWorkDictsfun(); // 业务审核类型
|
|
|
@@ -2167,6 +2155,11 @@ export default {
|
|
|
// if (this.query.billStatus == 4) {
|
|
|
// this.query.billStatus = null;
|
|
|
// }
|
|
|
+ this.page = {
|
|
|
+ pageSize: 10,
|
|
|
+ currentPage: 1,
|
|
|
+ total: 0
|
|
|
+ }
|
|
|
this.onLoad(this.page, this.query);
|
|
|
},
|
|
|
// 获取委托人数据
|
|
|
@@ -2424,6 +2417,10 @@ export default {
|
|
|
// 新增弹窗开启
|
|
|
addbtnfun(type) {
|
|
|
this.pageIds = [];
|
|
|
+ this.data.forEach(item => {
|
|
|
+ this.pageIds.push(item.id);
|
|
|
+ });
|
|
|
+
|
|
|
this.detailData.seeDisabled = false;
|
|
|
this.detailData.billType = type;
|
|
|
// this.detailData.copyId=this.selectionList[0].id
|
|
|
@@ -2702,8 +2699,12 @@ export default {
|
|
|
done();
|
|
|
},
|
|
|
searchReset() {
|
|
|
- this.query = {};
|
|
|
- this.query.billSort = this.query.billSort ? this.query.billSort : "3";
|
|
|
+ let q = JSON.parse(JSON.stringify(this.query));
|
|
|
+ this.query = {
|
|
|
+ billStatus: q.billStatus ? q.billStatus : "888",
|
|
|
+ billSort: q.billSort ? q.billSort : "3",
|
|
|
+ };
|
|
|
+ // this.query.billSort = this.query.billSort ? this.query.billSort : "3";
|
|
|
this.onLoad(this.page);
|
|
|
},
|
|
|
// 搜索
|
|
|
@@ -2826,7 +2827,6 @@ export default {
|
|
|
* 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
|
|
|
* 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
|
|
|
*/
|
|
|
- // wfg option -> optionBack ?
|
|
|
const inSave = await this.saveColumnData(this.getColumnName(code), this[option]);
|
|
|
if (inSave) {
|
|
|
this.$message.success("保存成功");
|
|
|
@@ -2837,8 +2837,6 @@ export default {
|
|
|
},
|
|
|
//自定义列重置
|
|
|
async resetColumn(ref, option, optionBack, code) {
|
|
|
- console.log("resetColumn.option", option, this[option]);
|
|
|
- console.log("resetColumn.optionBack", optionBack, this[optionBack]);
|
|
|
this[option] = this[optionBack];
|
|
|
const inSave = await this.delColumnData(this.getColumnName(code), this[optionBack]);
|
|
|
if (inSave) {
|