|
@@ -1857,7 +1857,11 @@
|
|
|
<el-input v-model="hesuanValue.产品板距" id="辅电表" @keydown="ent1($event)" :clearable="true" style="width: 200px;" v-if="CPType === true"/>
|
|
<el-input v-model="hesuanValue.产品板距" id="辅电表" @keydown="ent1($event)" :clearable="true" style="width: 200px;" v-if="CPType === true"/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="印刷方式:" prop="flatFeed" class="mab" v-if="CPType === true">
|
|
<el-form-item label="印刷方式:" prop="flatFeed" class="mab" v-if="CPType === true">
|
|
|
- <el-input v-model="hesuanValue.印刷方式" id="辅电表" @keydown="ent1($event)" :clearable="true" style="width: 200px;" v-if="CPType === true"/>
|
|
|
|
|
|
|
+ <el-select v-model="hesuanValue.印刷方式" placeholder="" style="width: 190px;" :clearable="true" v-if="CPType === true" >
|
|
|
|
|
+ <el-option label="卷对卷" value="卷对卷"></el-option>
|
|
|
|
|
+ <el-option label="卷对张" value="卷对张"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ <!-- <el-input v-model="hesuanValue.印刷方式" id="辅电表" @keydown="ent1($event)" :clearable="true" style="width: 200px;" v-if="CPType === true"/> -->
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="色度数 :" prop="flatFeed" class="mab" v-if="SDType === true">
|
|
<el-form-item label="色度数 :" prop="flatFeed" class="mab" v-if="SDType === true">
|
|
|
<el-input v-model="hesuanValue.色度数" id="辅电表" @keydown="ent1($event)" :clearable="true" style="width: 200px;" v-if="SDType === true" />
|
|
<el-input v-model="hesuanValue.色度数" id="辅电表" @keydown="ent1($event)" :clearable="true" style="width: 200px;" v-if="SDType === true" />
|
|
@@ -1884,8 +1888,18 @@
|
|
|
@keyup.enter="xzhscsgetProductValue" style="width: 200px;"/>
|
|
@keyup.enter="xzhscsgetProductValue" style="width: 200px;"/>
|
|
|
<el-input v-model="xzhscsformData['cpdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
<el-input v-model="xzhscsformData['cpdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
<el-input v-model="xzhscsformData['gdmc']" disabled style="width: 500px;"/>
|
|
<el-input v-model="xzhscsformData['gdmc']" disabled style="width: 500px;"/>
|
|
|
- <el-input v-model="xzhscsformData['yjdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
|
|
- <el-input v-model="xzhscsformData['yjmc']" disabled style="width: 500px;"/>
|
|
|
|
|
|
|
+<!-- <el-input v-model="xzhscsformData['yjdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
|
|
+ <el-input v-model="xzhscsformData['yjmc']" disabled style="width: 500px;"/> -->
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div style="width: 100%; height: 60px; padding: 0px; margin: 5px 0px 0px 260px; display: flex; align-items: center;">
|
|
|
|
|
+ <el-form-item label=" :" prop="currentProcess" style="margin-right: 20px; padding: 0px">
|
|
|
|
|
+ <!-- <el-input v-model="xzhscsformData['gdbh']"
|
|
|
|
|
+ @keyup.enter="xzhscsgetProductValue" style="width: 200px;"/>
|
|
|
|
|
+ <el-input v-model="xzhscsformData['cpdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
|
|
+ <el-input v-model="xzhscsformData['gdmc']" disabled style="width: 500px;"/> -->
|
|
|
|
|
+ <el-input v-model="xzhscsformData['yjdh']" disabled style="width: 120px;margin-left: 10px;"/>
|
|
|
|
|
+ <el-input v-model="xzhscsformData['yjmc']" disabled style="width: 500px;"/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</div>
|
|
</div>
|
|
|
<el-table ref="paichengRef"
|
|
<el-table ref="paichengRef"
|
|
@@ -3822,39 +3836,43 @@ if(selected.value==='难度调整系数'){
|
|
|
//核算调整弹窗确定
|
|
//核算调整弹窗确定
|
|
|
const hesuanenterDialog = async () => {
|
|
const hesuanenterDialog = async () => {
|
|
|
if(selected.value==='难度调整系数'){
|
|
if(selected.value==='难度调整系数'){
|
|
|
- try{
|
|
|
|
|
- const id=ref('')
|
|
|
|
|
- // console.log(multipleSelection.value[0])
|
|
|
|
|
- for(let i=0;i<multipleSelection.value.length;i++){
|
|
|
|
|
- id.value+=multipleSelection.value[i].UniqId+','
|
|
|
|
|
- console.log(multipleSelection.value[i].UniqId)
|
|
|
|
|
- }
|
|
|
|
|
- const res = await CoefficientEdit({id:id.value,工价系数:hesuanValue.缩放系数 })
|
|
|
|
|
- console.log(res)
|
|
|
|
|
- if(res.code===0){
|
|
|
|
|
- ElMessage({
|
|
|
|
|
- type: 'success',
|
|
|
|
|
- message: '成功'
|
|
|
|
|
- })
|
|
|
|
|
- multipleSelection.value=''
|
|
|
|
|
- multipleTable.clearSelection();
|
|
|
|
|
- console.log(multipleSelection.value)
|
|
|
|
|
- hesuanVisible.value=false
|
|
|
|
|
- FacilitychanLiang()
|
|
|
|
|
|
|
+ console.log(multipleSelection.value.length)
|
|
|
|
|
+ if(multipleSelection.value.length>1){
|
|
|
|
|
+ const id=ref('')
|
|
|
|
|
+ // console.log(multipleSelection.value[0])
|
|
|
|
|
+ for(let i=0;i<multipleSelection.value.length;i++){
|
|
|
|
|
+ id.value+=multipleSelection.value[i].UniqId+','
|
|
|
|
|
+ console.log(multipleSelection.value[i].UniqId)
|
|
|
|
|
+ }
|
|
|
|
|
+ const res = await CoefficientEdit({id:id.value,工价系数:hesuanValue.缩放系数 })
|
|
|
|
|
+ console.log(res)
|
|
|
|
|
+ if(res.code===0){
|
|
|
|
|
+ ElMessage({
|
|
|
|
|
+ type: 'success',
|
|
|
|
|
+ message: '成功'
|
|
|
|
|
+ })
|
|
|
|
|
+ // multipleSelection.value=''
|
|
|
|
|
+ // multipleTable.clearSelection();
|
|
|
|
|
+ // console.log(multipleSelection.value)
|
|
|
|
|
+ hesuanVisible.value=false
|
|
|
|
|
+ FacilitychanLiang()
|
|
|
|
|
+ }else{
|
|
|
|
|
+ ElMessage({
|
|
|
|
|
+ type: 'error',
|
|
|
|
|
+ message: '失败'
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
}else{
|
|
}else{
|
|
|
ElMessage({
|
|
ElMessage({
|
|
|
type: 'error',
|
|
type: 'error',
|
|
|
- message: '失败'
|
|
|
|
|
|
|
+ message: '11111'
|
|
|
})
|
|
})
|
|
|
- }
|
|
|
|
|
- }catch(e){
|
|
|
|
|
- ElMessage({
|
|
|
|
|
- type: 'error',
|
|
|
|
|
- message: '请确认是否已选择要修改的内容'
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
}else if(selected.value=== '凹印版距'){
|
|
}else if(selected.value=== '凹印版距'){
|
|
|
|
|
+ // console.log(hesuanValue.印刷方式)
|
|
|
const id=ref('')
|
|
const id=ref('')
|
|
|
// console.log(multipleSelection.value.length)
|
|
// console.log(multipleSelection.value.length)
|
|
|
// console.log(multipleSelection.value[0])
|
|
// console.log(multipleSelection.value[0])
|
|
@@ -4123,6 +4141,8 @@ const xzhscsConfirm = async () => {
|
|
|
if (AccountingParameterEditdata.code === 0) {
|
|
if (AccountingParameterEditdata.code === 0) {
|
|
|
xzhscslist.value = false;
|
|
xzhscslist.value = false;
|
|
|
ElMessage({ type: 'success', message: '更新成功' });
|
|
ElMessage({ type: 'success', message: '更新成功' });
|
|
|
|
|
+ sxzhscstableData.value =''
|
|
|
|
|
+ xzhscsformData=''
|
|
|
} else {
|
|
} else {
|
|
|
ElMessage({ type: 'error', message: '更新失败' });
|
|
ElMessage({ type: 'error', message: '更新失败' });
|
|
|
}
|
|
}
|
|
@@ -4133,6 +4153,8 @@ const xzhscsConfirm = async () => {
|
|
|
//修正核算参数退出
|
|
//修正核算参数退出
|
|
|
const sxzhscsCancel = () => {
|
|
const sxzhscsCancel = () => {
|
|
|
xzhscslist.value = false;
|
|
xzhscslist.value = false;
|
|
|
|
|
+ sxzhscstableData.value =''
|
|
|
|
|
+ xzhscsformData=''
|
|
|
};
|
|
};
|
|
|
//修正核算参数颜色
|
|
//修正核算参数颜色
|
|
|
const sxzhscsCellClass = ({row, column, rowIndex, columnIndex}) =>{
|
|
const sxzhscsCellClass = ({row, column, rowIndex, columnIndex}) =>{
|