|
|
@@ -182,6 +182,7 @@ export default {
|
|
|
}).then((res) => {
|
|
|
if (res.success) {
|
|
|
this.posTypeList = res.result.records;
|
|
|
+ this.model.posTypeId = this.posTypeList[0].id;
|
|
|
}
|
|
|
});
|
|
|
getAction("/pos/posTableType/list", {
|
|
|
@@ -191,6 +192,7 @@ export default {
|
|
|
}).then((res) => {
|
|
|
if (res.success) {
|
|
|
this.tableTypeList = res.result.records;
|
|
|
+ this.model.posTableTypeId = this.tableTypeList[0].id;
|
|
|
}
|
|
|
});
|
|
|
getAction("/pos/posRegion/list", {
|
|
|
@@ -200,6 +202,7 @@ export default {
|
|
|
}).then((res) => {
|
|
|
if (res.success) {
|
|
|
this.regionList = res.result.records;
|
|
|
+ this.model.posRegionId = this.regionList[0].id;
|
|
|
}
|
|
|
});
|
|
|
},
|