|
@@ -514,7 +514,11 @@ const onOpen = (record, view = false, copy, sblx) => {
|
|
|
if (formData.value.tzCode) {
|
|
|
let timer = setInterval(() => {
|
|
|
if (tzOptions.value.length > 0) {
|
|
|
- onChangTz(formData.value.tzCode)
|
|
|
+ const obj = tzOptions.value.filter(v => v.tzCode === formData.value.tzCode)[0]
|
|
|
+ qySecondlineHzdTzApi.qySecondlineHzdTzQyProductById({id: obj.id}).then(res => {
|
|
|
+ bodyListOptions.value = res.map(v => Object.assign(v, {label: v.productNumber, value: v.productNumber}))
|
|
|
+ onBodyReset()
|
|
|
+ })
|
|
|
clearInterval(timer)
|
|
|
}
|
|
|
}, 500)
|