|
|
@@ -248,36 +248,36 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="计划净重(kg)" prop="fPlannetweight">
|
|
|
+ <el-form-item label="计划毛重(kg)" prop="fPlangrossweight">
|
|
|
<el-input
|
|
|
- v-model="form.fPlannetweight"
|
|
|
- style="width: 80%"
|
|
|
- maxlength="16"
|
|
|
- v-input-limit="2"
|
|
|
- laceholder="计划净重"
|
|
|
- :disabled="
|
|
|
+ v-model="form.fPlangrossweight"
|
|
|
+ v-input-limit="2"
|
|
|
+ style="width: 80%"
|
|
|
+ laceholder="计划毛重"
|
|
|
+ maxlength="16"
|
|
|
+ :disabled="
|
|
|
browseStatus || current !== before || form.warehouseStatus > 3
|
|
|
"
|
|
|
- @change="tfNetweight"
|
|
|
+ @change="tfGrossweight"
|
|
|
>
|
|
|
- <template slot="append">{{ tfNetweightnum }}吨</template>
|
|
|
+ <template slot="append">{{ tfGrossweightnum }}吨</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
|
- <el-form-item label="计划毛重(kg)" prop="fPlangrossweight">
|
|
|
+ <el-form-item label="计划净重(kg)" prop="fPlannetweight">
|
|
|
<el-input
|
|
|
- v-model="form.fPlangrossweight"
|
|
|
- v-input-limit="2"
|
|
|
+ v-model="form.fPlannetweight"
|
|
|
style="width: 80%"
|
|
|
- laceholder="计划毛重"
|
|
|
maxlength="16"
|
|
|
+ v-input-limit="2"
|
|
|
+ laceholder="计划净重"
|
|
|
:disabled="
|
|
|
browseStatus || current !== before || form.warehouseStatus > 3
|
|
|
"
|
|
|
- @change="tfGrossweight"
|
|
|
+ @change="tfNetweight"
|
|
|
>
|
|
|
- <template slot="append">{{ tfGrossweightnum }}吨</template>
|
|
|
+ <template slot="append">{{ tfNetweightnum }}吨</template>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -432,6 +432,26 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="打印抬头">
|
|
|
+ <el-select
|
|
|
+ v-model="form.fCompany"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ placeholder="请输入关键词"
|
|
|
+ style="width: 80%"
|
|
|
+ @change="changePrint"
|
|
|
+ :disabled="browseStatus || form.warehouseStatus > 3"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in fMblnoOptions"
|
|
|
+ :key="index.fId"
|
|
|
+ :label="item.fName"
|
|
|
+ :value="item.fId"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
@@ -947,6 +967,7 @@
|
|
|
align="center"
|
|
|
:fixed="item.fixed"
|
|
|
sortable
|
|
|
+ show-overflow-tooltip
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="item.label == 'fBillstatus'">
|
|
|
@@ -2292,6 +2313,7 @@
|
|
|
v-model="whgenlegParams.fCntrno"
|
|
|
placeholder="请输入箱号"
|
|
|
clearable
|
|
|
+ @keyup.enter.native="getDetailsList()"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -2517,7 +2539,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}请款单
|
|
|
+ {{ fCompanyName? fCompanyName: company }}请款单
|
|
|
</div>
|
|
|
<div
|
|
|
style="
|
|
|
@@ -2627,7 +2649,7 @@
|
|
|
position:relative;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}作业单
|
|
|
+ {{ fCompanyName? fCompanyName: company }}作业单
|
|
|
<div
|
|
|
style="
|
|
|
display: flex;
|
|
|
@@ -2769,7 +2791,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}出库单
|
|
|
+ {{ fCompanyName? fCompanyName: company }}出库单
|
|
|
</div>
|
|
|
<div class="print_table" style="display: flex">
|
|
|
<table
|
|
|
@@ -3014,7 +3036,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}
|
|
|
+ {{ fCompanyName? fCompanyName: company }}
|
|
|
</div>
|
|
|
<div style="font-size: 22px;margin-bottom: 5px;width: 100%;text-align: center">出库单</div>
|
|
|
<div class="print_table" style="display: flex">
|
|
|
@@ -3122,7 +3144,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}出库单
|
|
|
+ {{ fCompanyName? fCompanyName: company }}出库单
|
|
|
</div>
|
|
|
<div class="print_table" style="display: flex">
|
|
|
<table
|
|
|
@@ -3229,7 +3251,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}
|
|
|
+ {{ fCompanyName? fCompanyName: company }}
|
|
|
</div>
|
|
|
<div
|
|
|
style="
|
|
|
@@ -3345,7 +3367,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}
|
|
|
+ {{ fCompanyName? fCompanyName: company }}
|
|
|
</div>
|
|
|
<div
|
|
|
style="
|
|
|
@@ -3439,7 +3461,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}
|
|
|
+ {{ fCompanyName? fCompanyName: company }}
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
@@ -3550,7 +3572,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}
|
|
|
+ {{ fCompanyName? fCompanyName: company }}
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
@@ -3660,7 +3682,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}
|
|
|
+ {{ fCompanyName? fCompanyName: company }}
|
|
|
</div>
|
|
|
|
|
|
<div
|
|
|
@@ -3785,7 +3807,7 @@
|
|
|
margin-bottom: 5px;
|
|
|
"
|
|
|
>
|
|
|
- {{ company }}
|
|
|
+ {{ fCompanyName? fCompanyName: company }}
|
|
|
</div>
|
|
|
<div
|
|
|
style="
|
|
|
@@ -3856,12 +3878,12 @@
|
|
|
</table>
|
|
|
</div>
|
|
|
<div>人民币汇款路径:</div>
|
|
|
- <div>公司名称:{{ company }}</div>
|
|
|
- <div>纳税人识别号:{{ Identifier }}</div>
|
|
|
- <div>地址:{{ address }}</div>
|
|
|
- <div>电话:{{ phone }}</div>
|
|
|
- <div>开户行:{{ bank }}</div>
|
|
|
- <div>银行账户:{{ bankAccount }}</div>
|
|
|
+ <div>公司名称:{{ fCompanyName? fCompanyName: company }}</div>
|
|
|
+ <div>纳税人识别号:{{ printFeeConfirm.fTax }}</div>
|
|
|
+ <div>地址:{{ printFeeConfirm.fAddr }}</div>
|
|
|
+ <div>电话:{{ printFeeConfirm.fTel }}</div>
|
|
|
+ <div>开户行:{{ printFeeConfirm.fBankname }}</div>
|
|
|
+ <div>银行账户:{{ printFeeConfirm.fBankno }}</div>
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button
|
|
|
@@ -4189,7 +4211,7 @@ import {
|
|
|
revokefeeCheck
|
|
|
} from "@/api/warehouseBusiness/warehouseOutStock";
|
|
|
import {operationAgreement} from "@/api/agreement/agreement";
|
|
|
-import {listCorps} from "@/api/basicdata/corps";
|
|
|
+import {listCorps, getCorps} from "@/api/basicdata/corps";
|
|
|
import {listFees, getFees} from "@/api/basicdata/fees";
|
|
|
import {
|
|
|
listWarehouse,
|
|
|
@@ -4503,102 +4525,109 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
surface: "17",
|
|
|
+ label: "fShipper",
|
|
|
+ name: "发货方",
|
|
|
+ checked: 0,
|
|
|
+ width: 100,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ surface: "18",
|
|
|
label: "fGoodsval",
|
|
|
name: "货值",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "18",
|
|
|
+ surface: "19",
|
|
|
label: "fFleet",
|
|
|
name: "车队",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "19",
|
|
|
+ surface: "20",
|
|
|
label: "fTruckno",
|
|
|
name: "车号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "20",
|
|
|
+ surface: "21",
|
|
|
label: "fDriverName",
|
|
|
name: "司机名称",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "21",
|
|
|
+ surface: "22",
|
|
|
label: "fDriverTel",
|
|
|
name: "司机电话",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "22",
|
|
|
+ surface: "23",
|
|
|
label: "fDriverIdCar",
|
|
|
name: "司机身份证",
|
|
|
checked: 0,
|
|
|
width: 150,
|
|
|
},
|
|
|
{
|
|
|
- surface: "23",
|
|
|
+ surface: "24",
|
|
|
label: "fIsPass",
|
|
|
name: "是否放行",
|
|
|
checked: 0,
|
|
|
width: 150,
|
|
|
},
|
|
|
{
|
|
|
- surface: "24",
|
|
|
+ surface: "25",
|
|
|
label: "fLntype",
|
|
|
name: "装卸方式",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "25",
|
|
|
+ surface: "26",
|
|
|
label: "fForkliftman",
|
|
|
name: "叉车工",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "26",
|
|
|
+ surface: "27",
|
|
|
label: "fLocalcntrno",
|
|
|
name: "库内箱号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "27",
|
|
|
+ surface: "28",
|
|
|
label: "fSealno",
|
|
|
name: "封号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "28",
|
|
|
+ surface: "29",
|
|
|
label: "fSerialNumber",
|
|
|
name: "流水号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
},
|
|
|
{
|
|
|
- surface: "29",
|
|
|
+ surface: "30",
|
|
|
label: "remark",
|
|
|
name: "备注",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
}, {
|
|
|
- surface: "30",
|
|
|
+ surface: "31",
|
|
|
label: "fNowCarton",
|
|
|
name: "现箱号",
|
|
|
checked: 0,
|
|
|
width: 100,
|
|
|
}, {
|
|
|
- surface: "31",
|
|
|
+ surface: "32",
|
|
|
label: "fCartypeId",
|
|
|
name: "车辆类型",
|
|
|
checked: 0,
|
|
|
@@ -4734,22 +4763,21 @@ export default {
|
|
|
allDrAmount: 0,
|
|
|
print_fyqr: false,
|
|
|
activeName: 'searchList',
|
|
|
- // 识别号
|
|
|
- Identifier: '',
|
|
|
- // 地址
|
|
|
- address: '',
|
|
|
- // 电话
|
|
|
- phone: '',
|
|
|
- // 开户行
|
|
|
- bank: '',
|
|
|
- // 银行账户
|
|
|
- bankAccount: '',
|
|
|
// 付款信息费用确认单
|
|
|
print_Crfyqr: false,
|
|
|
// 是否启用请款单
|
|
|
isShowInvoice: null,
|
|
|
// 是否启用费用确认单
|
|
|
isShowFeesConfirm: null,
|
|
|
+ // 选择打印抬头中文名
|
|
|
+ fCompanyName: '',
|
|
|
+ printFeeConfirm: {
|
|
|
+ fAddr: '',
|
|
|
+ fBankname: '',
|
|
|
+ fBankno: '',
|
|
|
+ fTel: '',
|
|
|
+ fTax: '',
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -4779,34 +4807,23 @@ export default {
|
|
|
this.getConfigKey("entry.printing").then((response) => {
|
|
|
this.entryPrinting = response.msg;
|
|
|
});
|
|
|
- this.getConfigKey("taxpayer.identification.number").then((response) => {
|
|
|
- this.Identifier = response.msg;
|
|
|
- });
|
|
|
- this.getConfigKey("print.address").then((response) => {
|
|
|
- this.address = response.msg;
|
|
|
- });
|
|
|
- this.getConfigKey("print.phone").then((response) => {
|
|
|
- this.phone = response.msg;
|
|
|
- });
|
|
|
- this.getConfigKey("print.bank").then((response) => {
|
|
|
- this.bank = response.msg;
|
|
|
- });
|
|
|
- this.getConfigKey("print.bank.account").then((response) => {
|
|
|
- this.bankAccount = response.msg;
|
|
|
- });
|
|
|
this.getConfigKey("warehouse.show.invoice").then((response) => {
|
|
|
this.isShowInvoice = response.msg;
|
|
|
});
|
|
|
this.getConfigKey("warehouse.show.feesConfirm").then((response) => {
|
|
|
this.isShowFeesConfirm = response.msg;
|
|
|
});
|
|
|
- this.getDicts("data_stltype_type").then((response) => {
|
|
|
- this.fStltypeOptions = response.data;
|
|
|
- });
|
|
|
this.getDicts("st_out_type").then((response) => {
|
|
|
this.businessTypeOption = response.data;
|
|
|
localStorage.setItem("businessTypeList", JSON.stringify(response.data));
|
|
|
});
|
|
|
+ this.getDicts("storage_type").then((response) => {
|
|
|
+ this.fStorageTypeOptions = response.data;
|
|
|
+ localStorage.setItem("fStorageTypeList", JSON.stringify(response.data));
|
|
|
+ });
|
|
|
+ this.getDicts("data_stltype_type").then((response) => {
|
|
|
+ this.fStltypeOptions = response.data;
|
|
|
+ });
|
|
|
this.getDicts("data_unitfees").then((response) => {
|
|
|
this.fFeetUnitOptions = response.data;
|
|
|
});
|
|
|
@@ -4816,10 +4833,6 @@ export default {
|
|
|
this.getDicts("data_ifweigh_status").then((response) => {
|
|
|
this.fIfweighOptions = response.data;
|
|
|
});
|
|
|
- this.getDicts("storage_type").then((response) => {
|
|
|
- this.fStorageTypeOptions = response.data;
|
|
|
- localStorage.setItem("fStorageTypeList", JSON.stringify(response.data));
|
|
|
- });
|
|
|
this.getDicts("sys_car_type").then((response) => {
|
|
|
this.fCartypeOptions = response.data;
|
|
|
});
|
|
|
@@ -4875,6 +4888,17 @@ export default {
|
|
|
this.queryUser();
|
|
|
this.getRow();
|
|
|
this.getRow2();
|
|
|
+ this.form.fBstime = Date.parse(new Date());
|
|
|
+ },
|
|
|
+ activated() {
|
|
|
+ this.getDicts("st_out_type").then((response) => {
|
|
|
+ this.businessTypeOption = response.data;
|
|
|
+ localStorage.setItem("businessTypeList", JSON.stringify(response.data));
|
|
|
+ });
|
|
|
+ this.getDicts("storage_type").then((response) => {
|
|
|
+ this.fStorageTypeOptions = response.data;
|
|
|
+ localStorage.setItem("fStorageTypeList", JSON.stringify(response.data));
|
|
|
+ });
|
|
|
},
|
|
|
filters: {
|
|
|
fBsdateFormat(row) {
|
|
|
@@ -5289,6 +5313,7 @@ export default {
|
|
|
fWarehouseInformation: e.fWarehouseids,
|
|
|
fSrcid: e.fId,
|
|
|
fSrcBsdate: e.fBsdate,
|
|
|
+ fShipper: e.fShipper,
|
|
|
});
|
|
|
});
|
|
|
} else {
|
|
|
@@ -5330,6 +5355,7 @@ export default {
|
|
|
fWarehouseInformation: e.fWarehouseids,
|
|
|
fSrcid: e.fId,
|
|
|
fSrcBsdate: e.fBsdate,
|
|
|
+ fShipper: e.fShipper,
|
|
|
});
|
|
|
});
|
|
|
}
|
|
|
@@ -5516,6 +5542,8 @@ export default {
|
|
|
this.fMblnoOptions.map((e) => {
|
|
|
if (row == e.fId) {
|
|
|
this.$set(this.form, "fStltypeid", e.fStltypeid.toString());
|
|
|
+ // 选完客户带入发货方
|
|
|
+ // this.$set(this.form, 'fShipper', e.fName)
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
@@ -6026,6 +6054,8 @@ export default {
|
|
|
getForm() {
|
|
|
getWarehousebills(this.chiId).then((response) => {
|
|
|
this.form = response.data.warehousebills;
|
|
|
+ // 判断有没有打印抬头
|
|
|
+ if (this.form.fCompany) this.changePrint()
|
|
|
// queryReviewer(this.form.fId).then(res => {
|
|
|
// if (!res.data) {
|
|
|
// this.firstReviewer = '';
|
|
|
@@ -6282,6 +6312,10 @@ export default {
|
|
|
let fMarks = [];
|
|
|
let fProductName = [];
|
|
|
let fMblno = [];
|
|
|
+ let fShipper = [];
|
|
|
+ let fPlanqty = 0;
|
|
|
+ let fPlannetweight = 0;
|
|
|
+ let fPlangrossweight = 0;
|
|
|
this.detailList.map((e) => {
|
|
|
if (e.fMarks) {
|
|
|
fMarks.push(e.fMarks);
|
|
|
@@ -6292,7 +6326,24 @@ export default {
|
|
|
if (e.fMblno) {
|
|
|
fMblno.push(e.fMblno);
|
|
|
}
|
|
|
+ if (e.fShipper) {
|
|
|
+ fShipper.push(e.fShipper)
|
|
|
+ }
|
|
|
+ if (e.fPlanqty) {
|
|
|
+ fPlanqty += e.fPlanqty
|
|
|
+ }
|
|
|
+ if (e.fPlannetweight) {
|
|
|
+ fPlannetweight += e.fPlannetweight
|
|
|
+ }
|
|
|
+ if (e.fPlangrossweight) {
|
|
|
+ fPlangrossweight += e.fPlangrossweight
|
|
|
+ }
|
|
|
});
|
|
|
+ // 如果计划件数、计划净重、计划毛重 为空或为0带入明细
|
|
|
+ this.form.fPlanqty == 0 || !this.form.fPlanqty? this.$set(this.form, "fPlanqty", fPlanqty): 0
|
|
|
+ this.form.fPlannetweight == 0 || !this.form.fPlannetweight? this.$set(this.form, "fPlannetweight", fPlanqty): 0
|
|
|
+ this.form.fPlangrossweight == 0 || !this.form.fPlangrossweight? this.$set(this.form, "fPlangrossweight", fPlanqty): 0
|
|
|
+ this.$set(this.form, "fShipper", [...new Set(fShipper)].join(","))
|
|
|
this.$set(this.form, "fMarks", [...new Set(fMarks)].join(","));
|
|
|
this.$set(
|
|
|
this.form,
|
|
|
@@ -6913,14 +6964,24 @@ export default {
|
|
|
this.$set(this.whgenlegParams, 'fCorpid', this.form.fCorpid)
|
|
|
this.$set(this.whgenlegParams, 'fWarehouseid', this.form.fWarehouseid)
|
|
|
this.$set(this.whgenlegParams, 'fTrademodeid', this.form.fTrademodeid)
|
|
|
+ let arr = [];
|
|
|
+ let total = 0;
|
|
|
listWhgenleg(this.whgenlegParams).then((response) => {
|
|
|
response.rows.map((e) => {
|
|
|
e.fQtyblc2 = e.fQtyblc;
|
|
|
e.fGrossweightblc2 = e.fGrossweightblc;
|
|
|
e.fNetweightblc2 = e.fNetweightblc;
|
|
|
+ const index = this.detailList.findIndex(item => item.fSrcid === e.fId)
|
|
|
+ if (index == -1) {
|
|
|
+ arr.push(e)
|
|
|
+ } else {
|
|
|
+ response.total --
|
|
|
+ }
|
|
|
});
|
|
|
- this.whgenlegList = response.rows;
|
|
|
+ // this.whgenlegList = response.rows;
|
|
|
this.whgenlegTotal = response.total;
|
|
|
+ this.whgenlegList = arr;
|
|
|
+ // this.whgenlegTotal = total;
|
|
|
});
|
|
|
},
|
|
|
async printZyd() {
|
|
|
@@ -7220,7 +7281,7 @@ export default {
|
|
|
fAmount: null,
|
|
|
fCurrency: "RMB",
|
|
|
fExrate: "1",
|
|
|
- fTaxrate: this.fTaxrate,
|
|
|
+ fTaxrate: '0',
|
|
|
fCxrate: null,
|
|
|
fRate: null,
|
|
|
remarks: null,
|
|
|
@@ -7257,7 +7318,7 @@ export default {
|
|
|
fAmount: null,
|
|
|
fCurrency: "RMB",
|
|
|
fExrate: "1",
|
|
|
- fTaxrate: this.fTaxrate,
|
|
|
+ fTaxrate: '0',
|
|
|
fCxrate: null,
|
|
|
fRate: null,
|
|
|
remarks: null,
|
|
|
@@ -7308,7 +7369,7 @@ export default {
|
|
|
fCurrency: "RMB",
|
|
|
fExrate: 1,
|
|
|
fAmount: fAmount,
|
|
|
- fTaxrate: this.fTaxrate,
|
|
|
+ fTaxrate: '0',
|
|
|
fMblno: this.form.fMblno,
|
|
|
fProductName: this.form.fProductName,
|
|
|
fMarks: this.form.fMarks,
|
|
|
@@ -7328,7 +7389,7 @@ export default {
|
|
|
fCurrency: "RMB",
|
|
|
fExrate: 1,
|
|
|
fAmount: fAmount,
|
|
|
- fTaxrate: this.fTaxrate,
|
|
|
+ fTaxrate: '0',
|
|
|
fMblno: this.form.fMblno,
|
|
|
fProductName: this.form.fProductName,
|
|
|
fMarks: this.form.fMarks,
|
|
|
@@ -7716,6 +7777,14 @@ export default {
|
|
|
this.warehouseCrList = [];
|
|
|
this.warehouseDrList = [];
|
|
|
this.CntrTable = [];
|
|
|
+ this.printFeeConfirm = {
|
|
|
+ fAddr: '',
|
|
|
+ fBankname: '',
|
|
|
+ fBankno: '',
|
|
|
+ fTel: '',
|
|
|
+ fTax: '',
|
|
|
+ }
|
|
|
+ this.fCompanyName = '';
|
|
|
this.$emit("changeShow", "true");
|
|
|
},
|
|
|
goBack() {
|
|
|
@@ -7993,6 +8062,27 @@ export default {
|
|
|
this.$message.error("请选择需要打印的明细!");
|
|
|
}
|
|
|
},
|
|
|
+ changePrint() {
|
|
|
+ if (this.form.fCompany) {
|
|
|
+ getCorps(this.form.fCompany).then(res => {
|
|
|
+ this.fCompanyName = res.data.corp.fName
|
|
|
+ this.printFeeConfirm.fAddr = res.data.corp.fAddr
|
|
|
+ this.printFeeConfirm.fTel = res.data.corp.fTel
|
|
|
+ this.printFeeConfirm.fBankname = res.data.corp.fBankname
|
|
|
+ this.printFeeConfirm.fBankno = res.data.corp.fBankno
|
|
|
+ this.printFeeConfirm.fTax = res.data.corp.fTax
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.fCompanyName = ''
|
|
|
+ this.printFeeConfirm = {
|
|
|
+ fAddr: '',
|
|
|
+ fBankname: '',
|
|
|
+ fBankno: '',
|
|
|
+ fTel: '',
|
|
|
+ fTax: '',
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
// 监听 addOrUpdateVisible 改变
|