mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 11:49:49 +08:00
获取值
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="clickInvoiceStatus(scope.row)"
|
@click="clickInvoiceStatus(scope.$index)"
|
||||||
v-hasPermi="['order:invoice:edit']"
|
v-hasPermi="['order:invoice:edit']"
|
||||||
>已开发票</el-button>
|
>已开发票</el-button>
|
||||||
</template>
|
</template>
|
||||||
@@ -159,7 +159,7 @@
|
|||||||
点击确定,将此记录更改为已开票状态!
|
点击确定,将此记录更改为已开票状态!
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false">取 消</el-button>
|
||||||
<el-button type="primary" @click="updateInvoiceStatus()">确 定</el-button>
|
<el-button type="primary" @click="updateInvoiceStatus">确 定</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
@@ -172,6 +172,7 @@ export default {
|
|||||||
name: "Invoice",
|
name: "Invoice",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
invoiceIndex:0,
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
loading: true,
|
loading: true,
|
||||||
// 选中数组
|
// 选中数组
|
||||||
@@ -313,13 +314,16 @@ export default {
|
|||||||
...this.queryParams
|
...this.queryParams
|
||||||
}, `invoice_${new Date().getTime()}.xlsx`)
|
}, `invoice_${new Date().getTime()}.xlsx`)
|
||||||
},
|
},
|
||||||
clickInvoiceStatus(row) {
|
clickInvoiceStatus(index) {
|
||||||
console.log("点击更改开票状态", row);
|
console.log("点击更改开票状态",index);
|
||||||
|
this.invoiceIndex = index
|
||||||
this.dialogVisible = true;
|
this.dialogVisible = true;
|
||||||
},
|
},
|
||||||
/** 修改申请开票状态 */
|
/** 修改申请开票状态 */
|
||||||
updateInvoiceStatus(row) {
|
updateInvoiceStatus() {
|
||||||
console.log("修改申请开票状态", row);
|
console.log("修改申请开票状态");
|
||||||
|
let _index = this.invoiceIndex
|
||||||
|
console.log(this.invoiceList[_index],'修改时获取当先项的值')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user