|
@@ -79,7 +79,12 @@ export default {
|
|
options: this.classifyList.map(item=>({label: item.name, value: item.code})),
|
|
options: this.classifyList.map(item=>({label: item.name, value: item.code})),
|
|
md: 6,
|
|
md: 6,
|
|
attributes: { disabled: this.disabled },
|
|
attributes: { disabled: this.disabled },
|
|
- formItemAttributes: { label: '物流公司', prop: 'logisticsCode', rules:[{ required: true, message: '请填写', trigger: 'blur' }] }
|
|
|
|
|
|
+ formItemAttributes: { label: '物流公司', prop: 'logisticsCode', rules:[{ required: true, message: '请填写', trigger: 'blur' }] },
|
|
|
|
+ events:{
|
|
|
|
+ change:(val)=>{
|
|
|
|
+ this.formData.logisticsName = this.classifyList.find(item=>item.code==val)?.name
|
|
|
|
+ }
|
|
|
|
+ }
|
|
},{
|
|
},{
|
|
isShow: this.formData.pickType==="NO",
|
|
isShow: this.formData.pickType==="NO",
|
|
name: 'el-input',
|
|
name: 'el-input',
|