|
@@ -829,6 +829,7 @@
|
|
|
import { getSaleOrderDetail } from '@/api/saleManage/saleorder';
|
|
import { getSaleOrderDetail } from '@/api/saleManage/saleorder';
|
|
|
import PaymentCollectionPlan from '@/BIZComponents/paymentCollectionPlan/Index.vue'
|
|
import PaymentCollectionPlan from '@/BIZComponents/paymentCollectionPlan/Index.vue'
|
|
|
import { shippingModeOp, shippingModePurchaseOp, transactionMethodsOp } from '@/enum/dict.js';
|
|
import { shippingModeOp, shippingModePurchaseOp, transactionMethodsOp } from '@/enum/dict.js';
|
|
|
|
|
+ import { parameterGetByCode } from '@/api/main/index.js';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
props: {
|
|
props: {
|
|
@@ -952,14 +953,6 @@
|
|
|
activeName: '1',
|
|
activeName: '1',
|
|
|
payWayOptions: [],
|
|
payWayOptions: [],
|
|
|
delDetailIds: [],
|
|
delDetailIds: [],
|
|
|
- paymentTypeOptions: [
|
|
|
|
|
- { id: 1, name: '固定' },
|
|
|
|
|
- { id: 2, name: '分期' }
|
|
|
|
|
- ],
|
|
|
|
|
- pricingWayList: [
|
|
|
|
|
- { id: 1, name: '按数量计价' },
|
|
|
|
|
- { id: 2, name: '按重量计价' }
|
|
|
|
|
- ],
|
|
|
|
|
|
|
|
|
|
processList: [
|
|
processList: [
|
|
|
{
|
|
{
|
|
@@ -1045,7 +1038,8 @@
|
|
|
groupTreeData: [],
|
|
groupTreeData: [],
|
|
|
// 组织机构平铺数据
|
|
// 组织机构平铺数据
|
|
|
groupData: [],
|
|
groupData: [],
|
|
|
- companyInfo: {}
|
|
|
|
|
|
|
+ companyInfo: {},
|
|
|
|
|
+ defaultTransactionMode: 1,
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -1151,6 +1145,12 @@
|
|
|
this.enterprisePage.push(...res.list);
|
|
this.enterprisePage.push(...res.list);
|
|
|
this.getEnterprise();
|
|
this.getEnterprise();
|
|
|
});
|
|
});
|
|
|
|
|
+ //交易方式//1 先票后款 2 先款后票
|
|
|
|
|
+ parameterGetByCode({
|
|
|
|
|
+ code: 'eom_contract_add_transactionMode'
|
|
|
|
|
+ }).then((res) => {
|
|
|
|
|
+ this.defaultTransactionMode = +res.value;
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
@@ -1653,7 +1653,9 @@
|
|
|
this.contractBookTypeList = copyObj(this.categoryTreeList[0].children);
|
|
this.contractBookTypeList = copyObj(this.categoryTreeList[0].children);
|
|
|
console.log('contractBookTypeList!!!', this.contractBookTypeList)
|
|
console.log('contractBookTypeList!!!', this.contractBookTypeList)
|
|
|
if (type == 'add') {
|
|
if (type == 'add') {
|
|
|
|
|
+ console.log('this.defaultTransactionMode!!!', this.defaultTransactionMode)
|
|
|
let userInfo = this.$store.getters.user.info;
|
|
let userInfo = this.$store.getters.user.info;
|
|
|
|
|
+ this.form.transactionMode = this.defaultTransactionMode;
|
|
|
this.isUpdate = false;
|
|
this.isUpdate = false;
|
|
|
userInfo.id = userInfo.userId;
|
|
userInfo.id = userInfo.userId;
|
|
|
this.changePersonel();
|
|
this.changePersonel();
|