|
|
@@ -12,7 +12,8 @@
|
|
|
apiStatus === 1 ||
|
|
|
apiStatus === 2 ||
|
|
|
choiceStatus ||
|
|
|
- disableApproval
|
|
|
+ disableApproval ||
|
|
|
+ (apiStatus === 0 && !tailSelected)
|
|
|
"
|
|
|
@click="handleTesting"
|
|
|
>{{ apiStatus === -1 ? "送审" : "批核" }}</el-button
|
|
|
@@ -736,6 +737,7 @@ export default {
|
|
|
processDetailId: "",
|
|
|
// 选中的
|
|
|
currentRows: [],
|
|
|
+ tailSelected: false,
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
id: null,
|
|
|
@@ -909,6 +911,12 @@ export default {
|
|
|
this.formParams.produceDate = parseTime(produceDate);
|
|
|
this.adjustForm.noPassType =
|
|
|
noPassType === null ? this.adjustForm.noPassType : noPassType;
|
|
|
+ if (
|
|
|
+ this.adjustForm.noPassType !== "" &&
|
|
|
+ this.adjustForm.noPassType != null
|
|
|
+ ) {
|
|
|
+ this.tailSelected = true;
|
|
|
+ }
|
|
|
this.adjustForm.inspector = inspector;
|
|
|
this.adjustForm.manage = manage;
|
|
|
if (this.adjustForm.noPassType === "2") {
|
|
|
@@ -943,6 +951,7 @@ export default {
|
|
|
},
|
|
|
// 选择批核结果
|
|
|
async noPassChange(v) {
|
|
|
+ this.tailSelected = true;
|
|
|
// v === '2' --》挑选入库
|
|
|
if (v === "2") {
|
|
|
const { materialLots } = this.queryParams;
|