|
@@ -770,6 +770,7 @@ export default {
|
|
|
disablednotarize: false,
|
|
|
goodsdisabled: false,
|
|
|
customerName: '',
|
|
|
+ buyer:'',
|
|
|
customerPhone: '',
|
|
|
contractFlag: 7,
|
|
|
redstatus: false,
|
|
@@ -1279,7 +1280,8 @@ export default {
|
|
|
if (this.serviceManagementType == 3) {
|
|
|
getcustomer({
|
|
|
warehouseId: this.cangid,
|
|
|
- goodsName: this.deptBudgetList.goodsName
|
|
|
+ goodsName: this.deptBudgetList.goodsName,
|
|
|
+ buyer:this.buyer
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
@@ -3999,6 +4001,7 @@ export default {
|
|
|
if (!data) return
|
|
|
var response = await getcontract({ contractNo: this.deptBudgetList.contractNo, compId: localStorage.getItem('ws-pf_compId') }).toPromise()
|
|
|
this.outContractNo = response
|
|
|
+ this.buyer = this.outContractNo.buyer
|
|
|
if (this.outContractNo.priceType == '定价收购') {
|
|
|
if (this.deptBudgetList.type == '潮粮') {
|
|
|
this.deptBudgetList.tidalGrainPrice = Number(this.outContractNo.unitContractPrice / 1000).toFixed(2)
|
|
@@ -4051,6 +4054,7 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
this.customerName = this.outContractNo.buyer
|
|
|
+
|
|
|
this.customerPhone = this.outContractNo.buyerPhone
|
|
|
this.warehouseTradeCount = this.warehouseTradeCount1
|
|
|
this.warehouseTradeCount = '000' + (Number(this.warehouseTradeCount) + 1)
|