更新代码

This commit is contained in:
GaoHao
2025-02-07 14:56:53 +08:00
parent 0740c3f349
commit 7519ffced3
12 changed files with 391 additions and 97 deletions

View File

@@ -51,6 +51,9 @@
} from 'vue';
import color from '@/commons/color.js';
import go from '@/commons/utils/go.js';
import {
onLoad,
} from '@dcloudio/uni-app';
import {
tbShopPurveyorput
} from '@/http/yskApi/requestAll.js';
@@ -62,17 +65,15 @@
type: String
}
})
onMounted(() => {
datas.form = JSON.parse(props.item)
onLoad((d)=>{
datas.form = JSON.parse(d.item)
})
function sumbit() {
tbShopPurveyorput({
shopId: uni.getStorageSync("shopId"),
...datas.form
}).then(res => {
// go.to('PAGES_SUPPLIER')
go.back()
})
}