This commit is contained in:
weipengfei 2024-02-03 11:32:32 +08:00
parent aeac5c21d9
commit d9b1c67c76
3 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@
</u--form>
<u-button class="btn" v-if="mode=='add'" @click="addFn">完成添加</u-button>
</view>
<u-action-sheet :show="showFun" keyName="name" closeOnClickOverlay :actions="[{name:'栏舍'}, {name:'饲料槽'}, {name: '饮水设备'}]" title="请选择"
<u-action-sheet :show="showFun" keyName="name" closeOnClickOverlay :actions="[{name:'内驱'}, {name:'外驱'}]" title="请选择"
@close="showFun = false" @select="selectFun"></u-action-sheet>
<u-datetime-picker :show="show1" :max-date="getNowTime()" v-model="value1" mode="datetime" @confirm="dateConfirmfn"
:formatter="formatter" @cancel="show1=false"></u-datetime-picker>

View File

@ -246,8 +246,8 @@
const daysDiff = ref('');
onLoad((options) => {
// sn.value = options.sn;
sn.value = 8;
sn.value = options.sn;
// sn.value = 8;
getFenceHouseDetail();
getSuYuanData();
})
@ -259,7 +259,7 @@
//
const getFenceHouseDetail = () => {
animalInfoDetail({
id: sn.value,
sn: sn.value,
}).then((res) => {
if (res.code == 1) {
res.data.pic = JSON.parse(res.data.pic||'[]');

File diff suppressed because one or more lines are too long