|
@@ -593,7 +593,7 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-collapse-item>
|
|
|
- <el-collapse-item name="2" v-if="userType == '00'">
|
|
|
+ <el-collapse-item name="2" v-if="userType == '00'">
|
|
|
<template slot="title">
|
|
|
<i class="header-icon el-icon-circle-plus" style="font-size: 16px"
|
|
|
><span
|
|
@@ -733,7 +733,7 @@
|
|
|
</div>
|
|
|
</el-collapse-item>
|
|
|
|
|
|
- <el-collapse-item name="3" v-if="userType == '00'">
|
|
|
+ <el-collapse-item name="3" v-if="userType == '00'">
|
|
|
<template slot="title">
|
|
|
<i class="header-icon el-icon-circle-plus" style="font-size: 16px"
|
|
|
><span
|
|
@@ -762,10 +762,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-table :data="DList">
|
|
|
- <el-table-column label="结算单位" align="center" prop="fcorpid">
|
|
|
+ <el-table-column label="结算单位" align="center" prop="fCorpid">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
- v-model="scope.row.fcorpid"
|
|
|
+ v-model="scope.row.fCorpid"
|
|
|
placeholder="结算单位"
|
|
|
:clearable="true"
|
|
|
filterable
|
|
@@ -781,10 +781,10 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column label="费用名称" align="center" prop="ffeeid">
|
|
|
+ <el-table-column label="费用名称" align="center" prop="fFeeid">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
- v-model="scope.row.ffeeid"
|
|
|
+ v-model="scope.row.fFeeid"
|
|
|
placeholder="费用名称"
|
|
|
clearable
|
|
|
filterable
|
|
@@ -802,11 +802,11 @@
|
|
|
<el-table-column
|
|
|
label="计费单位"
|
|
|
align="center"
|
|
|
- prop="ffeeunitid"
|
|
|
+ prop="fFeeunitid"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
- v-model="scope.row.ffeeunitid"
|
|
|
+ v-model="scope.row.fFeeunitid"
|
|
|
placeholder="计费单位"
|
|
|
:disabled="disabled"
|
|
|
>
|
|
@@ -819,69 +819,69 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="计费数量" align="center" prop="fqty">
|
|
|
+ <el-table-column label="计费数量" align="center" prop="fQty">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.fqty"
|
|
|
+ v-model="scope.row.fQty"
|
|
|
placeholder="计费数量"
|
|
|
v-input-limit="0"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="单价" align="center" prop="funitprice">
|
|
|
+ <el-table-column label="单价" align="center" prop="fUnitprice">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.funitprice"
|
|
|
+ v-model="scope.row.fUnitprice"
|
|
|
placeholder="单价"
|
|
|
v-input-limit="2"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="币种" align="center" prop="fcurrency">
|
|
|
+ <el-table-column label="币种" align="center" prop="fCurrency">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.fcurrency"
|
|
|
+ v-model="scope.row.fCurrency"
|
|
|
placeholder="RMB"
|
|
|
- :disabled="disabled"
|
|
|
+ :disabled="true"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="税率" align="center" prop="ftaxrate">
|
|
|
+ <el-table-column label="税率" align="center" prop="fTaxrate">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.ftaxrate"
|
|
|
+ v-model="scope.row.fTaxrate"
|
|
|
placeholder="税率"
|
|
|
v-input-limit="2"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="金额" align="center" prop="famount">
|
|
|
+ <el-table-column label="金额" align="center" prop="fAmount">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.famount"
|
|
|
+ v-model="scope.row.fAmount"
|
|
|
placeholder="金额"
|
|
|
v-input-limit="2"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="汇率" align="center" prop="fexrate">
|
|
|
+ <el-table-column label="汇率" align="center" prop="fExrate">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.fexrate"
|
|
|
+ v-model="scope.row.fExrate"
|
|
|
placeholder="汇率"
|
|
|
v-input-limit="2"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="备注" align="center" prop="remark">
|
|
|
+ <el-table-column label="备注" align="center" prop="remarks">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.remark"
|
|
|
+ v-model="scope.row.remarks"
|
|
|
placeholder="备注"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
@@ -908,7 +908,7 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-collapse-item>
|
|
|
- <el-collapse-item name="4" v-if="userType == '00'">
|
|
|
+ <el-collapse-item name="4" v-if="userType == '00'">
|
|
|
<template slot="title">
|
|
|
<i class="header-icon el-icon-circle-plus" style="font-size: 16px"
|
|
|
><span
|
|
@@ -937,10 +937,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-table :data="CList">
|
|
|
- <el-table-column label="结算单位" align="center" prop="fcorpid">
|
|
|
+ <el-table-column label="结算单位" align="center" prop="fCorpid">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
- v-model="scope.row.fcorpid"
|
|
|
+ v-model="scope.row.fCorpid"
|
|
|
placeholder="结算单位"
|
|
|
:clearable="true"
|
|
|
filterable
|
|
@@ -956,10 +956,10 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
- <el-table-column label="费用名称" align="center" prop="ffeeid">
|
|
|
+ <el-table-column label="费用名称" align="center" prop="fFeeid">
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
- v-model="scope.row.ffeeid"
|
|
|
+ v-model="scope.row.fFeeid"
|
|
|
placeholder="费用名称"
|
|
|
clearable
|
|
|
filterable
|
|
@@ -977,11 +977,11 @@
|
|
|
<el-table-column
|
|
|
label="计费单位"
|
|
|
align="center"
|
|
|
- prop="ffeeunitid"
|
|
|
+ prop="fFeeunitid"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-select
|
|
|
- v-model="scope.row.ffeeunitid"
|
|
|
+ v-model="scope.row.fFeeunitid"
|
|
|
placeholder="计费单位"
|
|
|
:disabled="disabled"
|
|
|
>
|
|
@@ -994,69 +994,69 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="计费数量" align="center" prop="fqty">
|
|
|
+ <el-table-column label="计费数量" align="center" prop="fQty">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.fqty"
|
|
|
+ v-model="scope.row.fQty"
|
|
|
placeholder="计费数量"
|
|
|
v-input-limit="0"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="单价" align="center" prop="funitprice">
|
|
|
+ <el-table-column label="单价" align="center" prop="fUnitprice">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.funitprice"
|
|
|
+ v-model="scope.row.fUnitprice"
|
|
|
placeholder="单价"
|
|
|
v-input-limit="2"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="币种" align="center" prop="fcurrency">
|
|
|
+ <el-table-column label="币种" align="center" prop="fCurrency">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.fcurrency"
|
|
|
+ v-model="scope.row.fCurrency"
|
|
|
placeholder="RMB"
|
|
|
- :disabled="disabled"
|
|
|
+ :disabled="true"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="税率" align="center" prop="ftaxrate">
|
|
|
+ <el-table-column label="税率" align="center" prop="fTaxrate">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.ftaxrate"
|
|
|
+ v-model="scope.row.fTaxrate"
|
|
|
placeholder="税率"
|
|
|
v-input-limit="2"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="金额" align="center" prop="famount">
|
|
|
+ <el-table-column label="金额" align="center" prop="fAmount">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.famount"
|
|
|
+ v-model="scope.row.fAmount"
|
|
|
placeholder="金额"
|
|
|
v-input-limit="2"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="汇率" align="center" prop="fexrate">
|
|
|
+ <el-table-column label="汇率" align="center" prop="fExrate">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.fexrate"
|
|
|
+ v-model="scope.row.fExrate"
|
|
|
placeholder="汇率"
|
|
|
v-input-limit="2"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="备注" align="center" prop="remark">
|
|
|
+ <el-table-column label="备注" align="center" prop="remarks">
|
|
|
<template slot-scope="scope">
|
|
|
<el-input
|
|
|
- v-model="scope.row.remark"
|
|
|
+ v-model="scope.row.remarks"
|
|
|
placeholder="备注"
|
|
|
:disabled="disabled"
|
|
|
/>
|
|
@@ -1074,7 +1074,7 @@
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
icon="el-icon-delete"
|
|
|
- @click.native.prevent="deleteRow(scope.$index, CList)"
|
|
|
+ @click.native.prevent="deleteRow(scope.$index, DList)"
|
|
|
:disabled="disabled"
|
|
|
>删除</el-button
|
|
|
>
|
|
@@ -1083,7 +1083,7 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-collapse-item>
|
|
|
- <el-collapse-item name="5">
|
|
|
+ <el-collapse-item name="5">
|
|
|
<template slot="title">
|
|
|
<i class="header-icon el-icon-circle-plus" style="font-size: 16px"
|
|
|
><span
|
|
@@ -1352,7 +1352,7 @@ export default {
|
|
|
goodsOptions: [],
|
|
|
fWbuOptions: [],
|
|
|
ffeeunitidList: [],
|
|
|
- collapses2:[]
|
|
|
+ collapses2: [],
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -1467,15 +1467,26 @@ export default {
|
|
|
if (valid) {
|
|
|
let arr = this.schedulingList.filter((e) => e.billStatus == 6);
|
|
|
if (this.schedulingList.length == arr.length) {
|
|
|
- if (this.form.billStatus != 50) {
|
|
|
- this.form["billStatus"] = "40";
|
|
|
- }
|
|
|
+ this.form["billStatus"] = "6";
|
|
|
this.DList.map((e) => {
|
|
|
return (e.fDc = "D");
|
|
|
});
|
|
|
this.CList.map((e) => {
|
|
|
return (e.fDc = "C");
|
|
|
});
|
|
|
+ if (this.planList) {
|
|
|
+ let arr2 = [];
|
|
|
+ this.planList.map((e) => {
|
|
|
+ let arr = this.cntrIdList.filter(
|
|
|
+ (item) => item.dictValue == e.cntrId
|
|
|
+ );
|
|
|
+ arr.map((a) => {
|
|
|
+ arr2.push(a.dictLabel + "*" + e.cntrQty);
|
|
|
+ });
|
|
|
+ });
|
|
|
+ this.cntrDesc = [...new Set(arr2)].join(",");
|
|
|
+ }
|
|
|
+ this.form["cntrDesc"] = this.cntrDesc;
|
|
|
let formData = new window.FormData();
|
|
|
formData.append("tmsorder", JSON.stringify(this.form));
|
|
|
formData.append(
|
|
@@ -1509,7 +1520,7 @@ export default {
|
|
|
},
|
|
|
//保存
|
|
|
submitSave() {
|
|
|
- this.form["billStatus"] = "20";
|
|
|
+ this.form["billStatus"] = "2";
|
|
|
this.DList.map((e) => {
|
|
|
return (e.fDc = "D");
|
|
|
});
|
|
@@ -1527,7 +1538,7 @@ export default {
|
|
|
this.msgSuccess("保存成功");
|
|
|
this.$parent.getList();
|
|
|
this.$parent.getSave(response);
|
|
|
- console.log(response)
|
|
|
+ console.log(response);
|
|
|
} else {
|
|
|
this.msgSuccess("保存失败");
|
|
|
}
|
|
@@ -1535,7 +1546,7 @@ export default {
|
|
|
},
|
|
|
//撤回
|
|
|
submitRetreat() {
|
|
|
- if (this.form.billStatus <= 50) {
|
|
|
+ if (this.form.billStatus <= 3) {
|
|
|
const data = { id: this.form.id };
|
|
|
RetreatFtmsorderbills(data).then((response) => {
|
|
|
if (response.code == 200) {
|
|
@@ -1668,9 +1679,9 @@ export default {
|
|
|
planList(val) {
|
|
|
this.showSure(val);
|
|
|
},
|
|
|
- collapses(){
|
|
|
- this.collapses2=this.collapses
|
|
|
- }
|
|
|
+ collapses() {
|
|
|
+ this.collapses2 = this.collapses;
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
</script>
|