wq 11 kuukautta sitten
vanhempi
commit
edebc9c41e

+ 1
- 0
src/utils/utils.ts Näytä tiedosto

{ isSessionStorage: false }, { isSessionStorage: false },
{} {}
) )
// subdata['accessToken'] = getToken()
let openId = cacheAccessToken['openId'] let openId = cacheAccessToken['openId']
subdata['openId'] = openId // 用户标识 subdata['openId'] = openId // 用户标识
subdata['opId'] = openId // 用户标识 subdata['opId'] = openId // 用户标识

+ 1
- 1
src/views/inventoryControl/organizationEmpower/addOrUpdate.vue Näytä tiedosto

} }


console.log("paraps", params) console.log("paraps", params)
BaseService.post(api, params).then((res: any) => {
BaseService.postN(api, params).then((res: any) => {
if (res && res.code === 0) { if (res && res.code === 0) {
ElMessage.success("操作成功"); ElMessage.success("操作成功");
active.value = 2; active.value = 2;

+ 1
- 1
src/views/inventoryControl/putInstorage/index.vue Näytä tiedosto

tableData.value = [] tableData.value = []
BaseService.postN('/invw/inventory/inventorypagelist', params).then((res: any) => { BaseService.postN('/invw/inventory/inventorypagelist', params).then((res: any) => {
if (res && res.code === 0) { if (res && res.code === 0) {
let bizContent = JSON.parse(res.bizContent);
let bizContent = res.data
let data = bizContent.data || []; let data = bizContent.data || [];
tableData.value = data; tableData.value = data;
console.log("bizContent12222", data, tableData.value) console.log("bizContent12222", data, tableData.value)

+ 1
- 2
src/views/inventoryControl/storehouseManage/addOrUpdate.vue Näytä tiedosto

if (!valid) { if (!valid) {
return false; return false;
} }
// TODO 未验证
let api = '/invw/organization/add'; let api = '/invw/organization/add';
if (typeOption.value === "edit") { if (typeOption.value === "edit") {
api = '/invw/organization/update'; api = '/invw/organization/update';
...addForm.value, ...addForm.value,
} }
console.log("paraps", params) console.log("paraps", params)
BaseService.post(api, params).then((res: any) => {
BaseService.postN(api, params).then((res: any) => {
if (res && res.code === 0) { if (res && res.code === 0) {
ElMessage.success("操作成功"); ElMessage.success("操作成功");
active.value = 2; active.value = 2;

Loading…
Peruuta
Tallenna