refactor: add orderNumber
This commit is contained in:
parent
5b1ea8804b
commit
b3e08e67d9
3 changed files with 18 additions and 1 deletions
|
|
@ -72,6 +72,7 @@ export default {
|
||||||
bankBook: 'Bank Book',
|
bankBook: 'Bank Book',
|
||||||
use: 'In Use',
|
use: 'In Use',
|
||||||
notUse: 'Not Use',
|
notUse: 'Not Use',
|
||||||
|
orderNumber: 'Order Number',
|
||||||
...status,
|
...status,
|
||||||
...main,
|
...main,
|
||||||
...address,
|
...address,
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@ export default {
|
||||||
bankBook: 'บัญชีธนาคาร',
|
bankBook: 'บัญชีธนาคาร',
|
||||||
use: 'ใช้งาน',
|
use: 'ใช้งาน',
|
||||||
notUse: 'ไม่ใช้งาน',
|
notUse: 'ไม่ใช้งาน',
|
||||||
|
orderNumber: 'ลําดับ',
|
||||||
...status,
|
...status,
|
||||||
...main,
|
...main,
|
||||||
...address,
|
...address,
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,14 @@ const utilsStore = useUtilsStore();
|
||||||
const holdDialog = ref(false);
|
const holdDialog = ref(false);
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
|
{
|
||||||
|
name: 'branchLabelNo',
|
||||||
|
align: 'center',
|
||||||
|
label: 'orderNumber',
|
||||||
|
field: 'branchNo',
|
||||||
|
sortable: true,
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'branchLabelName',
|
name: 'branchLabelName',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|
@ -213,8 +221,10 @@ const fieldDisplay = ref<
|
||||||
| 'branchLabelAddress'
|
| 'branchLabelAddress'
|
||||||
| 'branchLabelTel'
|
| 'branchLabelTel'
|
||||||
| 'branchLabelType'
|
| 'branchLabelType'
|
||||||
|
| 'branchLabelNo'
|
||||||
)[]
|
)[]
|
||||||
>([
|
>([
|
||||||
|
'branchLabelNo',
|
||||||
'branchLabelName',
|
'branchLabelName',
|
||||||
'branchLabelTel',
|
'branchLabelTel',
|
||||||
'branchLabelAddress',
|
'branchLabelAddress',
|
||||||
|
|
@ -222,6 +232,7 @@ const fieldDisplay = ref<
|
||||||
]);
|
]);
|
||||||
const fieldSelected = ref<
|
const fieldSelected = ref<
|
||||||
(
|
(
|
||||||
|
| 'branchLabelNo'
|
||||||
| 'branchLabelName'
|
| 'branchLabelName'
|
||||||
| 'branchLabelAddress'
|
| 'branchLabelAddress'
|
||||||
| 'branchLabelTel'
|
| 'branchLabelTel'
|
||||||
|
|
@ -343,7 +354,7 @@ function clearData() {
|
||||||
accountName: '',
|
accountName: '',
|
||||||
accountType: '',
|
accountType: '',
|
||||||
currentlyUse: true,
|
currentlyUse: true,
|
||||||
}
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1032,6 +1043,10 @@ watch(currentHq, () => {
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
<q-td v-if="fieldSelected.includes('branchLabelNo')">
|
||||||
|
{{ props.rowIndex + 1 }}
|
||||||
|
</q-td>
|
||||||
|
|
||||||
<q-td v-if="fieldSelected.includes('branchLabelName')">
|
<q-td v-if="fieldSelected.includes('branchLabelName')">
|
||||||
<div class="row items-center">
|
<div class="row items-center">
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue