Commit 1f24dbe4 authored by 我在何方's avatar 我在何方
parents 005f22bf 9a7730ec
...@@ -99,11 +99,11 @@ ...@@ -99,11 +99,11 @@
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item :label="$t('客户的账户名称')" > <el-descriptions-item :label="$t('客户的账户名称')" >
<el-form-item v-if="(form.customerId && bankAccountList.length) || !form.customerId" label-width="0" prop="customerBankAccountName"> <el-form-item v-if="(form.customerId && bankAccountList.length) || !form.customerId" label-width="0" prop="customerBankAccountName">
<el-select v-model="form.customerBankAccount" > <el-select v-model="form.customerBankAccountName" >
<el-option @click.native="getBankInfo(item)" v-for="(item) in bankAccountList" :value="item.bankAccount" :label="item.bankAccount + (item.bankName)" ></el-option> <el-option @click.native="getBankInfo(item)" v-for="(item) in bankAccountList" :value="item.accountName" :label="item.accountName" ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<span v-else >{{$t('客户档案没有银行账户。')}}</span> <span v-else >{{$t('客户档案未设置银行账户。')}}</span>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item :label="$t('账户名称')" > <el-descriptions-item :label="$t('账户名称')" >
<el-form-item label-width="0" :rules="{message:$t('账户名称不能为空'),required:true,}" prop="customerBankAccountName"> <el-form-item label-width="0" :rules="{message:$t('账户名称不能为空'),required:true,}" prop="customerBankAccountName">
...@@ -540,7 +540,7 @@ export default { ...@@ -540,7 +540,7 @@ export default {
applicationAt: this.parseTime(res.data.applicationAt, '{y}-{m}-{d} {h}:{i}:{s}'), applicationAt: this.parseTime(res.data.applicationAt, '{y}-{m}-{d} {h}:{i}:{s}'),
invoiceStatus: String(res.data.invoiceStatus), invoiceStatus: String(res.data.invoiceStatus),
} }
this.$set(this.form, 'customerBankAccount', res.data.customerBankAccount) this.$set(this.form, 'customerBankAccountName', accountName)
this.list = [...res.data.payableBackVOList] this.list = [...res.data.payableBackVOList]
this.defaultList = [...res.data.payableBackVOList] this.defaultList = [...res.data.payableBackVOList]
}); });
...@@ -879,7 +879,7 @@ export default { ...@@ -879,7 +879,7 @@ export default {
this.form.customerBankAccount = ''; // 客户银行账号 this.form.customerBankAccount = ''; // 客户银行账号
this.form.customerBankAccountName = ''; //客户银行账户名 this.form.customerBankAccountName = ''; //客户银行账户名
this.form.customerBankAddress = ''; // 银行地址 this.form.customerBankAddress = ''; // 银行地址
this.form.customerBankAddress = ''; // 银行代码 this.form.customerBankCode = ''; // 银行代码
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<el-dialog :title="title" visible :before-close="closeDialog" :close-on-click-modal="false" v-loading="loading"> <el-dialog :title="title" visible :before-close="closeDialog" :close-on-click-modal="false" v-loading="loading">
<el-timeline v-if="list.length"> <el-timeline v-if="list.length">
<el-timeline-item v-for="item in list" :timestamp="item.pickTime|parseTime" placement="top" :key="item.id"> <el-timeline-item v-for="item in list" :timestamp="item.pickTime|parseTime" placement="top" :key="item.id">
<div> {{item.deleted ? $t('已撤销') : $t('已提货')}} <el-button v-if="!item.deleted" size="mini" @click="deletePickup(item.id)" class="ml-10">{{$t('撤销')}}</el-button></div> <div> {{item.deleted ? $t('已撤销') : $t('已提货')}} <el-button v-if="!item.deleted" :disabled="loading" size="mini" @click="deletePickup(item.id)" class="ml-10">{{$t('撤销')}}</el-button></div>
<div>{{$t('提货箱数')}}{{item.pickNum}}</div> <div>{{$t('提货箱数')}}{{item.pickNum}}</div>
<div>{{$t('操作人')}}{{item.creator}}</div> <div>{{$t('操作人')}}{{item.creator}}</div>
<div v-if="item.deleted">{{$t('撤销人')}}{{item.updater}}</div> <div v-if="item.deleted">{{$t('撤销人')}}{{item.updater}}</div>
...@@ -50,6 +50,7 @@ export default { ...@@ -50,6 +50,7 @@ export default {
}).then(res => { }).then(res => {
this.$message.success('操作成功') this.$message.success('操作成功')
this.$emit('delete', id) this.$emit('delete', id)
this.getList()
}) })
}, },
closeDialog(){ closeDialog(){
...@@ -58,4 +59,4 @@ export default { ...@@ -58,4 +59,4 @@ export default {
} }
} }
} }
</script> </script>
\ No newline at end of file
...@@ -503,10 +503,10 @@ export default { ...@@ -503,10 +503,10 @@ export default {
watch: { watch: {
visible(val){ visible(val){
if (val) { if (val) {
this.init()
this.getProductBrandPage(this.warehousing.brandName) this.getProductBrandPage(this.warehousing.brandName)
this.getProductBrandPage1() this.getProductBrandPage1()
this.handleBrandChange(parseInt(this.form.brand)) this.handleBrandChange(parseInt(this.form.brand))
this.init()
} else { } else {
this.$emit('close') this.$emit('close')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment