|
@@ -504,6 +504,9 @@ export default {
|
|
|
const res = await asyncRequest.supplier({ daytime: this.daytime });
|
|
|
if (res.code === 1 && res.data) {
|
|
|
let { '2': selfSupport, '3': otherSupport } = JSON.parse(JSON.stringify(res.data))
|
|
|
+
|
|
|
+ console.log(JSON.parse(JSON.stringify(selfSupport)))
|
|
|
+
|
|
|
selfSupport.companyArr = this.handleData(selfSupport)
|
|
|
otherSupport.companyArr = this.handleData(otherSupport)
|
|
|
|
|
@@ -521,6 +524,7 @@ export default {
|
|
|
|
|
|
this.selfSupport.companyArr = this.selfSupport.companyArr.filter(({companyNo}) => !this.composeCompanies.includes(companyNo))
|
|
|
|
|
|
+
|
|
|
this.selfSupport.companyArr = [
|
|
|
{
|
|
|
...amountData,
|
|
@@ -561,6 +565,9 @@ export default {
|
|
|
}
|
|
|
|
|
|
|
|
|
+
|
|
|
+ console.log(this.selfSupport.companyArr)
|
|
|
+
|
|
|
if(this.selfSupport.companyArr.length === 1){
|
|
|
this.selfSupport.companyArr[0].order_type = '自营订单'
|
|
|
}else{
|