|
@@ -40,7 +40,7 @@
|
|
|
<search-work-company
|
|
|
:value="ruleForm.companyNo"
|
|
|
:placeholder="'业务公司'"
|
|
|
- :disabled="isDetail"
|
|
|
+ :disabled="isDetail || isUpdate"
|
|
|
:size="'mini'"
|
|
|
:is-detail="false"
|
|
|
@searchChange="companyNosearchChange"
|
|
@@ -82,7 +82,7 @@
|
|
|
<el-select
|
|
|
v-model="ruleForm.wsmtype"
|
|
|
style="width: 100%"
|
|
|
- :disabled="isDetail"
|
|
|
+ :disabled="isDetail || isUpdate"
|
|
|
placeholder="仓库类型"
|
|
|
>
|
|
|
<el-option
|
|
@@ -228,6 +228,9 @@ export default {
|
|
|
mixins: [resToken],
|
|
|
props: ['showModel', 'id', 'isDetail'],
|
|
|
computed: {
|
|
|
+ isUpdate() {
|
|
|
+ return this.id !== 'add' && !this.isDetail
|
|
|
+ },
|
|
|
...mapGetters(['business_companyNo'])
|
|
|
},
|
|
|
data() {
|