rev:sap同步销售单

This commit is contained in:
zhangzhiqiang
2023-06-26 08:50:08 +08:00
parent cb78d9a38b
commit bec170a530
10 changed files with 133 additions and 68 deletions

View File

@@ -169,8 +169,7 @@
<el-table-column prop="confirm_time" label="审核时间" align="center" />
</el-table>
<span slot="footer" class="dialog-footer">
<el-button @click="dialogVisible = false"> </el-button>
<el-button type="primary" @click="dialogVisible = false">确定</el-button>
<el-button type="primary" @click="dialogVisible = false"> </el-button>
</span>
</el-dialog>
</template>
@@ -257,7 +256,7 @@ export default {
open() {
this.getworkprocedure()
this.getMaterialClass()
crudProduceshiftorder.reportQuery({ workorder_id: this.form.workorder_id }).then(res => {
crudProduceshiftorder.reportQuery3({ workorder_id: this.form.workorder_id }).then(res => {
this.tableData = res.content
})
},
@@ -276,7 +275,7 @@ export default {
'material_id': this.form.material_id
}
crudClassstandard.queryClassById(param).then(res => {
this.form.class_name = res.content[0].class_name
this.$set(this.form,'class_name',res.content[0].class_name)
})
},
getworkprocedure() {

View File

@@ -104,6 +104,7 @@ export function getReportWork(data) {
}
export function reportQuery(data) {
console.log(data)
return request({
url: '/api/produceWorkorder/reportQuery2',
method: 'get',
@@ -111,6 +112,15 @@ export function reportQuery(data) {
})
}
export function reportQuery3(data) {
return request({
url: '/api/produceWorkorder/reportQuery3',
method: 'post',
data
})
}
export function excelImport(data) {
return request({
url: 'api/produceWorkorder/excelImport',
@@ -142,4 +152,4 @@ export function reportApprove(data) {
})
}
export default { add, addRows, edit, del, submits, reportApprove, unSubmits, getTable, openStart, saveReport, finish, getReportWork, forceFinish, reportQuery, excelImport, getNotWorkDeviceByWorkproceduceId, replaceDevice }
export default { add, addRows, edit, del, submits, reportApprove, unSubmits, getTable, openStart, saveReport, finish, getReportWork, forceFinish, reportQuery, reportQuery3, excelImport, getNotWorkDeviceByWorkproceduceId, replaceDevice }