|
@ -107,7 +107,7 @@ |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
<view class='split_line'></view> |
|
|
<view class='split_line'></view> |
|
|
<view class="uni-flex uni-row" style="align-items: center; margin-top: 20rpx; margin-bottom: 20rpx; margin-left: 10rpx; justify-content: space-between;"> |
|
|
<view class="uni-flex uni-row" style="align-items: center; margin-top: 20rpx; margin-bottom: 20rpx; margin-left: 10rpx; justify-content: space-between;" v-if="EnableQms"> |
|
|
<view class="title" > |
|
|
<view class="title" > |
|
|
创建检验申请 |
|
|
创建检验申请 |
|
|
</view> |
|
|
</view> |
|
@ -151,7 +151,9 @@ |
|
|
import { |
|
|
import { |
|
|
calc |
|
|
calc |
|
|
} from '@/common/calc.js'; |
|
|
} from '@/common/calc.js'; |
|
|
|
|
|
import { |
|
|
|
|
|
getSwitchInfoByCode |
|
|
|
|
|
} from '@/common/basic.js'; |
|
|
import uom from '@/mycomponents/qty/uom.vue' |
|
|
import uom from '@/mycomponents/qty/uom.vue' |
|
|
import packQty from '@/mycomponents/qty/packQty.vue' |
|
|
import packQty from '@/mycomponents/qty/packQty.vue' |
|
|
import balanceStatus from '@/mycomponents/status/balanceStatus.vue' |
|
|
import balanceStatus from '@/mycomponents/status/balanceStatus.vue' |
|
@ -193,7 +195,8 @@ |
|
|
fgLocationCode: "", |
|
|
fgLocationCode: "", |
|
|
rawLocationCode: "", |
|
|
rawLocationCode: "", |
|
|
putAwayRequestSwitch:true, |
|
|
putAwayRequestSwitch:true, |
|
|
putAwayInspectSwitch:true |
|
|
putAwayInspectSwitch:true, |
|
|
|
|
|
EnableQms:true |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
props: { |
|
|
props: { |
|
@ -206,6 +209,10 @@ |
|
|
default: [] |
|
|
default: [] |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
mounted() { |
|
|
|
|
|
this.EnableQms = getSwitchInfoByCode('EnableQms') |
|
|
|
|
|
console.log(777,this.EnableQms) |
|
|
|
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
openRequestPopup() { |
|
|
openRequestPopup() { |
|
|
this.initData(); |
|
|
this.initData(); |
|
@ -279,7 +286,9 @@ |
|
|
this.showErrorMessage("请选择包装规格") |
|
|
this.showErrorMessage("请选择包装规格") |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
if (!this.EnableQms) { |
|
|
|
|
|
this.putAwayInspectSwitch = false |
|
|
|
|
|
} |
|
|
this.callback(); |
|
|
this.callback(); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|