|
|
@ -8,52 +8,56 @@
|
|
|
|
label-width="110px"
|
|
|
|
label-width="110px"
|
|
|
|
style="margin-bottom: -15px"
|
|
|
|
style="margin-bottom: -15px"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-button-group
|
|
|
|
<el-row>
|
|
|
|
style="display: flex; margin: 0px 0 15px 75%; height: 35px"
|
|
|
|
<el-button-group
|
|
|
|
>
|
|
|
|
style="display: flex; margin: 0px 0 15px 0; height: 35px;float: right"
|
|
|
|
<el-button
|
|
|
|
>
|
|
|
|
size="mini"
|
|
|
|
<el-button
|
|
|
|
type="primary"
|
|
|
|
size="mini"
|
|
|
|
v-if="documentShow"
|
|
|
|
type="primary"
|
|
|
|
@click.native="OptionalDocument()"
|
|
|
|
v-if="documentShow"
|
|
|
|
>选入预验收库单
|
|
|
|
@click.native="OptionalDocument()"
|
|
|
|
</el-button>
|
|
|
|
>选入预验收库单
|
|
|
|
<el-button size="mini" type="primary" @click.native="saveOrder()"
|
|
|
|
</el-button>
|
|
|
|
>草稿保存
|
|
|
|
<el-button size="mini" type="primary" @click.native="saveOrder()"
|
|
|
|
</el-button>
|
|
|
|
>草稿保存
|
|
|
|
<el-button size="mini" type="primary" @click.native="submit()"
|
|
|
|
</el-button>
|
|
|
|
v-if="viewType != 7"
|
|
|
|
<el-button size="mini" type="primary" @click.native="submit()"
|
|
|
|
>立即提交
|
|
|
|
v-if="viewType != 7"
|
|
|
|
</el-button>
|
|
|
|
>立即提交
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
<el-button type="primary" @click="submit(1)"
|
|
|
|
|
|
|
|
v-if="viewType == 7">校验结果提交
|
|
|
|
<el-button type="primary" @click="submit(1)"
|
|
|
|
</el-button>
|
|
|
|
v-if="viewType == 7">校验结果提交
|
|
|
|
<el-button type="primary" @click="submit(2)"
|
|
|
|
</el-button>
|
|
|
|
v-if="viewType == 7">扫码结果提交
|
|
|
|
<el-button type="primary" @click="submit(2)"
|
|
|
|
</el-button>
|
|
|
|
v-if="viewType == 7">扫码结果提交
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
<el-button size="mini" type="primary" @click.native="revokeBill()"
|
|
|
|
|
|
|
|
v-if="viewType == 7">撤回单据
|
|
|
|
<el-button size="mini" type="primary" @click.native="revokeBill()"
|
|
|
|
</el-button>
|
|
|
|
v-if="viewType == 7">撤回单据
|
|
|
|
|
|
|
|
</el-button>
|
|
|
|
<!-- v-if="(viewType != 5 && viewType != 6)&&(curAction.checkWebNew != 2 || viewType !=1)"-->
|
|
|
|
|
|
|
|
<!-- <el-button size="mini" type="primary" @click.native="submit(1)"-->
|
|
|
|
<!-- v-if="(viewType != 5 && viewType != 6)&&(curAction.checkWebNew != 2 || viewType !=1)"-->
|
|
|
|
<!-- v-if="curAction.checkWebNew > 1 && viewType == 1"-->
|
|
|
|
<!-- <el-button size="mini" type="primary" @click.native="submit(1)"-->
|
|
|
|
<!-- >待配货提交-->
|
|
|
|
<!-- v-if="curAction.checkWebNew > 1 && viewType == 1"-->
|
|
|
|
<!-- </el-button>-->
|
|
|
|
<!-- >待配货提交-->
|
|
|
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
<!-- <el-button size="mini" type="primary" @click.native="submit(1)"-->
|
|
|
|
|
|
|
|
<!-- v-if="viewType == 5"-->
|
|
|
|
<!-- <el-button size="mini" type="primary" @click.native="submit(1)"-->
|
|
|
|
<!-- >完成验收-->
|
|
|
|
<!-- v-if="viewType == 5"-->
|
|
|
|
<!-- </el-button>-->
|
|
|
|
<!-- >完成验收-->
|
|
|
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
<!-- <el-button size="mini" type="primary" @click.native="submit(1)"-->
|
|
|
|
|
|
|
|
<!-- v-if=" viewType == 6"-->
|
|
|
|
<!-- <el-button size="mini" type="primary" @click.native="submit(1)"-->
|
|
|
|
<!-- >完成验收-->
|
|
|
|
<!-- v-if=" viewType == 6"-->
|
|
|
|
<!-- </el-button>-->
|
|
|
|
<!-- >完成验收-->
|
|
|
|
|
|
|
|
<!-- </el-button>-->
|
|
|
|
</el-button-group>
|
|
|
|
|
|
|
|
|
|
|
|
</el-button-group>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="11">
|
|
|
|
<el-col :span="11">
|
|
|
|
<el-form-item prop="corpOrderId" label="单据号:">
|
|
|
|
<el-form-item prop="corpOrderId" label="单据号:">
|
|
|
@ -1254,6 +1258,7 @@ export default {
|
|
|
|
.then((response) => {
|
|
|
|
.then((response) => {
|
|
|
|
if (response.code == 20000) {
|
|
|
|
if (response.code == 20000) {
|
|
|
|
this.$message.success("撤回成功!");
|
|
|
|
this.$message.success("撤回成功!");
|
|
|
|
|
|
|
|
this.closeDialog();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.$message.error(response.message);
|
|
|
|
this.$message.error(response.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1353,9 +1358,8 @@ export default {
|
|
|
|
this.$message.error(response.message);
|
|
|
|
this.$message.error(response.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
} else if (this.viewType == 7) { //待校验提交
|
|
|
|
if (this.viewType = 7) { //待校验提交
|
|
|
|
if (val == 1) {
|
|
|
|
if (val = 1) {
|
|
|
|
|
|
|
|
this.$confirm("此操作将以校验的正确结果重新生成业务单并提交,是否继续?", "提示", {
|
|
|
|
this.$confirm("此操作将以校验的正确结果重新生成业务单并提交,是否继续?", "提示", {
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
cancelButtonText: "取消",
|
|
|
|