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

dev
qiuhongwu 3 months ago
parent 2f6658352f
commit f94d00e6b3

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

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

Loading…
Cancel
Save