|
@@ -100,8 +100,7 @@ export default {
|
|
|
this.formData.storageId = val
|
|
|
}}
|
|
|
placeholder="请选择"
|
|
|
- // disabled={!!~['WAIT', 'OK', 'FAIL'].indexOf(this.formData.status) || !!~['merchandisePurchaseReturn'].indexOf(this?.$route?.name) || JSON.parse(localStorage.getItem('greemall_user')).joinCode === "NO"}
|
|
|
- disabled={!!~['WAIT', 'OK', 'FAIL'].indexOf(this.formData.status) || JSON.parse(localStorage.getItem('greemall_user')).joinCode === "NO"}
|
|
|
+ disabled={!!~['WAIT', 'OK', 'FAIL'].indexOf(this.formData.status) || !!~['merchandisePurchaseReturn'].indexOf(this?.$route?.name) || JSON.parse(localStorage.getItem('greemall_user')).joinCode === "NO"}
|
|
|
onChange={val => {
|
|
|
if (val) {
|
|
|
this.formData['storageName'] = this.warehouseList.find(item => item.storageId == val).storageName
|