add:新增单据强制确认
This commit is contained in:
@@ -27,14 +27,14 @@ export function edit(data) {
|
|||||||
export function getFormType() {
|
export function getFormType() {
|
||||||
return request({
|
return request({
|
||||||
url: 'api/bmFormStruc/getTypes',
|
url: 'api/bmFormStruc/getTypes',
|
||||||
method: 'get',
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getParentFormTypes() {
|
export function getParentFormTypes() {
|
||||||
return request({
|
return request({
|
||||||
url: 'api/bmFormStruc/getParentFormTypes',
|
url: 'api/bmFormStruc/getParentFormTypes',
|
||||||
method: 'get',
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,12 +46,11 @@ export function finishFormData(data) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export function getSonFormData(id) {
|
export function getSonFormData(id) {
|
||||||
return request({
|
return request({
|
||||||
url: 'api/pmFormData/getSonFormData/' + id,
|
url: 'api/pmFormData/getSonFormData/' + id,
|
||||||
method: 'get',
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {add, edit, del, getFormType, getParentFormTypes, getSonFormData}
|
export default { add, edit, del, getFormType, getParentFormTypes, getSonFormData }
|
||||||
|
|||||||
@@ -213,12 +213,14 @@
|
|||||||
<el-select
|
<el-select
|
||||||
v-model="form.supp_code"
|
v-model="form.supp_code"
|
||||||
placeholder="请选择"
|
placeholder="请选择"
|
||||||
style="width: 240px;">
|
style="width: 240px;"
|
||||||
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in supplist"
|
v-for="item in supplist"
|
||||||
:key="item.supp_code"
|
:key="item.supp_code"
|
||||||
:label="item.supp_name"
|
:label="item.supp_name"
|
||||||
:value="item.supp_code">
|
:value="item.supp_code"
|
||||||
|
>
|
||||||
<span style="float: left">{{ item.supp_name }}</span>
|
<span style="float: left">{{ item.supp_name }}</span>
|
||||||
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.supp_code }}</span>
|
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.supp_code }}</span>
|
||||||
</el-option>
|
</el-option>
|
||||||
@@ -257,7 +259,7 @@
|
|||||||
<el-table-column prop="material_code" label="物料编码" show-overflow-tooltip width="180" />
|
<el-table-column prop="material_code" label="物料编码" show-overflow-tooltip width="180" />
|
||||||
<el-table-column prop="material_name" label="物料名称" show-overflow-tooltip width="180" />
|
<el-table-column prop="material_name" label="物料名称" show-overflow-tooltip width="180" />
|
||||||
<el-table-column prop="material_spec" label="物料规格" show-overflow-tooltip width="180" />
|
<el-table-column prop="material_spec" label="物料规格" show-overflow-tooltip width="180" />
|
||||||
<!-- <el-table-column prop="qty" label="计划数量" show-overflow-tooltip />
|
<!-- <el-table-column prop="qty" label="计划数量" show-overflow-tooltip />
|
||||||
<el-table-column prop="assign_qty" label="分配数量" show-overflow-tooltip width="120" />-->
|
<el-table-column prop="assign_qty" label="分配数量" show-overflow-tooltip width="120" />-->
|
||||||
<el-table-column prop="actual_qty" label="处理数量" show-overflow-tooltip width="120" />
|
<el-table-column prop="actual_qty" label="处理数量" show-overflow-tooltip width="120" />
|
||||||
<el-table-column prop="pcsn" label="批次" show-overflow-tooltip width="120" />
|
<el-table-column prop="pcsn" label="批次" show-overflow-tooltip width="120" />
|
||||||
@@ -300,7 +302,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import crudFormData, { finishFormData } from './formData'
|
import crudFormData, { finishFormData } from './formData'
|
||||||
import crudSupp from '../../basedata/supp/supplierbase'
|
import crudSupp from '../../basedata/supp/supplierbase'
|
||||||
import CRUD, { crud, form, header, presenter } from '@crud/crud'
|
import CRUD, { crud, form, header, presenter } from '@crud/crud'
|
||||||
import crudOperation from '@crud/CRUD.operation.vue'
|
import crudOperation from '@crud/CRUD.operation.vue'
|
||||||
@@ -478,8 +480,7 @@ export default {
|
|||||||
if (current !== null) {
|
if (current !== null) {
|
||||||
this.currentRow = current
|
this.currentRow = current
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
,
|
|
||||||
querytable() {
|
querytable() {
|
||||||
this.onSelectAll()
|
this.onSelectAll()
|
||||||
this.crud.toQuery()
|
this.crud.toQuery()
|
||||||
|
|||||||
Reference in New Issue
Block a user