|
@@ -1058,33 +1058,39 @@ export default {
|
|
|
editDisplay: false,
|
|
|
addDisplay: false
|
|
|
},
|
|
|
- // {
|
|
|
- // label: '返利后单价',
|
|
|
- // prop: 'rebatePrice',
|
|
|
- // overHidden: true,
|
|
|
- // width: 100,
|
|
|
- // disabled: true,
|
|
|
- // editDisplay: false,
|
|
|
- // addDisplay: false
|
|
|
- // },
|
|
|
- // {
|
|
|
- // label: '返利后成本价',
|
|
|
- // prop: 'rebateCostprie',
|
|
|
- // overHidden: true,
|
|
|
- // width: 100,
|
|
|
- // disabled: true,
|
|
|
- // editDisplay: false,
|
|
|
- // addDisplay: false
|
|
|
- // },
|
|
|
- // {
|
|
|
- // label: '返利后利润',
|
|
|
- // prop: 'rebateProfit',
|
|
|
- // overHidden: true,
|
|
|
- // width: 100,
|
|
|
- // disabled: true,
|
|
|
- // editDisplay: false,
|
|
|
- // addDisplay: false
|
|
|
- // },
|
|
|
+ {
|
|
|
+ label: '返利后单价',
|
|
|
+ prop: 'rebatePrice',
|
|
|
+ overHidden: true,
|
|
|
+ width: 100,
|
|
|
+ disabled: true,
|
|
|
+ editDisplay: false,
|
|
|
+ addDisplay: false,
|
|
|
+ hide: false,
|
|
|
+ showColumn: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '返利后成本价',
|
|
|
+ prop: 'rebateCostprie',
|
|
|
+ overHidden: true,
|
|
|
+ width: 100,
|
|
|
+ disabled: true,
|
|
|
+ editDisplay: false,
|
|
|
+ addDisplay: false,
|
|
|
+ hide: false,
|
|
|
+ showColumn: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '返利后利润',
|
|
|
+ prop: 'rebateProfit',
|
|
|
+ overHidden: true,
|
|
|
+ width: 100,
|
|
|
+ disabled: true,
|
|
|
+ editDisplay: false,
|
|
|
+ addDisplay: false,
|
|
|
+ hide: false,
|
|
|
+ showColumn: true
|
|
|
+ },
|
|
|
{
|
|
|
label: '退货数量',
|
|
|
prop: "returnsNumber",
|
|
@@ -1198,12 +1204,6 @@ export default {
|
|
|
} else {
|
|
|
this.reportName = '轮胎商城-销售订单'
|
|
|
}
|
|
|
- // console.log(this.$route);
|
|
|
- // if(this.$route.query.check.actId){
|
|
|
-
|
|
|
- // this.isExamineBtn = false
|
|
|
- // }
|
|
|
-
|
|
|
getWorkDicts("tyre_express_company").then(res => {
|
|
|
this.courierCompaniesList = res.data.data;
|
|
|
})
|
|
@@ -1215,15 +1215,11 @@ export default {
|
|
|
this.formContacts.goodsNo = res.data.data.code
|
|
|
this.formContacts.brandId = res.data.data.brandId
|
|
|
this.formContacts.inventory = res.data.data.inventory
|
|
|
- // this.formContacts.brandId = res.data.data.brandName
|
|
|
- // this.formContacts.brandName = res.data.data.brandId
|
|
|
-
|
|
|
this.formContacts.propertyName = res.data.data.specificationAndModel
|
|
|
this.formContacts.pattern = res.data.data.brandItem
|
|
|
this.formContacts.goodsDescription = res.data.data.goodsDescription
|
|
|
this.formContacts.units = res.data.data.unit
|
|
|
this.formContacts.price = res.data.data.price
|
|
|
- //
|
|
|
this.formContacts.sharedCompanyId = res.data.data.sharedCompanyId
|
|
|
console.log(res.data.data.sharedCompanyId);
|
|
|
console.log(res.data.data.sharedCompanyName);
|
|
@@ -1265,9 +1261,15 @@ export default {
|
|
|
this.findObject(this.optionTwo.column, "explosionProof").hide = true
|
|
|
this.findObject(this.optionTwo.column, "originalFactory").hide = true
|
|
|
this.findObject(this.optionTwo.column, "selfRecovery").hide = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebatePrice").hide = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateCostprie").hide = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateProfit").hide = true
|
|
|
this.findObject(this.optionTwo.column, "explosionProof").showColumn = false
|
|
|
this.findObject(this.optionTwo.column, "originalFactory").showColumn = false
|
|
|
this.findObject(this.optionTwo.column, "selfRecovery").showColumn = false
|
|
|
+ this.findObject(this.optionContacts.column, "rebatePrice").showColumn = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateCostprie").showColumn = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateProfit").showColumn = true
|
|
|
}
|
|
|
})
|
|
|
this.findObject(this.optionContacts.column, "goodsId").change = ({ value, column }) => {
|
|
@@ -3001,6 +3003,12 @@ export default {
|
|
|
isProcurement({ "param": "whether.model" }).then(res => {
|
|
|
if (res.data.data == 1) {
|
|
|
this.findObject(this.optionContacts.column, "pattern").label = '规格型号1'
|
|
|
+ this.findObject(this.optionContacts.column, "rebatePrice").hide = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateCostprie").hide = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateProfit").hide = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebatePrice").showColumn = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateCostprie").showColumn = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateProfit").showColumn = true
|
|
|
}
|
|
|
})
|
|
|
if (inSave) {
|
|
@@ -3015,6 +3023,12 @@ export default {
|
|
|
isProcurement({ "param": "whether.model" }).then(res => {
|
|
|
if (res.data.data == 1) {
|
|
|
this.findObject(this.optionContacts.column, "pattern").label = '规格型号1'
|
|
|
+ this.findObject(this.optionContacts.column, "rebatePrice").hide = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateCostprie").hide = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateProfit").hide = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebatePrice").showColumn = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateCostprie").showColumn = true
|
|
|
+ this.findObject(this.optionContacts.column, "rebateProfit").showColumn = true
|
|
|
}
|
|
|
})
|
|
|
const inSave = await this.delColumnData(this.getColumnName(code), this[optionBack]);
|