|
|
@@ -7,7 +7,7 @@
|
|
|
<el-button v-if="form.id && pageIds.length" type="text" @click="nextPage">下一票</el-button>
|
|
|
</div>
|
|
|
<div class="add-customer-btn">
|
|
|
- <el-button v-if="form.id" size="small" type="success" @click="allClick('指示')">指示</el-button>
|
|
|
+ <el-button v-if="form.status == 3" size="small" type="success" @click="allClick('指示')">指示</el-button>
|
|
|
<el-button size="small" style="margin-right: 8px" :loading="saveLoading" :disabled="!form.id" @click="previewreportfun">预 览 </el-button>
|
|
|
<el-button
|
|
|
size="small"
|
|
|
@@ -846,7 +846,7 @@
|
|
|
</el-dialog>
|
|
|
<!--报表组件-->
|
|
|
<reportContainer ref="reportContainer"></reportContainer>
|
|
|
- <cashier-item ref="cashier" @update="updateCashier" :disabled="statusType"></cashier-item>
|
|
|
+ <cashier-item ref="cashier" @update="updateCashier"></cashier-item>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -1562,18 +1562,18 @@ export default {
|
|
|
this.fininvoicesDetailfun(this.form.id, "updateCashier");
|
|
|
},
|
|
|
submit(type) {
|
|
|
- if (this.form.cashierStatus == 0) {
|
|
|
- return this.$message.error("请申请收费!");
|
|
|
- }
|
|
|
+ // if (this.form.cashierStatus == 0) {
|
|
|
+ // return this.$message.error("请申请收费!");
|
|
|
+ // }
|
|
|
getListAll({ srcId: this.form.id }).then(res => {
|
|
|
- if (res.data.data.length == 0) {
|
|
|
- return this.$message.error("请在指示维护费用");
|
|
|
- }
|
|
|
- for (let item of res.data.data) {
|
|
|
- if (item.status == 0) {
|
|
|
- return this.$message.error("请在指示维护未收款数据");
|
|
|
- }
|
|
|
- }
|
|
|
+ // if (res.data.data.length == 0) {
|
|
|
+ // return this.$message.error("请在指示维护费用");
|
|
|
+ // }
|
|
|
+ // for (let item of res.data.data) {
|
|
|
+ // if (item.status == 0) {
|
|
|
+ // return this.$message.error("请在指示维护未收款数据");
|
|
|
+ // }
|
|
|
+ // }
|
|
|
this.$confirm("确定进行发票申请操作?", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|