Commit fcfeabcb authored by houjn@hikoon.cn's avatar houjn@hikoon.cn
parents 26774114 578a4711
...@@ -107,7 +107,9 @@ export default { ...@@ -107,7 +107,9 @@ export default {
cdOutBillType: cdOutBillType:
oldData.cdOutBillType === 0 ? undefined : oldData.cdOutBillType, oldData.cdOutBillType === 0 ? undefined : oldData.cdOutBillType,
}; };
if(!this.$attrs.shipmentObj.clearanceDocInfo){
this.$set(this.cDocObj,'cdOutBillType',String(this.$attrs.shipmentObj.ladingBillInfo?.issueType)||undefined) this.$set(this.cDocObj,'cdOutBillType',String(this.$attrs.shipmentObj.ladingBillInfo?.issueType)||undefined)
}
}, },
methods: { methods: {
/** 提交 */ /** 提交 */
......
<template> <template>
<el-select filterable :value="value === 0 ? undefined : value" @change="change" v-bind="$attrs" clearable> <el-select filterable :value="company === 0 ? undefined : company" @change="change" v-bind="$attrs" clearable>
<el-option v-for="user in getUser" :key="user.id" :value="user.id" :label="$l(user, 'company')"></el-option> <el-option v-for="user in getUser" :key="user.id" :value="user.id" :label="$l(user, 'company')"></el-option>
</el-select> </el-select>
</template> </template>
...@@ -24,8 +24,28 @@ export default { ...@@ -24,8 +24,28 @@ export default {
}, },
computed: { computed: {
getUser() { getUser() {
this.allUsers.forEach(element => {
if(!element.companyEn) {
element.companyEn = element.companyZh
}
});
return this.allUsers; return this.allUsers;
}, },
company: {
get() {
return this.value
},
set(val) {
this.$emit("change", val);
}
}
},
created() {
this.company = this.value
let com = this.getUser.findIndex(item=>item.id==this.company)
if(com == -1){
this.company = 0
}
}, },
methods: { methods: {
change(val) { change(val) {
......
...@@ -34,7 +34,10 @@ ...@@ -34,7 +34,10 @@
{{scope.row.orderNo}} {{scope.row.orderNo}}
</div> </div>
<div style="color:blue;fontWeight:bold;"> <div style="color:blue;fontWeight:bold;">
{{ scope.row.isExternalWarehouse === 1 ? '(外部仓)' : ''}} {{ scope.row.isExternalWarehouse === 1 ? ('('+$t('外部仓')+')') : ''}}
</div>
<div style="color:red;fontWeight:bold;">
{{ scope.row.adjustToDestWarehouseId > 0 ? ('('+$t('调仓')+')') : ''}}
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
......
...@@ -236,7 +236,7 @@ export default { ...@@ -236,7 +236,7 @@ export default {
id: this.params.id, id: this.params.id,
logisticsCompany: this.params.logisticsCompany, logisticsCompany: this.params.logisticsCompany,
logisticsNo:this.params.logisticsNo, logisticsNo:this.params.logisticsNo,
phone: this.params.logisticsNo, phone: this.params.phone,
urls: this.params.urls, urls: this.params.urls,
} }
}, },
......
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