fix: 更新版本号至2.7.3并修复代码格式问题
修复watchGoods.vue和goodsdetail.vue中的代码格式问题,包括缩进和换行 更新manifest.json中的版本号至2.7.3
This commit is contained in:
@@ -4,15 +4,10 @@
|
||||
<view class="search-container">
|
||||
<view class="search-input-wrapper">
|
||||
<uni-icons type="search" size="24" color="#999"></uni-icons>
|
||||
<input
|
||||
type="text"
|
||||
placeholder="请填写流水号如401"
|
||||
class="search-input"
|
||||
:value="formData.query"
|
||||
@input="handleInput"
|
||||
@confirm="getList()"
|
||||
>
|
||||
<uni-icons v-if="formData.query" type="clear" size="24" color="#999" @click="clearInput" class="clear-icon"></uni-icons>
|
||||
<input type="text" placeholder="请填写流水号如401" class="search-input" :value="formData.query"
|
||||
@input="handleInput" @confirm="getList()">
|
||||
<uni-icons v-if="formData.query" type="clear" size="24" color="#999" @click="clearInput"
|
||||
class="clear-icon"></uni-icons>
|
||||
</view>
|
||||
<button class="search-button" @click="getList()">搜索</button>
|
||||
</view>
|
||||
@@ -77,27 +72,27 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import * as watchGoodsApi from '@/api/watchGoods/watchGoods.js';
|
||||
export default {
|
||||
onLoad: function(option) {
|
||||
this.shortpatchcode = option.shortpatchcode;
|
||||
this.locationCode = option.locationCode;
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
formData: {
|
||||
query: ''
|
||||
},
|
||||
shortpatchcode: '',
|
||||
locationCode:'',
|
||||
dataList: [],
|
||||
total: 0
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
import * as watchGoodsApi from '@/api/watchGoods/watchGoods.js';
|
||||
export default {
|
||||
onLoad: function (option) {
|
||||
this.shortpatchcode = option.shortpatchcode;
|
||||
this.locationCode = option.locationCode;
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
formData: {
|
||||
query: ''
|
||||
},
|
||||
shortpatchcode: '',
|
||||
locationCode: '',
|
||||
dataList: [],
|
||||
total: 0
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
// 处理输入变化
|
||||
handleInput(event) {
|
||||
this.formData.query = event.target.value;
|
||||
@@ -110,7 +105,7 @@
|
||||
getList() {
|
||||
const query = {
|
||||
packageCodeClient: this.shortpatchcode + '_' + this.formData.query,
|
||||
locationCode:this.locationCode
|
||||
locationCode: this.locationCode
|
||||
};
|
||||
watchGoodsApi.GetGoodsNowProduction_detail(query).then((res) => {
|
||||
if (res.code == 200) {
|
||||
@@ -120,7 +115,7 @@
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user