领料审核退料审核 审核按钮优化

dev
qiuhongwu 3 months ago
parent 2f6658352f
commit f94d00e6b3

@ -448,26 +448,14 @@
<el-button
@click="saveFormDataSUBMIT('AUDIT', 4)"
type="primary"
v-if="
(formData.status === 2 && activetype == 'audit') ||
(activetype == 'Check' &&
formData.status !== 3 &&
activetype !== 'review' &&
formData.status !== 1)
"
v-if="formData.status === 2 && activetype == 'Check'"
size="large"
> </el-button
>
<el-button
@click="saveFormData('INVALID', 3, 'suc')"
type="danger"
v-if="
(formData.status === 2 && activetype == 'audit') ||
(activetype == 'Check' &&
formData.status !== 3 &&
activetype !== 'review' &&
formData.status !== 1)
"
v-if="formData.status === 2 && activetype == 'Check'"
size="large"
> </el-button
>

@ -39,7 +39,7 @@
clearable
style="width: 100%"
@change="handleStockType"
v-bind:disabled="ctrView || ctrSave || enableHeadNo || activetype !== 'create'"
disabled
>
<el-option
v-for="dict in getIntDictOptions(DICT_TYPE.BIZ_STORAGE_OUT_TYPE)"
@ -344,7 +344,8 @@
<el-button
style="margin-left: 10px !important"
class="hl-addbutton"
type="primary"
type="success"
plain
size="large"
v-bind:disabled="activetype == 'review' || activetype == 'Check'"
@click="processBom"
@ -660,26 +661,14 @@
<el-button
@click="saveFormDataSUBMIT('AUDIT', 4)"
type="primary"
v-if="
(formData.status === 2 && activetype == 'audit') ||
(activetype == 'Check' &&
formData.status !== 3 &&
activetype !== 'review' &&
formData.status !== 1)
"
v-if="formData.status === 2 && activetype == 'Check'"
size="large"
> </el-button
>
<el-button
@click="saveFormData('INVALID', 3, 'suc')"
type="danger"
v-if="
(formData.status === 2 && activetype == 'audit') ||
(activetype == 'Check' &&
formData.status !== 3 &&
activetype !== 'review' &&
formData.status !== 1)
"
v-if="formData.status === 2 && activetype == 'Check'"
size="large"
> </el-button
>

Loading…
Cancel
Save