Browse Source

线程同步 2022年12月13日 sxm

master
[li_she] 3 years ago
parent
commit
347dd75cb5
  1. 31
      src/views/modules/purchasingManagement/searchSAPPurchaseOrder.vue

31
src/views/modules/purchasingManagement/searchSAPPurchaseOrder.vue

@ -28,7 +28,8 @@
<el-option :label="labels.yes" value="Y"></el-option> <el-option :label="labels.yes" value="Y"></el-option>
<el-option :label="labels.no" value="N"></el-option> <el-option :label="labels.no" value="N"></el-option>
</el-select> </el-select>
<el-button @click="getData()" type="primary" style="margin-left: 10px;margin-top: 0px">{{buttons.search}}</el-button>
<el-button @click="getData()" type="primary" style="margin-left: 10px;margin-top: 0px">{{ buttons.search }}
</el-button>
<download-excel <download-excel
:fields="fields()" :fields="fields()"
:data="exportData" :data="exportData"
@ -89,7 +90,9 @@
<el-input v-model="dataForm.orderItemNo" readonly style="width: 120px;"></el-input> <el-input v-model="dataForm.orderItemNo" readonly style="width: 120px;"></el-input>
</el-form-item> </el-form-item>
<el-form-item style="margin-top: 30px"> <el-form-item style="margin-top: 30px">
<el-button @click="saveCRoll()" type="primary" style="width: 108px;margin-left: 142px;">{{buttons.addRoll}}</el-button>
<el-button @click="saveCRoll()" type="primary" style="width: 108px;margin-left: 142px;">
{{ buttons.addRoll }}
</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: -15px;"> <el-form :inline="true" label-position="top" label-width="100px" style="margin-top: -15px;">
@ -100,7 +103,9 @@
<el-input v-model="dataForm.supplierName" readonly style="width: 255px;"></el-input> <el-input v-model="dataForm.supplierName" readonly style="width: 255px;"></el-input>
</el-form-item> </el-form-item>
<el-form-item style="margin-top: 30px"> <el-form-item style="margin-top: 30px">
<el-button @click="modelFlag=false" type="primary" style="width: 108px;margin-left: 142px;">{{buttons.close}}</el-button>
<el-button @click="modelFlag=false" type="primary" style="width: 108px;margin-left: 142px;">
{{ buttons.close }}
</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: -15px;"> <el-form :inline="true" label-position="top" label-width="100px" style="margin-top: -15px;">
@ -114,7 +119,8 @@
<el-input v-model="dataForm.spec" readonly style="width: 180px;"></el-input> <el-input v-model="dataForm.spec" readonly style="width: 180px;"></el-input>
</el-form-item> </el-form-item>
<el-form-item style="margin-top: 30px"> <el-form-item style="margin-top: 30px">
<el-button @click="getSaveModel()" type="primary" style="margin-left: 82px;">{{buttons.supplierBatchIn}}</el-button>
<el-button @click="getSaveModel()" type="primary" style="margin-left: 82px;">{{ buttons.supplierBatchIn }}
</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: -15px;"> <el-form :inline="true" label-position="top" label-width="100px" style="margin-top: -15px;">
@ -276,14 +282,16 @@
</el-footer> </el-footer>
</el-dialog> </el-dialog>
<el-dialog width="430px" :title="labels.supplierBatchIn" :close-on-click-modal="false" v-drag :visible.sync="modelFlag2">
<el-dialog width="430px" :title="labels.supplierBatchIn" :close-on-click-modal="false" v-drag
:visible.sync="modelFlag2">
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;"> <el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;">
<el-form-item :label="labels.site"> <el-form-item :label="labels.site">
<el-input v-model="saveData.site" style="width: 80px"></el-input> <el-input v-model="saveData.site" style="width: 80px"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="labels.rollNo"> <el-form-item :label="labels.rollNo">
<el-input v-model="saveData.rollNo" style="width: 150px"></el-input> <el-input v-model="saveData.rollNo" style="width: 150px"></el-input>
<el-button @click="goSaveSuppRollNo()" type="primary" style="margin-left: 10px;">{{buttons.save}}</el-button>
<el-button @click="goSaveSuppRollNo()" type="primary" style="margin-left: 10px;">{{ buttons.save }}
</el-button>
<el-button @click="modelFlag2=false" type="primary" style="margin-left: 10px;">{{ buttons.close }}</el-button> <el-button @click="modelFlag2=false" type="primary" style="margin-left: 10px;">{{ buttons.close }}</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -331,6 +339,7 @@
removerDefault, removerDefault,
removerUser removerUser
} from "@/api/table.js" } from "@/api/table.js"
var functionId = '102001002'; var functionId = '102001002';
export default { export default {
//-SAP //-SAP
@ -1582,8 +1591,14 @@
}, },
// //
async getTableUserColumn(tableId, columnId) { async getTableUserColumn(tableId, columnId) {
this.queryTableUser.tableId = tableId
await getTableUserListLanguage(this.queryTableUser).then(({data}) => {
let queryTableUser = {
userId: this.$store.state.user.name,
functionId: this.$route.meta.menuId,
tableId: tableId,
status: true,
languageCode: this.$i18n.locale
}
await getTableUserListLanguage(queryTableUser).then(({data}) => {
if (data.rows.length > 0) { if (data.rows.length > 0) {
//this.columnList = [] //this.columnList = []
switch (columnId) { switch (columnId) {

Loading…
Cancel
Save