|
@@ -822,9 +822,7 @@
|
|
|
label-width="80px"
|
|
|
style="display: flex; flex-wrap: wrap"
|
|
|
>
|
|
|
- <el-row>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="货权方" prop="fCtrlcorpid">
|
|
|
+ <el-form-item label="货权方" prop="fCtrlcorpid">
|
|
|
<!-- <el-input v-model="queryParameter.fCorpid" placeholder="请输入货权方" style="width: 200px;"/>-->
|
|
|
<el-select
|
|
|
v-model="queryParams.fCorpid"
|
|
@@ -832,7 +830,7 @@
|
|
|
remote
|
|
|
clearable
|
|
|
size="small"
|
|
|
- style="width: 160px"
|
|
|
+ style="width: 80%"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
:remote-method="corpsRemoteMethod"
|
|
|
placeholder="请选择货权方"
|
|
@@ -845,9 +843,7 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="结算单位" prop="fToCorpid">
|
|
|
+ <el-form-item label="结算单位" prop="fToCorpid">
|
|
|
<el-select
|
|
|
v-model="queryParameter.fToCorpid"
|
|
|
filterable
|
|
@@ -855,7 +851,7 @@
|
|
|
clearable
|
|
|
size="small"
|
|
|
:disabled="doNot"
|
|
|
- style="width: 160px"
|
|
|
+ style="width: 80%"
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
:remote-method="corpsRemoteMethod"
|
|
|
placeholder="请输入结算单位"
|
|
@@ -868,39 +864,31 @@
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="提单号" prop="tMblno">
|
|
|
+ <el-form-item label="提单号" prop="tMblno">
|
|
|
<el-input
|
|
|
v-model="queryParameter.fMblno"
|
|
|
placeholder="请输入提单号"
|
|
|
- style="width: 160px"
|
|
|
+ style="width: 80%"
|
|
|
size="small"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="对账单号" prop="fStatementNo">
|
|
|
+ <el-form-item label="对账单号" prop="fStatementNo">
|
|
|
<el-input
|
|
|
v-model="queryParameter.fStatementNo"
|
|
|
placeholder="请输入提单号"
|
|
|
size="small"
|
|
|
@change="noNull"
|
|
|
- style="width: 160px"
|
|
|
+ style="width: 80%"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="费用名称" prop="fFeeid">
|
|
|
+ <el-form-item label="费用名称" prop="fFeeid">
|
|
|
<template>
|
|
|
<el-select
|
|
|
v-model="queryParameter.fFeeid"
|
|
|
filterable
|
|
|
remote
|
|
|
size="small"
|
|
|
- style="width: 160px"
|
|
|
+ style="width: 80%"
|
|
|
:remote-method="fWRemoteMethod"
|
|
|
placeholder="费用名称"
|
|
|
multiple
|
|
@@ -915,30 +903,13 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="仓储业务" prop="fFeeid" v-if="typevalue == 1 || typevalue == 3">
|
|
|
- <el-select
|
|
|
- v-model="queryParameter.fBilltype"
|
|
|
- size="small"
|
|
|
- style="width: 160px"
|
|
|
- @change="changefBilltype"
|
|
|
- placeholder="请选择仓储业务"
|
|
|
- >
|
|
|
- <el-option label="入库" value="SJRK"></el-option>
|
|
|
- <el-option label="出库" value="SJCK"></el-option>
|
|
|
- <el-option label="货权转移" value="HQZY"></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="作业类型" prop="fBusinessType">
|
|
|
+ <el-form-item label="作业类型" prop="fBusinessType">
|
|
|
<el-select
|
|
|
v-model="queryParameter.fBusinessType"
|
|
|
filterable
|
|
|
remote
|
|
|
size="small"
|
|
|
- style="width: 160px"
|
|
|
+ style="width: 80%"
|
|
|
placeholder="作业类型"
|
|
|
multiple
|
|
|
>
|
|
@@ -951,31 +922,37 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="6" style="width: 240px"></el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item
|
|
|
- label="审核日期"
|
|
|
- prop="timeExamine"
|
|
|
- v-if="typevalue == 1 || typevalue == 3"
|
|
|
- >
|
|
|
- <el-date-picker
|
|
|
- size="small"
|
|
|
- style="width: 240px"
|
|
|
- v-model="queryParameter.timeExamine"
|
|
|
- type="daterange"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- :default-time="['00:00:00', '23:59:59']"
|
|
|
- >
|
|
|
- </el-date-picker>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item
|
|
|
+ <el-form-item label="仓储业务" prop="fFeeid" v-if="typevalue == 1 || typevalue == 3">
|
|
|
+ <el-select
|
|
|
+ v-model="queryParameter.fBilltype"
|
|
|
+ size="small"
|
|
|
+ style="width: 80%"
|
|
|
+ @change="changefBilltype"
|
|
|
+ placeholder="请选择仓储业务"
|
|
|
+ >
|
|
|
+ <el-option label="入库" value="SJRK"></el-option>
|
|
|
+ <el-option label="出库" value="SJCK"></el-option>
|
|
|
+ <el-option label="货权转移" value="HQZY"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item
|
|
|
+ label="审核日期"
|
|
|
+ prop="timeExamine"
|
|
|
+ v-if="typevalue == 1 || typevalue == 3"
|
|
|
+ >
|
|
|
+ <el-date-picker
|
|
|
+ size="small"
|
|
|
+ style="width: 80%"
|
|
|
+ v-model="queryParameter.timeExamine"
|
|
|
+ type="daterange"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ :default-time="['00:00:00', '23:59:59']"
|
|
|
+ >
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item
|
|
|
label="出入库日期"
|
|
|
label-width="85px"
|
|
|
prop="fAccbilldate"
|
|
@@ -983,7 +960,7 @@
|
|
|
>
|
|
|
<el-date-picker
|
|
|
size="small"
|
|
|
- style="width: 240px"
|
|
|
+ style="width: 80%"
|
|
|
v-model="queryParameter.timeInterval"
|
|
|
type="daterange"
|
|
|
start-placeholder="开始日期"
|
|
@@ -993,12 +970,183 @@
|
|
|
>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8" style="width: 320px">
|
|
|
- <el-form-item>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="6">-->
|
|
|
+<!-- <el-form-item label="货权方" prop="fCtrlcorpid">-->
|
|
|
+<!-- <!– <el-input v-model="queryParameter.fCorpid" placeholder="请输入货权方" style="width: 200px;"/>–>-->
|
|
|
+<!-- <el-select-->
|
|
|
+<!-- v-model="queryParams.fCorpid"-->
|
|
|
+<!-- filterable-->
|
|
|
+<!-- remote-->
|
|
|
+<!-- clearable-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- style="width: 160px"-->
|
|
|
+<!-- @keyup.enter.native="handleQuery"-->
|
|
|
+<!-- :remote-method="corpsRemoteMethod"-->
|
|
|
+<!-- placeholder="请选择货权方"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="(dict, index) in fMblnoOptions"-->
|
|
|
+<!-- :key="index.fId"-->
|
|
|
+<!-- :label="dict.fName"-->
|
|
|
+<!-- :value="dict.fId"-->
|
|
|
+<!-- ></el-option>-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="6">-->
|
|
|
+<!-- <el-form-item label="结算单位" prop="fToCorpid">-->
|
|
|
+<!-- <el-select-->
|
|
|
+<!-- v-model="queryParameter.fToCorpid"-->
|
|
|
+<!-- filterable-->
|
|
|
+<!-- remote-->
|
|
|
+<!-- clearable-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- :disabled="doNot"-->
|
|
|
+<!-- style="width: 160px"-->
|
|
|
+<!-- @keyup.enter.native="handleQuery"-->
|
|
|
+<!-- :remote-method="corpsRemoteMethod"-->
|
|
|
+<!-- placeholder="请输入结算单位"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="(dict, index) in fMblnoOptions"-->
|
|
|
+<!-- :key="index.fId"-->
|
|
|
+<!-- :label="dict.fName"-->
|
|
|
+<!-- :value="dict.fId"-->
|
|
|
+<!-- ></el-option>-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="6">-->
|
|
|
+<!-- <el-form-item label="提单号" prop="tMblno">-->
|
|
|
+<!-- <el-input-->
|
|
|
+<!-- v-model="queryParameter.fMblno"-->
|
|
|
+<!-- placeholder="请输入提单号"-->
|
|
|
+<!-- style="width: 160px"-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- />-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="6">-->
|
|
|
+<!-- <el-form-item label="对账单号" prop="fStatementNo">-->
|
|
|
+<!-- <el-input-->
|
|
|
+<!-- v-model="queryParameter.fStatementNo"-->
|
|
|
+<!-- placeholder="请输入提单号"-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- @change="noNull"-->
|
|
|
+<!-- style="width: 160px"-->
|
|
|
+<!-- />-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="6">-->
|
|
|
+<!-- <el-form-item label="费用名称" prop="fFeeid">-->
|
|
|
+<!-- <template>-->
|
|
|
+<!-- <el-select-->
|
|
|
+<!-- v-model="queryParameter.fFeeid"-->
|
|
|
+<!-- filterable-->
|
|
|
+<!-- remote-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- style="width: 160px"-->
|
|
|
+<!-- :remote-method="fWRemoteMethod"-->
|
|
|
+<!-- placeholder="费用名称"-->
|
|
|
+<!-- multiple-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="item in fWbuOptions"-->
|
|
|
+<!-- :key="item.fId"-->
|
|
|
+<!-- :label="item.fName"-->
|
|
|
+<!-- :value="item.fId"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- </el-option>-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </template>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="6">-->
|
|
|
+<!-- <el-form-item label="作业类型" prop="fBusinessType">-->
|
|
|
+<!-- <el-select-->
|
|
|
+<!-- v-model="queryParameter.fBusinessType"-->
|
|
|
+<!-- filterable-->
|
|
|
+<!-- remote-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- style="width: 160px"-->
|
|
|
+<!-- placeholder="作业类型"-->
|
|
|
+<!-- multiple-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option-->
|
|
|
+<!-- v-for="(dict, index) in businessTypeOption"-->
|
|
|
+<!-- :key="index.dictValue"-->
|
|
|
+<!-- :label="dict.dictLabel"-->
|
|
|
+<!-- :value="dict.dictValue"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- </el-option>-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="6">-->
|
|
|
+<!-- <el-form-item label="仓储业务" prop="fFeeid" v-if="typevalue == 1 || typevalue == 3">-->
|
|
|
+<!-- <el-select-->
|
|
|
+<!-- v-model="queryParameter.fBilltype"-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- style="width: 160px"-->
|
|
|
+<!-- @change="changefBilltype"-->
|
|
|
+<!-- placeholder="请选择仓储业务"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-option label="入库" value="SJRK"></el-option>-->
|
|
|
+<!-- <el-option label="出库" value="SJCK"></el-option>-->
|
|
|
+<!-- <el-option label="货权转移" value="HQZY"></el-option>-->
|
|
|
+<!-- </el-select>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="6" style="width: 500px"></el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
+<!-- <el-row>-->
|
|
|
+<!-- <el-col :span="8">-->
|
|
|
+<!-- <el-form-item-->
|
|
|
+<!-- label="审核日期"-->
|
|
|
+<!-- prop="timeExamine"-->
|
|
|
+<!-- v-if="typevalue == 1 || typevalue == 3"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-date-picker-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- style="width: 240px"-->
|
|
|
+<!-- v-model="queryParameter.timeExamine"-->
|
|
|
+<!-- type="daterange"-->
|
|
|
+<!-- start-placeholder="开始日期"-->
|
|
|
+<!-- end-placeholder="结束日期"-->
|
|
|
+<!-- value-format="yyyy-MM-dd"-->
|
|
|
+<!-- :default-time="['00:00:00', '23:59:59']"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- </el-date-picker>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="8">-->
|
|
|
+<!-- <el-form-item-->
|
|
|
+<!-- label="出入库日期"-->
|
|
|
+<!-- label-width="85px"-->
|
|
|
+<!-- prop="fAccbilldate"-->
|
|
|
+<!-- v-if="typevalue == 1 || typevalue == 3"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- <el-date-picker-->
|
|
|
+<!-- size="small"-->
|
|
|
+<!-- style="width: 240px"-->
|
|
|
+<!-- v-model="queryParameter.timeInterval"-->
|
|
|
+<!-- type="daterange"-->
|
|
|
+<!-- start-placeholder="开始日期"-->
|
|
|
+<!-- end-placeholder="结束日期"-->
|
|
|
+<!-- value-format="yyyy-MM-dd"-->
|
|
|
+<!-- :default-time="['00:00:00', '23:59:59']"-->
|
|
|
+<!-- >-->
|
|
|
+<!-- </el-date-picker>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- <el-col :span="8" style="width: 320px">-->
|
|
|
+<!-- <el-form-item>-->
|
|
|
+<!-- </el-form-item>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+<!-- </el-row>-->
|
|
|
</el-form>
|
|
|
<el-dialog
|
|
|
title="自定义列显示"
|
|
@@ -2884,7 +3032,7 @@ export default {
|
|
|
fFeesName: "", //结算单位
|
|
|
fCorpid: "", //结算单位ID
|
|
|
};
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
//大木
|
|
|
getCharge(this.approval.billId).then((response) => {
|
|
|
this.Operator = response.data.tFee.createBy;
|
|
@@ -3041,7 +3189,7 @@ export default {
|
|
|
check(row, res) {
|
|
|
this.notChange = true;
|
|
|
this.doNot = true
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
//大木
|
|
|
getCharge(row.fId).then((response) => {
|
|
|
this.Operator = response.data.tFee.createBy;
|
|
@@ -3369,7 +3517,7 @@ export default {
|
|
|
let formDate = new window.FormData();
|
|
|
formDate.append("tFee", JSON.stringify(this.queryParams));
|
|
|
formDate.append("tFeeDo", JSON.stringify(this.increase_s));
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
collectFee(formDate).then((response) => {
|
|
|
this.msgSuccess("操作成功");
|
|
|
this.open = false;
|
|
@@ -3644,7 +3792,7 @@ export default {
|
|
|
this.getDicts("approval_process").then((response) => {
|
|
|
this.options = response.data;
|
|
|
});
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
//大木
|
|
|
listCharge(this.tableFilter).then((response) => {
|
|
|
this.chargeList = response.rows;
|
|
@@ -3738,7 +3886,7 @@ export default {
|
|
|
this.chargeList_s = [];
|
|
|
if (this.queryParameter.fStatementNo) {
|
|
|
this.rules = {};
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
search(this.queryParameter).then((response) => {
|
|
|
this.chargeList_s = response.rows;
|
|
|
this.$message.success("查询成功");
|
|
@@ -3771,7 +3919,7 @@ export default {
|
|
|
if (this.rules) {
|
|
|
this.$refs["form"].validate((valid) => {
|
|
|
if (valid) {
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
search(this.queryParameter).then((response) => {
|
|
|
this.chargeList_s = response.rows;
|
|
|
if (this.chargeList_s.length !== 0) {
|
|
@@ -3927,7 +4075,7 @@ export default {
|
|
|
fCorpid: "", //结算单位ID
|
|
|
};
|
|
|
const fId = row.fId || this.ids;
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
//大木
|
|
|
getCharge(fId).then((response) => {
|
|
|
this.Operator = response.data.tFee.createBy;
|
|
@@ -4009,7 +4157,7 @@ export default {
|
|
|
let formData = new window.FormData();
|
|
|
formData.append("tFee", JSON.stringify(this.queryParams));
|
|
|
formData.append("tFeeDo", JSON.stringify(this.increase_s))
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
addCharge(formData).then((response) => {
|
|
|
this.msgSuccess("新增成功");
|
|
|
this.getList();
|
|
@@ -4048,7 +4196,7 @@ export default {
|
|
|
let formData = new window.FormData();
|
|
|
formData.append("tFee", JSON.stringify(this.queryParams));
|
|
|
formData.append("tFeeDo", JSON.stringify(this.increase_s));
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
addCharge(formData).then((response) => {
|
|
|
this.msgSuccess("修改成功");
|
|
|
// this.increase_s = []
|
|
@@ -4082,7 +4230,7 @@ export default {
|
|
|
handleDelete(row) {
|
|
|
const fIds = row.fId || this.ids;
|
|
|
let tips = "";
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
//大木
|
|
|
delCharge_s(fIds).then((data) => {
|
|
|
switch (data.msg) {
|
|
@@ -4159,7 +4307,7 @@ export default {
|
|
|
type: "warning",
|
|
|
})
|
|
|
.then(function () {
|
|
|
- if (Cookies.get("sysType") == 1) {
|
|
|
+ if (Cookies.get("sysType") == 1 || Cookies.get("sysType") == 4) {
|
|
|
return delCharge(fIds);
|
|
|
} else if (Cookies.get("sysType") == 2) {
|
|
|
return delCharges(fIds);
|