|
|
@ -13,8 +13,8 @@ |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="'启用:'"> |
|
|
<el-form-item :label="'启用:'"> |
|
|
<el-select v-model="searchData.active" style="width: 130px"> |
|
|
<el-select v-model="searchData.active" style="width: 130px"> |
|
|
<el-option label="Yes" value="Y"></el-option> |
|
|
|
|
|
<el-option label="No" value="N"></el-option> |
|
|
|
|
|
|
|
|
<el-option label="Y" value="Y"></el-option> |
|
|
|
|
|
<el-option label="N" value="N"></el-option> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="' '" > |
|
|
<el-form-item :label="' '" > |
|
|
@ -144,36 +144,31 @@ |
|
|
<el-input v-model="currentSupplier.supplierNo" :disabled="!isAdd"></el-input> |
|
|
<el-input v-model="currentSupplier.supplierNo" :disabled="!isAdd"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item label="供应商名称" prop="supplierName"> |
|
|
<el-form-item label="供应商名称" prop="supplierName"> |
|
|
<el-input v-model="currentSupplier.supplierName"></el-input> |
|
|
<el-input v-model="currentSupplier.supplierName"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item label="供应商分组" prop="supplierDocType"> |
|
|
|
|
|
<el-select v-model="currentSupplier.supplierDocType" placeholder="选择供应商分组" style="width: 100%"> |
|
|
|
|
|
<el-option label="Group1" value="Group1"></el-option> |
|
|
|
|
|
<el-option label="Group2" value="Group2"></el-option> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="6"> |
|
|
|
|
|
<el-form-item label="在用"> |
|
|
|
|
|
|
|
|
<el-form-item label="启用"> |
|
|
<el-select v-model="currentSupplier.active" placeholder="是否在用" style="width: 100%"> |
|
|
<el-select v-model="currentSupplier.active" placeholder="是否在用" style="width: 100%"> |
|
|
<el-option label="Yes" value="Y"></el-option> |
|
|
|
|
|
<el-option label="No" value="N"></el-option> |
|
|
|
|
|
|
|
|
<el-option label="Y" value="Y"></el-option> |
|
|
|
|
|
<el-option label="N" value="N"></el-option> |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-section"> |
|
|
|
|
|
<el-row :gutter="24"> |
|
|
<el-row :gutter="24"> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item > |
|
|
<el-form-item > |
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(521)"><a href="#">供应商分类</a></span> |
|
|
|
|
|
<el-input v-model="currentSupplier.supplierGroup" style="width: 130px"></el-input> |
|
|
|
|
|
|
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(521)"><a href="#">供应商分组1</a></span> |
|
|
|
|
|
<el-input v-model="currentSupplier.supplierGroup1" style="width: 130px"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="6"> |
|
|
|
|
|
<el-form-item > |
|
|
|
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(525)"><a href="#">供应商分组2</a></span> |
|
|
|
|
|
<el-input v-model="currentSupplier.supplierGroup2" style="width: 130px"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
@ -186,15 +181,16 @@ |
|
|
<el-input v-model="currentSupplier.buyer"></el-input> |
|
|
<el-input v-model="currentSupplier.buyer"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-section"> |
|
|
|
|
|
<el-row :gutter="24"> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item label="采购专员"> |
|
|
<el-form-item label="采购专员"> |
|
|
<el-input v-model="currentSupplier.sourcingstaff"></el-input> |
|
|
<el-input v-model="currentSupplier.sourcingstaff"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="form-section"> |
|
|
|
|
|
<el-row :gutter="24"> |
|
|
|
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(522)"><a href="#">税率编号</a></span> |
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(522)"><a href="#">税率编号</a></span> |
|
|
@ -213,12 +209,26 @@ |
|
|
<el-input v-model="currentSupplier.deliveryTerm" style="width: 130px"></el-input> |
|
|
<el-input v-model="currentSupplier.deliveryTerm" style="width: 130px"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="form-section"> |
|
|
|
|
|
<el-row :gutter="24"> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item > |
|
|
<el-form-item > |
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(513)"><a herf="#">货币</a></span> |
|
|
<span style="cursor: pointer" slot="label" @click="getBaseList(513)"><a herf="#">货币</a></span> |
|
|
<el-input v-model="currentSupplier.currency" style="width: 130px"></el-input> |
|
|
<el-input v-model="currentSupplier.currency" style="width: 130px"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
|
|
|
<el-col :span="12"> |
|
|
|
|
|
<el-form-item label="银行名称"> |
|
|
|
|
|
<el-input v-model="currentSupplier.bankName"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="6"> |
|
|
|
|
|
<el-form-item label="银行账号"> |
|
|
|
|
|
<el-input v-model="currentSupplier.bankAccount"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-section"> |
|
|
<div class="form-section"> |
|
|
@ -248,16 +258,21 @@ |
|
|
|
|
|
|
|
|
<div class="form-section"> |
|
|
<div class="form-section"> |
|
|
<el-row :gutter="24"> |
|
|
<el-row :gutter="24"> |
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item label="邮箱"> |
|
|
<el-form-item label="邮箱"> |
|
|
<el-input v-model="currentSupplier.email"></el-input> |
|
|
<el-input v-model="currentSupplier.email"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
|
|
|
|
|
|
<el-col :span="12"> |
|
|
<el-form-item label="邮箱2"> |
|
|
<el-form-item label="邮箱2"> |
|
|
<el-input v-model="currentSupplier.email2"></el-input> |
|
|
<el-input v-model="currentSupplier.email2"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-section"> |
|
|
|
|
|
<el-row :gutter="24"> |
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item label="传真号"> |
|
|
<el-form-item label="传真号"> |
|
|
<el-input v-model="currentSupplier.faxNo"></el-input> |
|
|
<el-input v-model="currentSupplier.faxNo"></el-input> |
|
|
@ -268,11 +283,6 @@ |
|
|
<el-input v-model="currentSupplier.otherContact1"></el-input> |
|
|
<el-input v-model="currentSupplier.otherContact1"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-section"> |
|
|
|
|
|
<el-row :gutter="24"> |
|
|
|
|
|
<el-col :span="6"> |
|
|
<el-col :span="6"> |
|
|
<el-form-item label="其他联系方式2"> |
|
|
<el-form-item label="其他联系方式2"> |
|
|
<el-input v-model="currentSupplier.otherContact2"></el-input> |
|
|
<el-input v-model="currentSupplier.otherContact2"></el-input> |
|
|
@ -283,22 +293,13 @@ |
|
|
<el-input v-model="currentSupplier.otherContact3"></el-input> |
|
|
<el-input v-model="currentSupplier.otherContact3"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="6"> |
|
|
|
|
|
<el-form-item label="银行名称"> |
|
|
|
|
|
<el-input v-model="currentSupplier.bankName"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
<el-col :span="6"> |
|
|
|
|
|
<el-form-item label="银行账号"> |
|
|
|
|
|
<el-input v-model="currentSupplier.bankAccount"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
</el-row> |
|
|
</el-row> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="form-section"> |
|
|
<div class="form-section"> |
|
|
<el-row :gutter="24"> |
|
|
<el-row :gutter="24"> |
|
|
<el-col :span="10"> |
|
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
<el-form-item label="地址"> |
|
|
<el-form-item label="地址"> |
|
|
<el-input v-model="currentSupplier.address"></el-input> |
|
|
<el-input v-model="currentSupplier.address"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
@ -307,7 +308,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
<div class="form-section"> |
|
|
<div class="form-section"> |
|
|
<el-row :gutter="24"> |
|
|
<el-row :gutter="24"> |
|
|
<el-col :span="20"> |
|
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
<el-form-item label="备注"> |
|
|
<el-form-item label="备注"> |
|
|
<el-input v-model="currentSupplier.memo" type="textarea" :rows="2" resize="none" ></el-input> |
|
|
<el-input v-model="currentSupplier.memo" type="textarea" :rows="2" resize="none" ></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
@ -351,7 +352,8 @@ export default { |
|
|
supplierNo: '', |
|
|
supplierNo: '', |
|
|
supplierName: '', |
|
|
supplierName: '', |
|
|
active: '', |
|
|
active: '', |
|
|
supplierGroup:'', |
|
|
|
|
|
|
|
|
supplierGroup1:'', |
|
|
|
|
|
supplierGroup2:'', |
|
|
currency:'', |
|
|
currency:'', |
|
|
taxCode:'', |
|
|
taxCode:'', |
|
|
paymentTerm:'', |
|
|
paymentTerm:'', |
|
|
@ -900,7 +902,7 @@ export default { |
|
|
columnProp: 'active', |
|
|
columnProp: 'active', |
|
|
headerAlign: 'center', |
|
|
headerAlign: 'center', |
|
|
align: 'center', |
|
|
align: 'center', |
|
|
columnLabel: '在用', |
|
|
|
|
|
|
|
|
columnLabel: '启用', |
|
|
columnWidth: '100', |
|
|
columnWidth: '100', |
|
|
columnHidden: false, |
|
|
columnHidden: false, |
|
|
columnImage: false, |
|
|
columnImage: false, |
|
|
@ -1047,7 +1049,8 @@ export default { |
|
|
supplierName: '', |
|
|
supplierName: '', |
|
|
supplierDocType: '', |
|
|
supplierDocType: '', |
|
|
active: '', |
|
|
active: '', |
|
|
supplierGroup:'', |
|
|
|
|
|
|
|
|
supplierGroup1:'', |
|
|
|
|
|
supplierGroup2:'', |
|
|
abc: '', |
|
|
abc: '', |
|
|
sourcingstaff: '', |
|
|
sourcingstaff: '', |
|
|
currency:'', |
|
|
currency:'', |
|
|
@ -1106,8 +1109,11 @@ export default { |
|
|
if (val === 1100) { |
|
|
if (val === 1100) { |
|
|
strVal = this.searchData.supplierNo |
|
|
strVal = this.searchData.supplierNo |
|
|
} |
|
|
} |
|
|
if (val === 521) { |
|
|
|
|
|
strVal = this.currentSupplier.supplierGroup |
|
|
|
|
|
|
|
|
if (this.tagNo === 521) { |
|
|
|
|
|
strVal = this.currentSupplier.supplierGroup1 |
|
|
|
|
|
} |
|
|
|
|
|
if (this.taoNo === 525){ |
|
|
|
|
|
strVal = this.currentSupplier.supplierGroup2 |
|
|
} |
|
|
} |
|
|
if (val === 513){ |
|
|
if (val === 513){ |
|
|
strVal = this.currentSupplier.currency |
|
|
strVal = this.currentSupplier.currency |
|
|
@ -1134,8 +1140,11 @@ export default { |
|
|
if(this.tagNo == 513){ |
|
|
if(this.tagNo == 513){ |
|
|
this.currentSupplier.currency = val.Currency |
|
|
this.currentSupplier.currency = val.Currency |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 521) { |
|
|
|
|
|
this.currentSupplier.supplierGroup = val.supplier_group |
|
|
|
|
|
|
|
|
if (this.tagNo === 521 ) { |
|
|
|
|
|
this.currentSupplier.supplierGroup1 = val.supplier_group |
|
|
|
|
|
} |
|
|
|
|
|
if (this.tagNo === 525) { |
|
|
|
|
|
this.currentSupplier.supplierGroup2 = val.supplier_group |
|
|
} |
|
|
} |
|
|
if (this.tagNo === 522) { |
|
|
if (this.tagNo === 522) { |
|
|
this.currentSupplier.taxCode = val.TaxCode |
|
|
this.currentSupplier.taxCode = val.TaxCode |
|
|
@ -1285,7 +1294,8 @@ export default { |
|
|
supplierName: '', |
|
|
supplierName: '', |
|
|
supplierDocType: '', |
|
|
supplierDocType: '', |
|
|
active: 'Y', |
|
|
active: 'Y', |
|
|
supplierGroup:'', |
|
|
|
|
|
|
|
|
supplierGroup1:'', |
|
|
|
|
|
supplierGroup2: '', |
|
|
abc: '', |
|
|
abc: '', |
|
|
buyer: '', |
|
|
buyer: '', |
|
|
sourcingstaff: '', |
|
|
sourcingstaff: '', |
|
|
|