|
|
@ -220,7 +220,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
<pagination
|
|
|
|
v-show="total>0"
|
|
|
|
v-show="total>0"
|
|
|
|
:total="total"
|
|
|
|
:total="total"
|
|
|
@ -238,7 +238,7 @@
|
|
|
|
<el-input v-model="form.checkNo" placeholder="请输入检验任务编号" disabled/>
|
|
|
|
<el-input v-model="form.checkNo" placeholder="请输入检验任务编号" disabled/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="批次号" prop="batchNo">
|
|
|
|
<el-form-item label="批次号" prop="batchNo">
|
|
|
|
<el-input v-model="form.batchNo" placeholder="请输入批次号" />
|
|
|
|
<el-input v-model="form.batchNo" placeholder="请输入批次号" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -263,14 +263,26 @@
|
|
|
|
<el-input v-model="form.materialCode" placeholder="请输入物料号" disabled/>
|
|
|
|
<el-input v-model="form.materialCode" placeholder="请输入物料号" disabled/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="8">
|
|
|
|
|
|
|
|
<el-form-item label="检验类型" prop="typeCode" >
|
|
|
|
|
|
|
|
<el-select v-model="form.typeCode" placeholder="请选择检验类型" style="width: 100%;">
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in checkTypes"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
|
|
|
></el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="收货数量" prop="quality">
|
|
|
|
<el-form-item label="收货数量" prop="quality">
|
|
|
|
<el-input type="number" v-model="form.quality" placeholder="请输入收货数量" />
|
|
|
|
<el-input type="number" v-model="form.quality" placeholder="请输入收货数量" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="12">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="单位" prop="unit" >
|
|
|
|
<el-form-item label="单位" prop="unit" >
|
|
|
|
<el-select v-model="form.unit" placeholder="请选择单位" style="width: 100%;">
|
|
|
|
<el-select v-model="form.unit" placeholder="请选择单位" style="width: 100%;">
|
|
|
|
<el-option
|
|
|
|
<el-option
|
|
|
@ -291,7 +303,7 @@
|
|
|
|
</el-input>
|
|
|
|
</el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="车间编码" prop="carCode">
|
|
|
|
<el-form-item label="车间编码" prop="carCode">
|
|
|
|
<el-input v-model="form.carCode" placeholder="请输入所属车间编码" disabled/>
|
|
|
|
<el-input v-model="form.carCode" placeholder="请输入所属车间编码" disabled/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
@ -306,7 +318,7 @@
|
|
|
|
</el-date-picker>
|
|
|
|
</el-date-picker>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="检测人姓名" prop="checkManName">
|
|
|
|
<el-form-item label="检测人姓名" prop="checkManName">
|
|
|
@ -320,12 +332,12 @@
|
|
|
|
<el-input v-model="form.checkManCode" placeholder="请输入检测人工号" disabled/>
|
|
|
|
<el-input v-model="form.checkManCode" placeholder="请输入检测人工号" disabled/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-col :span="8">
|
|
|
|
<el-form-item label="检测地点" prop="checkLoc">
|
|
|
|
<el-form-item label="检测地点" prop="checkLoc">
|
|
|
|
<el-input v-model="form.checkLoc" placeholder="请输入检测地点" />
|
|
|
|
<el-input v-model="form.checkLoc" placeholder="请输入检测地点" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
@ -417,6 +429,9 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表单参数
|
|
|
|
// 表单参数
|
|
|
|
form: {},
|
|
|
|
form: {},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
checkTypes:[],
|
|
|
|
|
|
|
|
|
|
|
|
// 表单校验
|
|
|
|
// 表单校验
|
|
|
|
rules: {
|
|
|
|
rules: {
|
|
|
|
batchNo: [
|
|
|
|
batchNo: [
|
|
|
@ -452,9 +467,13 @@ export default {
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.getDate();
|
|
|
|
this.getDate();
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
this.getCheckTypes();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
getList() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
/**获取默认查询时间段**/
|
|
|
|
/**获取默认查询时间段**/
|
|
|
|
getDate() {
|
|
|
|
getDate() {
|
|
|
|
let start = this.Fungetdate (0)
|
|
|
|
let start = this.Fungetdate (0)
|
|
|
@ -629,7 +648,7 @@ export default {
|
|
|
|
this.form.carCode = obj.code;
|
|
|
|
this.form.carCode = obj.code;
|
|
|
|
this.form.carName = obj.name;
|
|
|
|
this.form.carName = obj.name;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
/**人员选择弹出框**/
|
|
|
|
/**人员选择弹出框**/
|
|
|
|
handleSelectUser() {
|
|
|
|
handleSelectUser() {
|
|
|
|
this.$refs.itemSelectUser.showFlag = true;
|
|
|
|
this.$refs.itemSelectUser.showFlag = true;
|
|
|
|