|
|
|
@ -161,7 +161,7 @@ |
|
|
|
<el-dialog title="新增检验记录" :close-on-click-modal="false" v-drag :visible.sync="modalFlag" width="495px"> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item label="BU" prop="bu" :rules="rules.bu"> |
|
|
|
<el-select v-model="modalData.bu" placeholder="请选择" @change="buChange" style="width: 456px"> |
|
|
|
<el-select v-model="modalData.bu" placeholder="请选择" @change="buChange" style="width: 221px"> |
|
|
|
<el-option |
|
|
|
v-for = "i in userBuList" |
|
|
|
:key = "i.buNo" |
|
|
|
@ -174,19 +174,17 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item label="标签号"> |
|
|
|
<!-- <el-autocomplete v-if="this.modalData.specialTaskFlag === 'Y'" disabled style="width: 456px" size="mini" v-model="modalData.rollNo" clearable--> |
|
|
|
<!-- :fetch-suggestions="querySearchAsync" @select="handleSelect"--> |
|
|
|
<!-- placeholder="请输入标签号">--> |
|
|
|
<!-- </el-autocomplete>--> |
|
|
|
<!-- <el-autocomplete v-if="this.modalData.specialTaskFlag !== 'Y'" style="width: 456px" size="mini" v-model="modalData.rollNo" clearable--> |
|
|
|
<!-- :fetch-suggestions="querySearchAsync" @select="handleSelect"--> |
|
|
|
<!-- placeholder="请输入标签号">--> |
|
|
|
<!-- </el-autocomplete>--> |
|
|
|
<el-input v-if="this.modalData.specialTaskFlag === 'Y'" disabled v-model="modalData.rollNo" style="width: 456px"></el-input> |
|
|
|
<el-input v-if="this.modalData.specialTaskFlag !== 'Y'" v-model="modalData.rollNo" @keyup.native.enter="rollNoEnter" clearable style="width: 456px"></el-input> |
|
|
|
<!-- <el-autocomplete v-if="this.modalData.specialTaskFlag === 'Y'" disabled style="width: 456px" size="mini" v-model="modalData.rollNo" clearable--> |
|
|
|
<!-- :fetch-suggestions="querySearchAsync" @select="handleSelect"--> |
|
|
|
<!-- placeholder="请输入标签号">--> |
|
|
|
<!-- </el-autocomplete>--> |
|
|
|
<!-- <el-autocomplete v-if="this.modalData.specialTaskFlag !== 'Y'" style="width: 456px" size="mini" v-model="modalData.rollNo" clearable--> |
|
|
|
<!-- :fetch-suggestions="querySearchAsync" @select="handleSelect"--> |
|
|
|
<!-- placeholder="请输入标签号">--> |
|
|
|
<!-- </el-autocomplete>--> |
|
|
|
<el-input v-if="this.modalData.specialTaskFlag === 'Y'" disabled v-model="modalData.rollNo" style="width: 221px"></el-input> |
|
|
|
<el-input v-if="this.modalData.specialTaskFlag !== 'Y'" v-model="modalData.rollNo" @keyup.native.enter="rollNoEnter" clearable style="width: 221px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" :model="modalData" :rules="rules" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
@ -687,7 +685,7 @@ |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<!-- 派工单号 --> |
|
|
|
<el-dialog title="派工单号" @close="closeDialog" :close-on-click-modal="false" v-drag :visible.sync="seqDetailFlag" width="801px" height="273px"> |
|
|
|
<el-dialog title="派工单号" @close="closeDialog" :close-on-click-modal="false" v-drag :visible.sync="seqDetailFlag" width="952px" height="273px"> |
|
|
|
<el-form :inline="true" label-position="top" :model="seqDetailData" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item label="工单号"> |
|
|
|
<el-input v-model="seqDetailData.orderNo" clearable style="width: 137px"></el-input> |
|
|
|
@ -704,6 +702,9 @@ |
|
|
|
<el-form-item label="物料名称"> |
|
|
|
<el-input v-model="seqDetailData.partDesc" clearable style="width: 137px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="工序"> |
|
|
|
<el-input v-model="seqDetailData.operationDesc" clearable style="width: 137px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" @click="searchSeqInfo()" style="margin-top: 24px">查询</el-button> |
|
|
|
</el-form-item> |
|
|
|
@ -745,6 +746,24 @@ |
|
|
|
align="center" |
|
|
|
label="物料名称"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="lotsize" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="工单数量"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="qtyrequired" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="派工数量"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
prop="operationDesc" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
label="工序"> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<el-footer style="height:40px;margin-top: 10px;text-align:center"> |
|
|
|
<el-button type="primary" @click="seqDetailFlag = false">关闭</el-button> |
|
|
|
@ -889,6 +908,9 @@ |
|
|
|
batchRollNo: '', |
|
|
|
spec: '', |
|
|
|
sku: '', |
|
|
|
qtyrequired: '', |
|
|
|
lotsize:'', |
|
|
|
operationDesc:'', |
|
|
|
specialRequirements: '', |
|
|
|
templateId: '', |
|
|
|
templateName: '', |
|
|
|
@ -1684,7 +1706,10 @@ |
|
|
|
seqNo: '', |
|
|
|
sku: '', |
|
|
|
partNo: '', |
|
|
|
partDesc:'' |
|
|
|
partDesc:'', |
|
|
|
operationDesc:'', |
|
|
|
qtyrequired:'', |
|
|
|
lotsize:'' |
|
|
|
}, |
|
|
|
// 子明细数据对象 |
|
|
|
tableData: [], |
|
|
|
@ -2184,6 +2209,9 @@ |
|
|
|
this.modalData.spec = data.rows[0].spec |
|
|
|
this.modalData.sku = data.rows[0].sku |
|
|
|
this.modalData.cinvSourceCode = data.rows[0].cinvSourceCode |
|
|
|
this.modalData.operationDesc = data.rows[0].operationDesc |
|
|
|
this.modalData.qtyrequired = data.rows[0].qtyrequired |
|
|
|
this.modalData.lotsize = data.rows[0].lotsize |
|
|
|
} else { |
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
@ -2442,6 +2470,9 @@ |
|
|
|
this.modalData.cinvSourceCode = row.cinvSourceCode |
|
|
|
this.modalData.orderNo = row.orderNo |
|
|
|
this.modalData.seqNo = row.seqNo |
|
|
|
this.modalData.lotsize = row.lotsize |
|
|
|
this.modalData.operationDesc = row.operationDesc |
|
|
|
this.modalData.qtyrequired = row.qtyrequired |
|
|
|
this.getOperationList() |
|
|
|
this.seqDetailFlag = false |
|
|
|
}, |
|
|
|
@ -3137,9 +3168,10 @@ |
|
|
|
orderNo: this.seqDetailData.orderNo, |
|
|
|
sku: this.seqDetailData.sku, |
|
|
|
partDesc: this.seqDetailData.partDesc, |
|
|
|
partNo: this.seqDetailData.partNo |
|
|
|
partNo: this.seqDetailData.partNo, |
|
|
|
operationDesc: this.seqDetailData.operationDesc |
|
|
|
} |
|
|
|
if (!this.seqDetailData.seqNo && !this.seqDetailData.orderNo && !this.seqDetailData.sku && !this.seqDetailData.partNo && !this.seqDetailData.partDesc){ |
|
|
|
if (!this.seqDetailData.seqNo && !this.seqDetailData.orderNo && !this.seqDetailData.sku && !this.seqDetailData.partNo && !this.seqDetailData.partDesc && !this.seqDetailData.operationDesc){ |
|
|
|
this.seqInfoList = [] |
|
|
|
} else { |
|
|
|
searchSeqInfo(tempData).then(({data}) => { |
|
|
|
@ -3159,7 +3191,8 @@ |
|
|
|
orderNo: '', |
|
|
|
sku: '', |
|
|
|
partNo: '', |
|
|
|
partDesc:'' |
|
|
|
partDesc:'', |
|
|
|
operationDesc: '' |
|
|
|
} |
|
|
|
this.seqInfoList = [] |
|
|
|
} |
|
|
|
|