|
|
|
@ -147,7 +147,7 @@
|
|
|
|
|
show-word-limit
|
|
|
|
|
maxlength="200"
|
|
|
|
|
class="!w-2080px"
|
|
|
|
|
v-bind:disabled="ctrView || ctrSave"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -166,7 +166,7 @@
|
|
|
|
|
class="hl-addbutton"
|
|
|
|
|
type="primary"
|
|
|
|
|
size="large"
|
|
|
|
|
v-bind:disabled="ctrView || ctrSave"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
@click="openMatForm"
|
|
|
|
|
>新增</el-button
|
|
|
|
|
>
|
|
|
|
@ -251,7 +251,7 @@
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="scope.row.storageOkQty"
|
|
|
|
|
v-bind:disabled="ctrView || ctrSave"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</template>
|
|
|
|
@ -271,7 +271,7 @@
|
|
|
|
|
class="mb-0px!"
|
|
|
|
|
>
|
|
|
|
|
<ProcedureSelect
|
|
|
|
|
v-bind:disabled="ctrView || ctrSave"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
v-model="row.procedureId"
|
|
|
|
|
@update:newValue="
|
|
|
|
|
(val) => {
|
|
|
|
@ -286,7 +286,7 @@
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="scope.row.description"
|
|
|
|
|
v-bind:disabled="ctrView || ctrSave"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -298,7 +298,7 @@
|
|
|
|
|
type="danger"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.prevent="handleDelete2(scope.$index)"
|
|
|
|
|
v-bind:disabled="ctrView || ctrDelete"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
>
|
|
|
|
|
删除
|
|
|
|
|
</el-button>
|
|
|
|
@ -317,8 +317,8 @@
|
|
|
|
|
class="hl-addbutton"
|
|
|
|
|
type="primary"
|
|
|
|
|
size="large"
|
|
|
|
|
v-bind:disabled="ctrView || ctrSave"
|
|
|
|
|
@click="openMatForm"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
@click="openMatForm2"
|
|
|
|
|
>新增</el-button
|
|
|
|
|
>
|
|
|
|
|
</el-col>
|
|
|
|
@ -347,7 +347,7 @@
|
|
|
|
|
<el-input
|
|
|
|
|
class="!w-265px"
|
|
|
|
|
placeholder="物料编码"
|
|
|
|
|
v-bind:disabled="true || ctrView || ctrSave"
|
|
|
|
|
v-bind:disabled="true"
|
|
|
|
|
v-model="scope.row.projectSubCode"
|
|
|
|
|
readonly
|
|
|
|
|
>
|
|
|
|
@ -402,7 +402,7 @@
|
|
|
|
|
>
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="scope.row.storageOkQty"
|
|
|
|
|
v-bind:disabled="ctrView || ctrSave"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</template>
|
|
|
|
@ -421,7 +421,7 @@
|
|
|
|
|
class="mb-0px!"
|
|
|
|
|
>
|
|
|
|
|
<ProcedureSelect
|
|
|
|
|
v-bind:disabled="ctrView || ctrSave"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
v-model="row.procedureId"
|
|
|
|
|
@update:newValue="
|
|
|
|
|
(val) => {
|
|
|
|
@ -436,7 +436,7 @@
|
|
|
|
|
<template #default="scope">
|
|
|
|
|
<el-input
|
|
|
|
|
v-model="scope.row.description"
|
|
|
|
|
v-bind:disabled="ctrView || ctrSave"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
@ -448,7 +448,7 @@
|
|
|
|
|
type="danger"
|
|
|
|
|
size="small"
|
|
|
|
|
@click.prevent="handleDelete2(scope.$index)"
|
|
|
|
|
v-bind:disabled="ctrView || ctrDelete"
|
|
|
|
|
v-bind:disabled="activetype == 'review'"
|
|
|
|
|
>
|
|
|
|
|
删除
|
|
|
|
|
</el-button>
|
|
|
|
@ -488,7 +488,7 @@
|
|
|
|
|
:before-upload="before"
|
|
|
|
|
class="upload-file-uploader"
|
|
|
|
|
>
|
|
|
|
|
<el-button type="primary" v-bind:disabled="ctrView || ctrSave">
|
|
|
|
|
<el-button type="primary" v-bind:disabled="activetype == 'review'">
|
|
|
|
|
<Icon icon="ep:upload-filled" />上传
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-upload>
|
|
|
|
@ -602,7 +602,7 @@
|
|
|
|
|
<el-button
|
|
|
|
|
@click="saveFormData('SAVE', 1, 'suc')"
|
|
|
|
|
type="primary"
|
|
|
|
|
v-if="btnSave && activetype !== 'audit' && formData.status !== 4"
|
|
|
|
|
v-if="activetype !== 'audit' && formData.status !== 4&& formData.status !== 2"
|
|
|
|
|
size="large"
|
|
|
|
|
>保 存</el-button
|
|
|
|
|
>
|
|
|
|
@ -610,7 +610,7 @@
|
|
|
|
|
<el-button
|
|
|
|
|
@click="saveFormData('SUBMIT', 2, 'suc')"
|
|
|
|
|
type="success"
|
|
|
|
|
v-if="btnSave && activetype !== 'create' && formData.status !== 4 && activetype !== 'audit'"
|
|
|
|
|
v-if="formData.status !== 2 && activetype !== 'create' && formData.status !== 4 && activetype !== 'audit'"
|
|
|
|
|
size="large"
|
|
|
|
|
>送 审</el-button
|
|
|
|
|
>
|
|
|
|
@ -734,10 +734,10 @@ const proOpenFormRef = ref()
|
|
|
|
|
const openMatForm = () => {
|
|
|
|
|
matOpenFormRef.value.open(formData.value.whId)
|
|
|
|
|
}
|
|
|
|
|
// //派工单号不为空
|
|
|
|
|
// const openMatForm2 = () => {
|
|
|
|
|
// matOpenFormRef2.value.open(formData.value.whId, formData.value.projectSubCode)
|
|
|
|
|
// }
|
|
|
|
|
//派工单号不为空
|
|
|
|
|
const openMatForm2 = () => {
|
|
|
|
|
matOpenFormRef2.value.open(formData.value.whId, formData.value.projectSubCode)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const handleHeaderNoRef = ref()
|
|
|
|
|
const handleHeaderNo = () => {
|
|
|
|
|