|
@@ -176,6 +176,7 @@ import {
|
|
|
getTransferSubmit,
|
|
|
getCustomerGroupList
|
|
|
} from '@/api/finance/change_apply'
|
|
|
+import ret from 'bluebird/js/release/util'
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -258,6 +259,17 @@ export default {
|
|
|
// return null;
|
|
|
// },
|
|
|
changeCustomerNumber(e,index){
|
|
|
+ if (!index) {
|
|
|
+ this.searchForm.customerName = this.customerData.find(k=>{
|
|
|
+ return k.number === e
|
|
|
+ }).name
|
|
|
+ }else{
|
|
|
+ const id = this.customerData.find(k=>{
|
|
|
+ return k.number === e
|
|
|
+ }).id
|
|
|
+ this.$set(this.dataList[index],'customerId',id)
|
|
|
+
|
|
|
+ }
|
|
|
this.$set(this.dataList[index],'customerNumber',e)
|
|
|
},
|
|
|
resetFn() {
|