|  | @@ -916,6 +916,7 @@
 | 
	
		
			
				|  |  |                  <el-dropdown-menu slot="dropdown">
 | 
	
		
			
				|  |  |                    <el-dropdown-item command="d" v-if="showPrint != 1">标准出库单</el-dropdown-item>
 | 
	
		
			
				|  |  |                    <el-dropdown-item command="i" v-if="showPrint != 1">标准出库单(详情)</el-dropdown-item>
 | 
	
		
			
				|  |  | +                  <el-dropdown-item command="k" v-if="showPrint != 1">标准出库单(结余件数)</el-dropdown-item>
 | 
	
		
			
				|  |  |                    <!--                  <el-dropdown-item command="b">出库单</el-dropdown-item>-->
 | 
	
		
			
				|  |  |                    <!--                  <el-dropdown-item command="c">理货单</el-dropdown-item>-->
 | 
	
		
			
				|  |  |                    <!--                  <el-dropdown-item command="e">出库确认</el-dropdown-item>-->
 | 
	
	
		
			
				|  | @@ -1213,7 +1214,7 @@
 | 
	
		
			
				|  |  |              >
 | 
	
		
			
				|  |  |                <template slot-scope="scope">
 | 
	
		
			
				|  |  |                  <el-button
 | 
	
		
			
				|  |  | -                  :disabled="browseStatus || scope.row.fBillstatus == 40"
 | 
	
		
			
				|  |  | +                  :disabled="browseStatus || scope.row.fBillstatus == 40 || scope.row.fItemstatus == 4 || scope.row.fItemstatus == 5 || scope.row.fItemstatus == 6"
 | 
	
		
			
				|  |  |                    type="text"
 | 
	
		
			
				|  |  |                    @click.native.prevent="wDeleteRow(scope.$index, detailList)"
 | 
	
		
			
				|  |  |                    size="small"
 | 
	
	
		
			
				|  | @@ -3632,6 +3633,115 @@
 | 
	
		
			
				|  |  |            >
 | 
	
		
			
				|  |  |              <tr>
 | 
	
		
			
				|  |  |                <td>公司名称</td>
 | 
	
		
			
				|  |  | +              <td colspan="3">{{ form.fCorpidName }}</td>
 | 
	
		
			
				|  |  | +              <td>出库日期</td>
 | 
	
		
			
				|  |  | +              <td colspan="4" v-if="Printinglist.length">
 | 
	
		
			
				|  |  | +                {{ Printinglist[0].fBsdate | fBsdateFormat }}{{ ' ' + ckTime }}
 | 
	
		
			
				|  |  | +              </td>
 | 
	
		
			
				|  |  | +              <td colspan="4" v-else></td>
 | 
	
		
			
				|  |  | +            </tr>
 | 
	
		
			
				|  |  | +            <tr>
 | 
	
		
			
				|  |  | +              <td style="width: 15%">货物名称</td>
 | 
	
		
			
				|  |  | +              <td>提单号</td>
 | 
	
		
			
				|  |  | +              <td>箱号</td>
 | 
	
		
			
				|  |  | +              <td>货物属性</td>
 | 
	
		
			
				|  |  | +              <td>属性详情</td>
 | 
	
		
			
				|  |  | +              <td>件数</td>
 | 
	
		
			
				|  |  | +              <td v-if="radio == 1">计量单位(吨)</td>
 | 
	
		
			
				|  |  | +              <td v-else>计量单位(千克)</td>
 | 
	
		
			
				|  |  | +              <td>车型</td>
 | 
	
		
			
				|  |  | +              <td>备注</td>
 | 
	
		
			
				|  |  | +            </tr>
 | 
	
		
			
				|  |  | +            <tr v-for="(item, index) in Printinglist" :key="index">
 | 
	
		
			
				|  |  | +              <td>{{ item.fGoodsid | goodsFormat(goodsOptions) }}</td>
 | 
	
		
			
				|  |  | +              <td>{{ item.fMblno }}</td>
 | 
	
		
			
				|  |  | +              <td>{{ item.fCntrno }}</td>
 | 
	
		
			
				|  |  | +              <td>{{ item.fBusinessType | fStorageTypeFormat(fStorageTypeOptions) }}</td>
 | 
	
		
			
				|  |  | +              <td>{{ item.fMarks }}</td>
 | 
	
		
			
				|  |  | +              <td>{{ item.fQty }}</td>
 | 
	
		
			
				|  |  | +              <td v-if="item.fNetweight && radio == 1">
 | 
	
		
			
				|  |  | +                {{ (item.fNetweight / 1000).toFixed(4) }}
 | 
	
		
			
				|  |  | +              </td>
 | 
	
		
			
				|  |  | +              <td v-else-if="item.fNetweight && radio == 2">
 | 
	
		
			
				|  |  | +                {{ item.fNetweight }}
 | 
	
		
			
				|  |  | +              </td>
 | 
	
		
			
				|  |  | +              <td v-else></td>
 | 
	
		
			
				|  |  | +              <td>{{ form.fCartype | fCartypeFormat(fCartypeOptions) }}</td>
 | 
	
		
			
				|  |  | +              <td>{{ item.remark }}</td>
 | 
	
		
			
				|  |  | +            </tr>
 | 
	
		
			
				|  |  | +            <tr>
 | 
	
		
			
				|  |  | +              <td>车号</td>
 | 
	
		
			
				|  |  | +              <td colspan="3" v-if="Printinglist.length">
 | 
	
		
			
				|  |  | +                {{ Printinglist[0].fTruckno }}
 | 
	
		
			
				|  |  | +              </td>
 | 
	
		
			
				|  |  | +              <td colspan="3" v-else></td>
 | 
	
		
			
				|  |  | +              <td colspan="2">身份证号</td>
 | 
	
		
			
				|  |  | +              <td colspan="3" v-if="Printinglist.length">{{ Printinglist[0].fDriverIdCar }}</td>
 | 
	
		
			
				|  |  | +              <td colspan="3" v-else></td>
 | 
	
		
			
				|  |  | +            </tr>
 | 
	
		
			
				|  |  | +            <tr>
 | 
	
		
			
				|  |  | +              <td>地址</td>
 | 
	
		
			
				|  |  | +              <td colspan="8">{{ stockaddr }}</td>
 | 
	
		
			
				|  |  | +            </tr>
 | 
	
		
			
				|  |  | +            <tr>
 | 
	
		
			
				|  |  | +              <td colspan="9">
 | 
	
		
			
				|  |  | +                雨/雪天装货司机自愿装车,出现货物水湿与仓库无关!数量准确无误,货物包装完好!
 | 
	
		
			
				|  |  | +              </td>
 | 
	
		
			
				|  |  | +            </tr>
 | 
	
		
			
				|  |  | +          </table>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +        <div
 | 
	
		
			
				|  |  | +          style="display: flex; justify-content: space-between; font-size: 12px"
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  | +          <div>操作:</div>
 | 
	
		
			
				|  |  | +          <div>理货:</div>
 | 
	
		
			
				|  |  | +          <div>叉车:</div>
 | 
	
		
			
				|  |  | +          <div>司机:</div>
 | 
	
		
			
				|  |  | +          <div style="width: 200px">电话:</div>
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +      </div>
 | 
	
		
			
				|  |  | +      <span slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  | +        <el-button
 | 
	
		
			
				|  |  | +          type="primary"
 | 
	
		
			
				|  |  | +          @click="
 | 
	
		
			
				|  |  | +            print_xqckd = false;
 | 
	
		
			
				|  |  | +            addprint('xqckd');
 | 
	
		
			
				|  |  | +          "
 | 
	
		
			
				|  |  | +        >打印
 | 
	
		
			
				|  |  | +        </el-button>
 | 
	
		
			
				|  |  | +        <el-button @click="print_xqckd = false">取消 </el-button>
 | 
	
		
			
				|  |  | +      </span>
 | 
	
		
			
				|  |  | +    </el-dialog>
 | 
	
		
			
				|  |  | +    <!--    出库单(结余件数)-->
 | 
	
		
			
				|  |  | +    <el-dialog
 | 
	
		
			
				|  |  | +      :visible.sync="print_jyjsckd"
 | 
	
		
			
				|  |  | +      width="70%"
 | 
	
		
			
				|  |  | +      :close-on-click-modal="false"
 | 
	
		
			
				|  |  | +      :modal="false"
 | 
	
		
			
				|  |  | +    >
 | 
	
		
			
				|  |  | +      <el-radio v-model="radio" :label="1">吨(T)</el-radio>
 | 
	
		
			
				|  |  | +      <el-radio v-model="radio" :label="2">千克(KG)</el-radio>
 | 
	
		
			
				|  |  | +      <div id="print_areaBalance" class="print-div">
 | 
	
		
			
				|  |  | +        <div
 | 
	
		
			
				|  |  | +          class="print-title"
 | 
	
		
			
				|  |  | +          style="
 | 
	
		
			
				|  |  | +            display: flex;
 | 
	
		
			
				|  |  | +            justify-content: center;
 | 
	
		
			
				|  |  | +            font-size: 24px;
 | 
	
		
			
				|  |  | +            margin-bottom: 5px;
 | 
	
		
			
				|  |  | +          "
 | 
	
		
			
				|  |  | +        >
 | 
	
		
			
				|  |  | +          {{ fCompanyName ? fCompanyName : company }}出库单
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +        <div class="print_table" style="display: flex">
 | 
	
		
			
				|  |  | +          <table
 | 
	
		
			
				|  |  | +            border="0"
 | 
	
		
			
				|  |  | +            cellspacing="0"
 | 
	
		
			
				|  |  | +            cellpadding="0"
 | 
	
		
			
				|  |  | +            style="width: 100%; line-height: 30px"
 | 
	
		
			
				|  |  | +          >
 | 
	
		
			
				|  |  | +            <tr>
 | 
	
		
			
				|  |  | +              <td>公司名称</td>
 | 
	
		
			
				|  |  |                <td colspan="4">{{ form.fCorpidName }}</td>
 | 
	
		
			
				|  |  |                <td>出库日期</td>
 | 
	
		
			
				|  |  |                <td colspan="4" v-if="Printinglist.length">
 | 
	
	
		
			
				|  | @@ -3705,12 +3815,12 @@
 | 
	
		
			
				|  |  |          <el-button
 | 
	
		
			
				|  |  |            type="primary"
 | 
	
		
			
				|  |  |            @click="
 | 
	
		
			
				|  |  | -            print_xqckd = false;
 | 
	
		
			
				|  |  | -            addprint('xqckd');
 | 
	
		
			
				|  |  | +            print_jyjsckd = false;
 | 
	
		
			
				|  |  | +            addprint('jyjsckd');
 | 
	
		
			
				|  |  |            "
 | 
	
		
			
				|  |  |          >打印
 | 
	
		
			
				|  |  |          </el-button>
 | 
	
		
			
				|  |  | -        <el-button @click="print_xqckd = false">取消 </el-button>
 | 
	
		
			
				|  |  | +        <el-button @click="print_jyjsckd = false">取消 </el-button>
 | 
	
		
			
				|  |  |        </span>
 | 
	
		
			
				|  |  |      </el-dialog>
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -5172,6 +5282,7 @@ export default {
 | 
	
		
			
				|  |  |        print_zccdckd: false,
 | 
	
		
			
				|  |  |        print_bzckd: false,
 | 
	
		
			
				|  |  |        print_xqckd: false,
 | 
	
		
			
				|  |  | +      print_jyjsckd: false,
 | 
	
		
			
				|  |  |        print_kbccd: false,
 | 
	
		
			
				|  |  |        print_kbzccd: false,
 | 
	
		
			
				|  |  |        company: '',
 | 
	
	
		
			
				|  | @@ -8529,6 +8640,9 @@ export default {
 | 
	
		
			
				|  |  |            deliveryDetails(this.form.fId).then(res => {
 | 
	
		
			
				|  |  |              if (res.code == 200) {
 | 
	
		
			
				|  |  |                this.msgSuccess('请核成功')
 | 
	
		
			
				|  |  | +              this.detailList.map(e => {
 | 
	
		
			
				|  |  | +                this.$set(e, 'fItemstatus', 4)
 | 
	
		
			
				|  |  | +              })
 | 
	
		
			
				|  |  |                this.$set(this.form, 'fItemstatus', 4)
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            })
 | 
	
	
		
			
				|  | @@ -8560,6 +8674,9 @@ export default {
 | 
	
		
			
				|  |  |              if (data.code === 200) {
 | 
	
		
			
				|  |  |                this.browseStatus = false
 | 
	
		
			
				|  |  |                this.msgSuccess('撤销成功')
 | 
	
		
			
				|  |  | +              this.detailList.map(e => {
 | 
	
		
			
				|  |  | +                this.$set(e, 'fItemstatus', 2)
 | 
	
		
			
				|  |  | +              })
 | 
	
		
			
				|  |  |                this.$set(this.form, 'fItemstatus', 2)
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            })
 | 
	
	
		
			
				|  | @@ -8684,6 +8801,16 @@ export default {
 | 
	
		
			
				|  |  |                this.print_kbccd = true
 | 
	
		
			
				|  |  |              } else if (command == 'hw') {
 | 
	
		
			
				|  |  |                this.print_kbzccd = true
 | 
	
		
			
				|  |  | +            } else if (command == 'k') {
 | 
	
		
			
				|  |  | +              let date = new Date()
 | 
	
		
			
				|  |  | +              let hours =
 | 
	
		
			
				|  |  | +                date.getHours() < 10 ? '0' + date.getHours() : date.getHours()
 | 
	
		
			
				|  |  | +              let minutes =
 | 
	
		
			
				|  |  | +                date.getMinutes() < 10
 | 
	
		
			
				|  |  | +                  ? '0' + date.getMinutes()
 | 
	
		
			
				|  |  | +                  : date.getMinutes()
 | 
	
		
			
				|  |  | +              this.ckTime = hours + ':' + minutes
 | 
	
		
			
				|  |  | +              this.print_jyjsckd = true
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |          })
 | 
	
	
		
			
				|  | @@ -9282,6 +9409,14 @@ export default {
 | 
	
		
			
				|  |  |              scanStyles: false
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  |            break
 | 
	
		
			
				|  |  | +        case 'jyjsckd':
 | 
	
		
			
				|  |  | +          print({
 | 
	
		
			
				|  |  | +            printable: 'print_areaBalance',
 | 
	
		
			
				|  |  | +            type: 'html',
 | 
	
		
			
				|  |  | +            style: style, // 亦可使用引入的外部css;
 | 
	
		
			
				|  |  | +            scanStyles: false
 | 
	
		
			
				|  |  | +          })
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      cancel() {
 |