常熟吴彦祖 4 months ago
parent
commit
02ce4fc07d
  1. 35
      src/views/modules/orderIssure/newSoIssueNotify.vue
  2. 2690
      src/views/modules/orderIssure/searchIssureNotify.vue
  3. 3085
      src/views/modules/orderIssure/searchIssureNotify_old.vue

35
src/views/modules/orderIssure/newSoIssueNotify.vue

@ -6,11 +6,11 @@
<el-button v-if="notifyNo===''" @click="addNotify()" type="primary" class="yzzButtonAn">新建申请单</el-button> <el-button v-if="notifyNo===''" @click="addNotify()" type="primary" class="yzzButtonAn">新建申请单</el-button>
<el-button v-if="notifyNo!=''" type="primary" @click="chooseSOSModal()" class="yzzButtonAn">选择工单</el-button> <el-button v-if="notifyNo!=''" type="primary" @click="chooseSOSModal()" class="yzzButtonAn">选择工单</el-button>
<el-button v-if="notifyNo!=''" type="primary" @click="xiadaNotifyModel()"
<el-button v-if="notifyNo!=''" type="primary" @click="xiadaNotify()"
class="yzzButtonAn">下达申请单</el-button> class="yzzButtonAn">下达申请单</el-button>
<el-button v-if="notifyNo!=''" type="primary" @click="deleteNotify()" class="yzzButtonAn">删除申请单</el-button> <el-button v-if="notifyNo!=''" type="primary" @click="deleteNotify()" class="yzzButtonAn">删除申请单</el-button>
<el-button @click="importModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'导入'}}</el-button>
<el-button v-if="notifyNo!=''" @click="importModel()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'导入'}}</el-button>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="10" v-if="notifyNo!=''"> <el-row :gutter="10" v-if="notifyNo!=''">
@ -243,29 +243,6 @@
<el-button type="primary" @click="materialModalFlag=false">关闭</el-button> <el-button type="primary" @click="materialModalFlag=false">关闭</el-button>
</el-footer> </el-footer>
</el-dialog> </el-dialog>
<el-dialog width="500px" title="物料库存 VS 需求数量" :close-on-click-modal="false" :visible.sync="xiadaModelFlag">
<div class="board666">
<el-table height="300" :data="xiadaList" border :row-class-name="tableRowClassName" style="width: 100%;">
<el-table-column prop="componentPartNo" header-align="center" align="left" min-width="80"
style="font-size: 20px" label="物料编码">
</el-table-column>
<el-table-column prop="partDesc" header-align="center" align="left" min-width="120" style="font-size: 20px"
label="物料描述">
</el-table-column>
<el-table-column prop="qtyToIssue" header-align="center" align="right" min-width="80" style="font-size: 20px"
label="发料数量">
</el-table-column>
<el-table-column prop="qtyOnHand" header-align="center" align="right" min-width="80" label="库存数量">
</el-table-column>
<el-table-column prop="qtyAvailable" header-align="center" align="right" min-width="80" label="可用数量">
</el-table-column>
</el-table>
</div>
<el-footer style="height:40px;margin-top: 10px;text-align:center">
<el-button type="primary" @click="xiadaNotify()">确定下达</el-button>
<el-button type="primary" @click="xiadaModelFlag=false">取消</el-button>
</el-footer>
</el-dialog>
<el-dialog title="保存物料" :close-on-click-modal="false" v-drag :visible.sync="saveOtherPartModalFlag" width="600px"> <el-dialog title="保存物料" :close-on-click-modal="false" v-drag :visible.sync="saveOtherPartModalFlag" width="600px">
<el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;"> <el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;">
@ -1571,7 +1548,12 @@ export default {
this.xiadaModelFlag = true this.xiadaModelFlag = true
}, },
xiadaNotify() { xiadaNotify() {
xiadaNotify(this.notifyData).then(({ data }) => {
this.$confirm(`确定进行下达操作?`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
xiadaNotify(this.notifyData).then(({data}) => {
if (data.code === 0) { if (data.code === 0) {
this.xiadaModelFlag = false this.xiadaModelFlag = false
this.getUserNotifyNo() this.getUserNotifyNo()
@ -1582,6 +1564,7 @@ export default {
}) })
} }
}) })
})
}, },
saveOtherPart() { saveOtherPart() {
// if ( // if (

2690
src/views/modules/orderIssure/searchIssureNotify.vue
File diff suppressed because it is too large
View File

3085
src/views/modules/orderIssure/searchIssureNotify_old.vue
File diff suppressed because it is too large
View File

Loading…
Cancel
Save