|
@@ -1429,7 +1429,7 @@ export default {
|
|
|
if (!this.detailData.id) {
|
|
if (!this.detailData.id) {
|
|
|
getCorp().then(res => {
|
|
getCorp().then(res => {
|
|
|
this.form.corpId = res.data.data.id;
|
|
this.form.corpId = res.data.data.id;
|
|
|
- this.form.corpName = res.data.data.cname;
|
|
|
|
|
|
|
+ // this.form.corpName = res.data.data.cname;
|
|
|
this.getCorpRow(res.data.data)
|
|
this.getCorpRow(res.data.data)
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
@@ -1531,17 +1531,17 @@ export default {
|
|
|
this.goodsActives = 'goods';
|
|
this.goodsActives = 'goods';
|
|
|
this.handleClick({ name: this.goodsActives })
|
|
this.handleClick({ name: this.goodsActives })
|
|
|
// this.contactsData = this.form.orderItemsList
|
|
// this.contactsData = this.form.orderItemsList
|
|
|
- this.advantageProjectData = this.form.orderFeesList
|
|
|
|
|
|
|
+ // this.advantageProjectData = this.form.orderFeesList
|
|
|
this.bankOfDepositData = this.form.orderFilesList
|
|
this.bankOfDepositData = this.form.orderFilesList
|
|
|
this.configuration.dicData = this.form.corpName
|
|
this.configuration.dicData = this.form.corpName
|
|
|
let feesData = []
|
|
let feesData = []
|
|
|
- this.form.orderFeesList.forEach(item => {
|
|
|
|
|
- let a = {
|
|
|
|
|
- cname: item.corpName,
|
|
|
|
|
- id: item.corpId
|
|
|
|
|
- }
|
|
|
|
|
- feesData.push(a)
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ // this.form.orderFeesList.forEach(item => {
|
|
|
|
|
+ // let a = {
|
|
|
|
|
+ // cname: item.corpName,
|
|
|
|
|
+ // id: item.corpId
|
|
|
|
|
+ // }
|
|
|
|
|
+ // feesData.push(a)
|
|
|
|
|
+ // })
|
|
|
this.configuration.dicData = this.configuration.dicData.concat(feesData)
|
|
this.configuration.dicData = this.configuration.dicData.concat(feesData)
|
|
|
// 去重
|
|
// 去重
|
|
|
this.removeRepeat()
|
|
this.removeRepeat()
|
|
@@ -1555,7 +1555,7 @@ export default {
|
|
|
this.goodsConfiguration.dicData = [].concat(goodsData)
|
|
this.goodsConfiguration.dicData = [].concat(goodsData)
|
|
|
this.removeGoodsRepeat()
|
|
this.removeGoodsRepeat()
|
|
|
delete this.form.orderItemsList
|
|
delete this.form.orderItemsList
|
|
|
- delete this.form.orderFeesList
|
|
|
|
|
|
|
+ // delete this.form.orderFeesList
|
|
|
delete this.form.orderFilesList
|
|
delete this.form.orderFilesList
|
|
|
// delete this.form.corpName
|
|
// delete this.form.corpName
|
|
|
delete this.form.belongToCorpList
|
|
delete this.form.belongToCorpList
|
|
@@ -2791,10 +2791,12 @@ export default {
|
|
|
}
|
|
}
|
|
|
// this.form.orderFeesList = this.$refs.feeInfo.submitData()
|
|
// this.form.orderFeesList = this.$refs.feeInfo.submitData()
|
|
|
let packFee;
|
|
let packFee;
|
|
|
- if (this.form.packageRemarks && this.form.packageRemarks !== '无包装' && this.form.packageRemarks !== '不包装') {
|
|
|
|
|
- let arr = this.form.orderFeesList.filter(item => item.feesType == 1)
|
|
|
|
|
- packFee = arr.findIndex(item => item.feeName == '包装费')
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (this.form.packageRemarks && this.form.packageRemarks !== '无包装' && this.form.packageRemarks !== '不包装') {
|
|
|
|
|
+ // if(this.form.orderFeesList){
|
|
|
|
|
+ // let arr = this.form.orderFeesList.filter(item => item.feesType == 1)
|
|
|
|
|
+ // packFee = arr.findIndex(item => item.feeName == '包装费')
|
|
|
|
|
+ // }
|
|
|
|
|
+ // }
|
|
|
if (packFee == -1) {
|
|
if (packFee == -1) {
|
|
|
return this.$message.error('费用明细未有包装费')
|
|
return this.$message.error('费用明细未有包装费')
|
|
|
}
|
|
}
|