Commit 7590df7e authored by 高宇's avatar 高宇

Merge remote-tracking branch 'origin/template_pda_vue' into template_pda_vue

parents 8a11412e 176f2e67
...@@ -103,3 +103,19 @@ export function checkIsZero(data) { ...@@ -103,3 +103,19 @@ export function checkIsZero(data) {
} }
}) })
} }
const manufacturer = [
{
value: '1',
label: 'baidu'
},
{
value: '2',
label: 'ali'
},
{
value: '3',
label: 'taobao'
}
]
export default manufacturer
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
</template> </template>
<script> <script>
import { import manufacturer, {
batchAddIncomeWmsBox, checkIsZero, getJcCode, queryPass batchAddIncomeWmsBox, checkIsZero, getJcCode, queryPass
} from '@/api/incomeWmsBox' } from '@/api/incomeWmsBox'
import { findByLocation, updateIncomeWmsLabel } from '@/api/incomeWmsLabel' import { findByLocation, updateIncomeWmsLabel } from '@/api/incomeWmsLabel'
...@@ -126,19 +126,7 @@ export default { ...@@ -126,19 +126,7 @@ export default {
userList: { userList: {
nickName: '' nickName: ''
}, },
manufacturer: [{ manufacturer: {},
value: '1',
label: 'baidu'
}, {
value: '2',
label: 'ali'
}, {
value: '3',
label: 'taobao'
}],
// 表单校验 // 表单校验
rules: { rules: {
value1: [ value1: [
...@@ -152,10 +140,15 @@ export default { ...@@ -152,10 +140,15 @@ export default {
} }
}, },
created() { created() {
console.log('manufacturer', manufacturer)
this.manufacturer = manufacturer
this.getDictData() this.getDictData()
this.focusing() this.focusing()
this.getOrderCode() this.getOrderCode()
this.getLoginUser() this.getLoginUser()
// this.queryForm.cj = this.manufacturer[0].value
},
mounted() {
this.queryForm.cj = this.manufacturer[0].value this.queryForm.cj = this.manufacturer[0].value
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment