|
@@ -88,7 +88,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="预计装货时间" prop="fBsdate">
|
|
|
<el-date-picker
|
|
@@ -137,8 +137,8 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="付款方式" prop="fPaymode">
|
|
|
<el-select
|
|
@@ -472,6 +472,46 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="应收" prop="fReceivable">
|
|
|
+ <el-input
|
|
|
+ v-model="form.fReceivable"
|
|
|
+ :disabled="modify"
|
|
|
+ style="width: 100%"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="实收" prop="fRecycle">
|
|
|
+ <el-input
|
|
|
+ v-model="form.fRecycle"
|
|
|
+ :disabled="modify"
|
|
|
+ style="width: 100%"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="应付" prop="fDue">
|
|
|
+ <el-input
|
|
|
+ v-model="form.fDue"
|
|
|
+ :disabled="modify"
|
|
|
+ style="width: 100%"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="实付" prop="fPay">
|
|
|
+ <el-input
|
|
|
+ v-model="form.fPay"
|
|
|
+ :disabled="modify"
|
|
|
+ style="width: 100%"
|
|
|
+ size="small"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
</el-collapse-item>
|
|
@@ -860,7 +900,8 @@
|
|
|
size="small"
|
|
|
@click="feeChange('D')"
|
|
|
v-if="form.moneyStatus == 6"
|
|
|
- >费用变更</el-button>
|
|
|
+ >费用变更</el-button
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-table
|
|
@@ -1182,7 +1223,8 @@
|
|
|
size="small"
|
|
|
@click="feeChange('C')"
|
|
|
v-if="form.moneyStatus == 6"
|
|
|
- >费用变更</el-button>
|
|
|
+ >费用变更</el-button
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-table
|
|
@@ -2001,7 +2043,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- auditLoading:false,
|
|
|
+ auditLoading: false,
|
|
|
selection: [],
|
|
|
insurance: [],
|
|
|
etentioncargo: [],
|
|
@@ -2010,7 +2052,7 @@ export default {
|
|
|
fLaneList: [],
|
|
|
cEsign: [],
|
|
|
transport: [],
|
|
|
- fServiceitemsNews:[],
|
|
|
+ fServiceitemsNews: [],
|
|
|
paymentMethod: [],
|
|
|
drawee: [],
|
|
|
whether: false,
|
|
@@ -2278,9 +2320,9 @@ export default {
|
|
|
this.transport = response.data;
|
|
|
}
|
|
|
});
|
|
|
- this.getDicts("f_serviceitemsNew").then((response) => {
|
|
|
- this.fServiceitemsNews = response.data;
|
|
|
- });
|
|
|
+ this.getDicts("f_serviceitemsNew").then((response) => {
|
|
|
+ this.fServiceitemsNews = response.data;
|
|
|
+ });
|
|
|
this.getDicts("f_paymode").then((response) => {
|
|
|
if (response.data) {
|
|
|
this.paymentMethod = response.data;
|
|
@@ -2682,28 +2724,29 @@ export default {
|
|
|
"tWarehousebillsfeesCr",
|
|
|
JSON.stringify(this.warehouseCrList)
|
|
|
);
|
|
|
- this.auditLoading=true
|
|
|
- getfee(formData).then((response) => {
|
|
|
- this.$message.success("操作成功");
|
|
|
- this.form.moneyStatus = 4;
|
|
|
- this.jumpDonot = true;
|
|
|
- this.modify = true;
|
|
|
- let data = {
|
|
|
- actId: 460,
|
|
|
- id: this.form.fId,
|
|
|
- };
|
|
|
- getName(data).then((response) => {
|
|
|
- if (response.data.length != 0) {
|
|
|
- this.before = response.data[0].userName;
|
|
|
- if (this.current == this.before) {
|
|
|
- this.disappear = false;
|
|
|
+ this.auditLoading = true;
|
|
|
+ getfee(formData)
|
|
|
+ .then((response) => {
|
|
|
+ this.$message.success("操作成功");
|
|
|
+ this.form.moneyStatus = 4;
|
|
|
+ this.jumpDonot = true;
|
|
|
+ this.modify = true;
|
|
|
+ let data = {
|
|
|
+ actId: 460,
|
|
|
+ id: this.form.fId,
|
|
|
+ };
|
|
|
+ getName(data).then((response) => {
|
|
|
+ if (response.data.length != 0) {
|
|
|
+ this.before = response.data[0].userName;
|
|
|
+ if (this.current == this.before) {
|
|
|
+ this.disappear = false;
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
+ });
|
|
|
+ })
|
|
|
+ .finally(() => {
|
|
|
+ this.auditLoading = false;
|
|
|
});
|
|
|
- })
|
|
|
- .finally(() => {
|
|
|
- this.auditLoading= false;
|
|
|
- });
|
|
|
},
|
|
|
//箱信息操作限制
|
|
|
cntrWeight(res) {
|
|
@@ -3039,7 +3082,7 @@ export default {
|
|
|
console.log(list);
|
|
|
list.forEach((e) => {
|
|
|
this.warehouseDrList.push({
|
|
|
- fBusinessType:"3",
|
|
|
+ fBusinessType: "3",
|
|
|
fCorpid: this.form.corpName,
|
|
|
fFeeid: e.fFeeId,
|
|
|
fFeeUnitid: e.fFeeunitId + "",
|
|
@@ -3053,7 +3096,7 @@ export default {
|
|
|
(this.goodsList && this.goodsList.length > 0
|
|
|
? this.goodsList[0].fCntrcount
|
|
|
: 0),
|
|
|
- fStltypeid:1,
|
|
|
+ fStltypeid: 1,
|
|
|
fCurrency: "RMB",
|
|
|
fExrate: "1",
|
|
|
fTaxrate: this.fTaxrate,
|
|
@@ -3064,7 +3107,7 @@ export default {
|
|
|
} else {
|
|
|
list.forEach((e) => {
|
|
|
this.warehouseCrList.push({
|
|
|
- fBusinessType:"3",
|
|
|
+ fBusinessType: "3",
|
|
|
fCorpid: null,
|
|
|
fFeeid: e.fFeeId,
|
|
|
fFeeUnitid: e.fFeeunitId + "",
|
|
@@ -3078,7 +3121,7 @@ export default {
|
|
|
(this.goodsList && this.goodsList.length > 0
|
|
|
? this.goodsList[0].fCntrcount
|
|
|
: 0),
|
|
|
- fStltypeid:1,
|
|
|
+ fStltypeid: 1,
|
|
|
fCurrency: "RMB",
|
|
|
fExrate: "1",
|
|
|
fTaxrate: this.fTaxrate,
|
|
@@ -3212,64 +3255,69 @@ export default {
|
|
|
"tWarehousebillsfeesCr",
|
|
|
JSON.stringify(this.warehouseCrList)
|
|
|
);
|
|
|
- this.auditLoading=true
|
|
|
- cancellationFees(formData).then((response) => {
|
|
|
- this.$message.success("操作成功");
|
|
|
- this.form.moneyStatus = 4;
|
|
|
- this.jumpDonot = false;
|
|
|
- this.modify = true;
|
|
|
- let data = {
|
|
|
- actId: 460,
|
|
|
- id: this.form.fId,
|
|
|
- };
|
|
|
- getName(data).then((response) => {
|
|
|
- if (response.data.length != 0) {
|
|
|
- this.before = response.data[0].userName;
|
|
|
- if (this.current == this.before) {
|
|
|
- this.disappear = false;
|
|
|
+ this.auditLoading = true;
|
|
|
+ cancellationFees(formData)
|
|
|
+ .then((response) => {
|
|
|
+ this.$message.success("操作成功");
|
|
|
+ this.form.moneyStatus = 4;
|
|
|
+ this.jumpDonot = false;
|
|
|
+ this.modify = true;
|
|
|
+ let data = {
|
|
|
+ actId: 460,
|
|
|
+ id: this.form.fId,
|
|
|
+ };
|
|
|
+ getName(data).then((response) => {
|
|
|
+ if (response.data.length != 0) {
|
|
|
+ this.before = response.data[0].userName;
|
|
|
+ if (this.current == this.before) {
|
|
|
+ this.disappear = false;
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- });
|
|
|
- if (response.data.tWarehouseBills) {
|
|
|
- this.form = response.data.tWarehouseBills;
|
|
|
- this.$set(this.form, "fPaymode", JSON.stringify(this.form.fPaymode));
|
|
|
- this.$set(this.form, "fSign", JSON.stringify(this.form.fSign));
|
|
|
- this.$set(
|
|
|
- this.form,
|
|
|
- "fDetentioncargo",
|
|
|
- JSON.stringify(this.form.fDetentioncargo)
|
|
|
- );
|
|
|
- }
|
|
|
- if (response.data.tWarehousebillsCntrList) {
|
|
|
- this.goodsList = response.data.tWarehousebillsCntrList;
|
|
|
- }
|
|
|
- if (response.data.tWarehousebillsCntritemsList !== null) {
|
|
|
- this.dataList = response.data.tWarehousebillsCntritemsList;
|
|
|
- } else this.dataList = [];
|
|
|
- if (response.data.warehousebillsfeesCrList) {
|
|
|
- this.warehouseCrList = response.data.warehousebillsfeesCrList;
|
|
|
- for (let item in this.warehouseCrList) {
|
|
|
+ });
|
|
|
+ if (response.data.tWarehouseBills) {
|
|
|
+ this.form = response.data.tWarehouseBills;
|
|
|
this.$set(
|
|
|
- this.warehouseCrList[item],
|
|
|
- "fFeeUnitid",
|
|
|
- JSON.stringify(this.warehouseCrList[item].fFeeunitid)
|
|
|
+ this.form,
|
|
|
+ "fPaymode",
|
|
|
+ JSON.stringify(this.form.fPaymode)
|
|
|
);
|
|
|
- }
|
|
|
- }
|
|
|
- if (response.data.warehousebillsfeesDrList) {
|
|
|
- this.warehouseDrList = response.data.warehousebillsfeesDrList;
|
|
|
- for (let item in this.warehouseDrList) {
|
|
|
+ this.$set(this.form, "fSign", JSON.stringify(this.form.fSign));
|
|
|
this.$set(
|
|
|
- this.warehouseDrList[item],
|
|
|
- "fFeeUnitid",
|
|
|
- JSON.stringify(this.warehouseDrList[item].fFeeunitid)
|
|
|
+ this.form,
|
|
|
+ "fDetentioncargo",
|
|
|
+ JSON.stringify(this.form.fDetentioncargo)
|
|
|
);
|
|
|
}
|
|
|
- }
|
|
|
- })
|
|
|
- .finally(() => {
|
|
|
- this.auditLoading= false;
|
|
|
- });
|
|
|
+ if (response.data.tWarehousebillsCntrList) {
|
|
|
+ this.goodsList = response.data.tWarehousebillsCntrList;
|
|
|
+ }
|
|
|
+ if (response.data.tWarehousebillsCntritemsList !== null) {
|
|
|
+ this.dataList = response.data.tWarehousebillsCntritemsList;
|
|
|
+ } else this.dataList = [];
|
|
|
+ if (response.data.warehousebillsfeesCrList) {
|
|
|
+ this.warehouseCrList = response.data.warehousebillsfeesCrList;
|
|
|
+ for (let item in this.warehouseCrList) {
|
|
|
+ this.$set(
|
|
|
+ this.warehouseCrList[item],
|
|
|
+ "fFeeUnitid",
|
|
|
+ JSON.stringify(this.warehouseCrList[item].fFeeunitid)
|
|
|
+ );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (response.data.warehousebillsfeesDrList) {
|
|
|
+ this.warehouseDrList = response.data.warehousebillsfeesDrList;
|
|
|
+ for (let item in this.warehouseDrList) {
|
|
|
+ this.$set(
|
|
|
+ this.warehouseDrList[item],
|
|
|
+ "fFeeUnitid",
|
|
|
+ JSON.stringify(this.warehouseDrList[item].fFeeunitid)
|
|
|
+ );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .finally(() => {
|
|
|
+ this.auditLoading = false;
|
|
|
+ });
|
|
|
},
|
|
|
//提交审批
|
|
|
approval(res) {
|
|
@@ -3646,19 +3694,19 @@ export default {
|
|
|
form: {},
|
|
|
warehousebillsfeesCr: [],
|
|
|
warehousebillsfeesDr: [],
|
|
|
- billType: 'outStock',
|
|
|
- fDc: fDC
|
|
|
- }
|
|
|
- data.form = this.form
|
|
|
+ billType: "outStock",
|
|
|
+ fDc: fDC,
|
|
|
+ };
|
|
|
+ data.form = this.form;
|
|
|
data.form.fId = this.formList.fId;
|
|
|
- if (fDC == 'C') {
|
|
|
- data.warehousebillsfeesCr = this.warehouseCrList
|
|
|
+ if (fDC == "C") {
|
|
|
+ data.warehousebillsfeesCr = this.warehouseCrList;
|
|
|
} else {
|
|
|
- data.warehousebillsfeesDr = this.warehouseDrList
|
|
|
+ data.warehousebillsfeesDr = this.warehouseDrList;
|
|
|
}
|
|
|
this.$router.push({
|
|
|
path: "/domesticTrade/costModify",
|
|
|
- query: { data: data},
|
|
|
+ query: { data: data },
|
|
|
});
|
|
|
},
|
|
|
},
|