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