代码更新

This commit is contained in:
GaoHao
2025-02-26 19:46:20 +08:00
parent 7519ffced3
commit b4a0393d2d
413 changed files with 7483 additions and 60762 deletions

View File

@@ -6,7 +6,7 @@
供应商
</view>
<view>
<input type="text" placeholder="请输入供应商名称" v-model="datas.form.purveyorName" name="" id="">
<input type="text" placeholder="请输入供应商名称" v-model="datas.form.name" name="" id="">
</view>
</view>
<view>
@@ -14,7 +14,7 @@
联系电话
</view>
<view>
<input type="text" placeholder="请输入联系电话" v-model="datas.form.purveyorTelephone" name="" id="">
<input type="text" placeholder="请输入联系电话" v-model="datas.form.telephone" name="" id="">
</view>
</view>
<view>
@@ -25,6 +25,14 @@
<input type="text" placeholder="请输入地址" v-model="datas.form.address" name="" id="">
</view>
</view>
<view>
<view>
排序
</view>
<view>
<input type="text" placeholder="请输入排序" v-model="datas.form.sort" name="" id="">
</view>
</view>
<view>
<view>
备注
@@ -43,20 +51,9 @@
<script setup>
import {
ref,
computed,
reactive,
onMounted
} 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';
import { ref, reactive, } from 'vue';
import { onLoad, } from '@dcloudio/uni-app';
import { editVendor } from '@/api/vendor.js';
let datas = reactive({
form: {},
})
@@ -70,11 +67,10 @@
})
function sumbit() {
tbShopPurveyorput({
shopId: uni.getStorageSync("shopId"),
editVendor({
...datas.form
}).then(res => {
go.back()
uni.navigateBack()
})
}
</script>