|
@@ -51,7 +51,7 @@
|
|
/>
|
|
/>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="货权方" prop="fCorpid">
|
|
|
|
|
|
+ <el-form-item label="客户" prop="fCorpid">
|
|
<el-select
|
|
<el-select
|
|
v-model="queryParams.fCorpid"
|
|
v-model="queryParams.fCorpid"
|
|
filterable
|
|
filterable
|
|
@@ -60,7 +60,7 @@
|
|
style="width: 200px"
|
|
style="width: 200px"
|
|
@keyup.enter.native="handleQuery"
|
|
@keyup.enter.native="handleQuery"
|
|
:remote-method="corpsRemoteMethod"
|
|
:remote-method="corpsRemoteMethod"
|
|
- placeholder="请选择货权方"
|
|
|
|
|
|
+ placeholder="请选择客户"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="(dict, index) in fMblnoOptions"
|
|
v-for="(dict, index) in fMblnoOptions"
|
|
@@ -353,8 +353,8 @@
|
|
sortable
|
|
sortable
|
|
/>
|
|
/>
|
|
<!-- <el-table-column label="制单人" align="center" prop="createBy" fixed />-->
|
|
<!-- <el-table-column label="制单人" align="center" prop="createBy" fixed />-->
|
|
- <!-- <el-table-column width="220" label="货权方" sortable align="center" prop="fCorpid" fixed/>-->
|
|
|
|
- <!-- <el-table-column width="220" label="转货权方" sortable align="center" prop="fTocorpid" fixed/>-->
|
|
|
|
|
|
+ <!-- <el-table-column width="220" label="客户" sortable align="center" prop="fCorpid" fixed/>-->
|
|
|
|
+ <!-- <el-table-column width="220" label="转客户" sortable align="center" prop="fTocorpid" fixed/>-->
|
|
<!-- <el-table-column label="品名" :show-overflow-tooltip="true" align="ceter" prop="fProductName" fixed/>-->
|
|
<!-- <el-table-column label="品名" :show-overflow-tooltip="true" align="ceter" prop="fProductName" fixed/>-->
|
|
<!-- <el-table-column :show-overflow-tooltip="true" label="品牌" align="center" prop="fMarks" fixed/>-->
|
|
<!-- <el-table-column :show-overflow-tooltip="true" label="品牌" align="center" prop="fMarks" fixed/>-->
|
|
<!-- <el-table-column width="160" label="业务编号" align="center" prop="fBillno" fixed/>-->
|
|
<!-- <el-table-column width="160" label="业务编号" align="center" prop="fBillno" fixed/>-->
|
|
@@ -488,7 +488,7 @@
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px">
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
- <el-form-item label="货权方" prop="fCorpid">
|
|
|
|
|
|
+ <el-form-item label="客户" prop="fCorpid">
|
|
<el-select
|
|
<el-select
|
|
v-model="form.fCorpid"
|
|
v-model="form.fCorpid"
|
|
filterable
|
|
filterable
|
|
@@ -496,7 +496,7 @@
|
|
:disabled="notChange || formBrowseStatus"
|
|
:disabled="notChange || formBrowseStatus"
|
|
style="width: 80%"
|
|
style="width: 80%"
|
|
:remote-method="corpsRemoteMethod"
|
|
:remote-method="corpsRemoteMethod"
|
|
- placeholder="请选择货权方"
|
|
|
|
|
|
+ placeholder="请选择客户"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="(dict, index) in fMblnoOptions"
|
|
v-for="(dict, index) in fMblnoOptions"
|
|
@@ -508,7 +508,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
- <el-form-item label="新货权方" prop="fTocorpid">
|
|
|
|
|
|
+ <el-form-item label="新客户" prop="fTocorpid">
|
|
<el-select
|
|
<el-select
|
|
v-model="form.fTocorpid"
|
|
v-model="form.fTocorpid"
|
|
filterable
|
|
filterable
|
|
@@ -517,7 +517,7 @@
|
|
style="width: 80%"
|
|
style="width: 80%"
|
|
@change="changefCorpid(form)"
|
|
@change="changefCorpid(form)"
|
|
:remote-method="corpsRemoteMethod"
|
|
:remote-method="corpsRemoteMethod"
|
|
- placeholder="请选择新货权方"
|
|
|
|
|
|
+ placeholder="请选择新客户"
|
|
>
|
|
>
|
|
<el-option
|
|
<el-option
|
|
v-for="(dict, index) in fMblnoOptions"
|
|
v-for="(dict, index) in fMblnoOptions"
|
|
@@ -2152,14 +2152,14 @@ export default {
|
|
{
|
|
{
|
|
surface: "2",
|
|
surface: "2",
|
|
label: "fCorpid",
|
|
label: "fCorpid",
|
|
- name: "货权方",
|
|
|
|
|
|
+ name: "客户",
|
|
checked: 0,
|
|
checked: 0,
|
|
width: 100,
|
|
width: 100,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
surface: "3",
|
|
surface: "3",
|
|
label: "fTocorpid",
|
|
label: "fTocorpid",
|
|
- name: "转货权方",
|
|
|
|
|
|
+ name: "转客户",
|
|
checked: 0,
|
|
checked: 0,
|
|
width: 100,
|
|
width: 100,
|
|
},
|
|
},
|
|
@@ -2252,14 +2252,14 @@ export default {
|
|
{
|
|
{
|
|
surface: "2",
|
|
surface: "2",
|
|
label: "fCorpid",
|
|
label: "fCorpid",
|
|
- name: "货权方",
|
|
|
|
|
|
+ name: "客户",
|
|
checked: 0,
|
|
checked: 0,
|
|
width: 100,
|
|
width: 100,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
surface: "3",
|
|
surface: "3",
|
|
label: "fTocorpid",
|
|
label: "fTocorpid",
|
|
- name: "转货权方",
|
|
|
|
|
|
+ name: "转客户",
|
|
checked: 0,
|
|
checked: 0,
|
|
width: 100,
|
|
width: 100,
|
|
},
|
|
},
|
|
@@ -2391,9 +2391,9 @@ export default {
|
|
title: "",
|
|
title: "",
|
|
// 是否显示弹出层
|
|
// 是否显示弹出层
|
|
open: false,
|
|
open: false,
|
|
- // 货权方(客户数据)
|
|
|
|
|
|
+ // 客户(客户数据)
|
|
fMblnoOptions: [],
|
|
fMblnoOptions: [],
|
|
- // 货权方(客户数据)
|
|
|
|
|
|
+ // 客户(客户数据)
|
|
// 客户名称
|
|
// 客户名称
|
|
KHblnoOptions: [],
|
|
KHblnoOptions: [],
|
|
fSbuOptions: [],
|
|
fSbuOptions: [],
|
|
@@ -2937,7 +2937,7 @@ export default {
|
|
!this.form.fWarehouseid
|
|
!this.form.fWarehouseid
|
|
) {
|
|
) {
|
|
this.$message({
|
|
this.$message({
|
|
- message: "请维护货权方、贸易方式、仓库",
|
|
|
|
|
|
+ message: "请维护客户、贸易方式、仓库",
|
|
type: "warning",
|
|
type: "warning",
|
|
});
|
|
});
|
|
return false;
|
|
return false;
|
|
@@ -3751,7 +3751,7 @@ export default {
|
|
this.formBrowseStatus = true;
|
|
this.formBrowseStatus = true;
|
|
this.$refs["form"].validate((valid) => {
|
|
this.$refs["form"].validate((valid) => {
|
|
if (this.form.fCorpid === this.form.fTocorpid) {
|
|
if (this.form.fCorpid === this.form.fTocorpid) {
|
|
- this.$message.error("新货权方不得与货权方一致");
|
|
|
|
|
|
+ this.$message.error("新客户不得与客户一致");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
// if (this.dataList.length === 0) {
|
|
// if (this.dataList.length === 0) {
|
|
@@ -3956,7 +3956,7 @@ export default {
|
|
this.updateDeduplication();
|
|
this.updateDeduplication();
|
|
this.$refs["form"].validate((valid) => {
|
|
this.$refs["form"].validate((valid) => {
|
|
if (this.form.fCorpid === this.form.fTocorpid) {
|
|
if (this.form.fCorpid === this.form.fTocorpid) {
|
|
- this.$message.error("新货权方不得与货权方一致");
|
|
|
|
|
|
+ this.$message.error("新客户不得与客户一致");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
// if (this.dataList.length === 0) {
|
|
// if (this.dataList.length === 0) {
|
|
@@ -4060,7 +4060,7 @@ export default {
|
|
submitForm() {
|
|
submitForm() {
|
|
this.$refs["form"].validate((valid) => {
|
|
this.$refs["form"].validate((valid) => {
|
|
if (this.form.fCorpid === this.form.fTocorpid) {
|
|
if (this.form.fCorpid === this.form.fTocorpid) {
|
|
- this.$message.error("新货权方不得与货权方一致");
|
|
|
|
|
|
+ this.$message.error("新客户不得与客户一致");
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
if (this.dataList.length === 0) {
|
|
if (this.dataList.length === 0) {
|
|
@@ -4313,7 +4313,7 @@ export default {
|
|
);
|
|
);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- // 选择新货权方自动带出结算方式
|
|
|
|
|
|
+ // 选择新客户自动带出结算方式
|
|
changefCorpid(row) {
|
|
changefCorpid(row) {
|
|
this.$set(row, "fSbu", row.fCorpid);
|
|
this.$set(row, "fSbu", row.fCorpid);
|
|
for (let corp in this.fMblnoOptions) {
|
|
for (let corp in this.fMblnoOptions) {
|