Merge pull request '更新工艺' (#39) from zwq into develop
已通過所有檢查
continuous-integration/drone/push Build is passing
已通過所有檢查
continuous-integration/drone/push Build is passing
Reviewed-on: #39
This commit is contained in:
當前提交
0c0679cb1e
@ -63,7 +63,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { add, update, getInfo, listSubstrate, listBom, getCode } from '@/api/art-manage/art.js'
|
||||
import { add, update, getInfo, listBom, getCode } from '@/api/art-manage/art.js'
|
||||
import SubmitBar from '@/views/art/components/submit-bar'
|
||||
|
||||
export default {
|
||||
@ -91,7 +91,6 @@ export default {
|
||||
substrateId: '',
|
||||
bomId: ''
|
||||
},
|
||||
substrateList: [],
|
||||
bomList: [],
|
||||
rules: {
|
||||
name: [
|
||||
@ -129,10 +128,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
init: async function() {
|
||||
if (this.substrateList.length === 0) {
|
||||
const substrateRes = await listSubstrate()
|
||||
this.substrateList = substrateRes.data
|
||||
}
|
||||
if (this.bomList.length === 0) {
|
||||
const bomRes = await listBom()
|
||||
this.bomList = bomRes.data
|
||||
|
載入中…
新增問題並參考
Block a user