|
|
|
@ -32,11 +32,21 @@
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('inspectionType')">
|
|
|
|
|
<jnpf-form-tip-item label="质检类型" v-if="judgeShow('inspectionType')"
|
|
|
|
|
prop="inspectionType">
|
|
|
|
|
|
|
|
|
|
<JnpfSelect v-model="dataForm.inspectionType"
|
|
|
|
|
v-if="dataForm.inspectionType==undefined" @change="changeData('inspectionType', -1)"
|
|
|
|
|
placeholder="请选择" :disabled="judgeWrite('inspectionType')" clearable
|
|
|
|
|
:style='{ "width": "100%" }' :options="inspectionTypeOptions"
|
|
|
|
|
:props="inspectionTypeProps">
|
|
|
|
|
</JnpfSelect>
|
|
|
|
|
|
|
|
|
|
<JnpfSelect v-model="dataForm.inspectionType"
|
|
|
|
|
@change="changeData('inspectionType', -1)" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('inspectionType')" clearable :style='{ "width": "100%" }'
|
|
|
|
|
:options="inspectionTypeOptions" :props="inspectionTypeProps">
|
|
|
|
|
v-else-if="dataForm.inspectionType!=undefined"
|
|
|
|
|
@change="changeData('inspectionType', -1)" placeholder="请选择" :disabled="true"
|
|
|
|
|
clearable :style='{ "width": "100%" }' :options="inspectionTypeOptions"
|
|
|
|
|
:props="inspectionTypeProps">
|
|
|
|
|
</JnpfSelect>
|
|
|
|
|
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('belongUserId')">
|
|
|
|
@ -93,11 +103,10 @@
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.voucheId" @change="inspectionVoucher"
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.warehousinginspectionvouchervoucheId"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('warehousinginspectionvoucherList') || judgeWrite('warehousinginspectionvoucherList-voucheId')"
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='voucher_code' :field="'voucheId' + scope.$index"
|
|
|
|
|
interfaceId="530709323597241349" :pageSize="20"
|
|
|
|
|
placeholder="请选择" :disabled="true" propsValue="id" popupWidth="800px"
|
|
|
|
|
popupTitle="选择数据" popupType="dialog" relationField='voucher_code'
|
|
|
|
|
:field="'voucheId' + scope.$index" interfaceId="530709323597241349"
|
|
|
|
|
:pageSize="20"
|
|
|
|
|
:columnOptions="warehousinginspectionvouchervoucheIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
@ -312,13 +321,13 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="操作" width="50" align="center"
|
|
|
|
|
<!-- <el-table-column label="操作" width="50" align="center"
|
|
|
|
|
v-if="!judgeWrite('warehousinginspectionproductList')">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button size="mini" type="text" class="JNPF-table-delBtn"
|
|
|
|
|
@click="delwarehousinginspectionproductList(scope.$index)">删除</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
</el-table>
|
|
|
|
|
<!-- <div class="table-actions" @click="addwarehousinginspectionproductList()"
|
|
|
|
|
v-if="!judgeWrite('warehousinginspectionproductList')">
|
|
|
|
@ -440,24 +449,8 @@
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column label="创建用户"
|
|
|
|
|
v-if="judgeShow('warehousinginspectionconclusion-creatorUserId')"
|
|
|
|
|
prop="creatorUserId">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousinginspectionconclusionList-creatorUserId')">*</span>创建用户
|
|
|
|
|
</template>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.creatorUserId"
|
|
|
|
|
@change="changeData('warehousinginspectionconclusion-creatorUserId', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('warehousinginspectionconclusionList') || judgeWrite('warehousinginspectionconclusionList-creatorUserId')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
|
|
|
|
|
<el-table-column label="创建用户"
|
|
|
|
|
<!-- <el-table-column label="创建用户"
|
|
|
|
|
v-if="judgeShow('warehousinginspectionconclusion-creatorUserId')"
|
|
|
|
|
prop="creatorUserId">
|
|
|
|
|
<template slot="header">
|
|
|
|
@ -472,20 +465,20 @@
|
|
|
|
|
disabled clearable :style='{"width":"100%"}'>
|
|
|
|
|
</JnpfUserSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
|
|
|
|
|
<el-table-column label="操作" width="50"
|
|
|
|
|
<!-- <el-table-column label="操作" width="50"
|
|
|
|
|
v-if="!judgeWrite('warehousinginspectionconclusionList')">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button size="mini" type="text" class="JNPF-table-delBtn"
|
|
|
|
|
@click="delwarehousinginspectionconclusionList(scope.$index)">删除</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
</el-table>
|
|
|
|
|
<div class="table-actions" @click="addwarehousinginspectionconclusionList()"
|
|
|
|
|
<!-- <div class="table-actions" @click="addwarehousinginspectionconclusionList()"
|
|
|
|
|
v-if="!judgeWrite('warehousinginspectionconclusionList')">
|
|
|
|
|
<el-button type="text" icon="el-icon-plus">添加</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
|
|
|
|
|
<!-- <div class="table-actions"
|
|
|
|
|
@click="choiceProduct(this.dataForm.warehousingInspectionVoucherList[0].productId)"
|
|
|
|
|